Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    11
    Views
    8,517

    Re: JFrame Minimize/Maximize Refresh Issues

    Whatever. There were two panels being shown in the same place. The blank one blocked the other one from view. The fact that the variable center had referred to both of them wasn't relevant. There...
  2. Replies
    11
    Views
    8,517

    Re: JFrame Minimize/Maximize Refresh Issues

    Move the call to setVisible to after you have built the GUI.
    Also add code to exit the JVM when the frame is closed.
  3. Replies
    11
    Views
    8,517

    Re: JFrame Minimize/Maximize Refresh Issues

    No, reusing a reference variable should be allowed.
    Its the not removing the component that is the problem.
  4. Replies
    11
    Views
    8,517

    Re: JFrame Minimize/Maximize Refresh Issues

    Without code to work with, I don't see how to do anything.

    Ok, just noticed the other code and have been able to reproduce your problem.
    Look at the components that are added and removed from the...
  5. Replies
    11
    Views
    8,517

    Re: JFrame Minimize/Maximize Refresh Issues

    Can you make a small simple program that compiles and executes to demonstrate the problem?
Results 1 to 5 of 5