Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.06 seconds.

  1. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    Wow, that's really weird. I would not expect it to work that way. I don't have a great explanation for that. But your solution seems to work fine, so I guess it's not that big a deal.

    By the way,...
  2. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    Weird. Doesn't that resize the frame? Is that what you want? Are you using BorderLayout? I would really expect the component in the center to take any extra space.
  3. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    Bingo. Sounds about right. Did you get it working now?
  4. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    Like I said, I can't really help without seeing an SSCCE. Don't forget the highlight tags.
  5. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    That's not what I would expect with BorderLayout. Like I said, if you want help, you'll have to provide an SSCCE that demonstrates the problem. Just using different colored JPanels should be enough...
  6. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    Hmm, with the right layout (BorderLayout maybe) and setting the visibility, I would expect that to be pretty easy. Or maybe you're looking for a JSplitPane?
  7. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    I'm not sure what you're trying to accomplish, or what your problem is. Maybe you should provide an SSCCE that demonstrates what you're doing.
  8. Replies
    17
    Views
    2,722

    Re: Hiding\Showing parts of the frame

    Why don't you just figure out the size you want your JFrame to be and then set it to that? The pack() method isn't going to take invisible components into account.

    Or you could set the visibility...
Results 1 to 8 of 8