Search:

Type: Posts; User: LeonLanford

Search: Search took 0.09 seconds.

  1. How to change JTree's node icon manually?

    Hi, I'm currently making messenger application using awt and swing. I've searched in google, but till now I haven't got solution.

    I want to change user's status icon in the buddy list if the...
  2. Replies
    7
    Views
    2,369

    [SOLVED] Re: How to close all tabs in JTabbedPane?

    Never mind that.. It's already solved, I got problem with the listener(see the code above)
    Thanks :D
  3. Replies
    7
    Views
    2,369

    [SOLVED] Re: How to close all tabs in JTabbedPane?

    I fixed my problem by just adding this



    if (sel > 0)
    setJudul(pane.getTitleAt(sel))



    Thanks a lot :D
  4. Replies
    7
    Views
    2,369

    [SOLVED] Re: How to close all tabs in JTabbedPane?

    I don't use my customized tab, just use normal JTabbedPane



    public class Main
    {
    public Main(){
    }

    public static void main(String[] args)
  5. Replies
    7
    Views
    2,369

    [SOLVED] Re: How to close all tabs in JTabbedPane?

    I put the remove function in this clearTab function


    public void clearTab()
    {
    int i;

    //for (i = 0; i < this.getTabCount(); i++)
    //this.remove(i);
  6. Replies
    7
    Views
    2,369

    [SOLVED] How to close all tabs in JTabbedPane?

    Hi, I'm making a small chat program. I'm having problem with JTabbedPane, I want to remove all tabs in the JTabbedPane when the chat window closed(setvisible=false).
    Then if the user click another...
  7. Replies
    3
    Views
    4,530

    [SOLVED] Re: JTextPane focus problem

    ok I found the solution, I must pack the the jframe to make the request focus working..
  8. Replies
    3
    Views
    4,530

    [SOLVED] Re: JTextPane focus problem

    I've tried that too, isn't requestFocusInWindow() is more recommended than requestFocus()? That's what I read at the javadoc
  9. Replies
    3
    Views
    4,530

    [SOLVED] JTextPane focus problem

    Hi.. I'm really confused why I can't make my JTextPane focused :(

    I have a jframe with JTabbedPane inside it, inside the JTabbedPane is a JPanel, inside the JPanel is JTextPane included with...
  10. Replies
    4
    Views
    2,319

    Re: progress bar problem

    Yes I understand now that I need to make new thread.
    I rewrite my code and it's working now, thanks a lot :D

    I rewrite my code because I can't make it work in java desktop application(the GUI...
  11. Replies
    4
    Views
    2,319

    Re: progress bar problem

    Is this code not making new thread?

    new Thread(new ProgressMonitor()).start();


    I don't quote understand what you say about EDT.. I made the GUI using drag and drop function in netbeans.

    I...
  12. Replies
    0
    Views
    3,911

    Icon change and lib folder problem

    Hi.. I'm new to java, just made my first java desktop program several days ago.
    I have two problems, hope you can help.

    1. I've read about changing the java icon here...
  13. Replies
    4
    Views
    2,319

    progress bar problem

    Hi.. I'm new to java, I'm making application to append binary codes.
    Whenever I press the execute, the program seems like stopped but it doesn't. That's why I want to make progress bar for it.

    My...
Results 1 to 13 of 13