Search:

Type: Posts; User: bgroenks96

Search: Search took 0.06 seconds.

  1. Replies
    11
    Views
    8,519

    Re: JFrame Minimize/Maximize Refresh Issues

    @Norm
    While I have you though (to save another thread), is that button array going to work?

    If I get the source using getSource, is it going to return the same thing for all of the buttons?
  2. Replies
    11
    Views
    8,519

    Re: JFrame Minimize/Maximize Refresh Issues

    Well what I'm saying is that there were two centers so when you maximized the window it showed the blank center JPanel from the opening image.
  3. Replies
    11
    Views
    8,519

    Re: JFrame Minimize/Maximize Refresh Issues

    Got it. The JPanel center got instantiated twice so the original JPanel was overlapping the grid.

    Thanks for your help!
  4. Replies
    11
    Views
    8,519

    Re: JFrame Minimize/Maximize Refresh Issues

    I was unable to recreate the issue....

    Here is the rest of the code for the GUI class I am having the problem with:


    import javax.swing.*;
    import java.awt.*;
    import java.awt.image.*;
    import...
  5. Replies
    11
    Views
    8,519

    JFrame Minimize/Maximize Refresh Issues

    I noticed that when my program's GUI (using JFrame) window is minimized and then maximized, the frame contents get erased. Only the buttons reappear as the mouse moves over them.
    I tried adding a...
Results 1 to 5 of 5