File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes InternalFrame not resizing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "InternalFrame not resizing" Watch "InternalFrame not resizing" New topic

InternalFrame not resizing

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82
I moved all my code into one class DesktopPane and
I have a JInternalFrame that displays nice at program startup.

I then have my menuItem create a new call to the same createFrame(). with only a name change but it does not follow the InternalFrame Class's diminsions
or behavior. It will not resize.

Do I need another method here?

I agree. Here's the link:
subject: InternalFrame not resizing
Similar Threads
fixed element in gridbaglayout
JDesktopPane creates inner frame menuItem actionPerformed does not.
adding an InternalFrameListener to a JMenu Item
JInternalFrames + JSliders
Adding Components in to JInternalFrame