Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Getting a JPanel to resize with an explicit window resizing

  Asked By: Egidius    Date: Jun 15    Category: Java    Views: 1231
  

I was curious to know what the property is if I use a standard
JFrame,

create a JPanel and set it as the ContentPane

create another JPanel to actually hold the basic components.


When I resize the JFrame with setSize it does not make the JPanel
resize.

UNLESS I click and drag to resize the JFrame.

Any ideas?

Have I given enough info?

Share: 

 

1 Answer Found

 




Tagged: