Greetings.
Does anyone out there know how to correctly add a JScrollPane to a JInternalFrame?
I am currently having a bit of trouble.
I am using an anonymous inner class to create a JInternalFrame (to add to my DesktopPane), things is, I am trying to add a user defined class (extending a JPanel) to the frame when I create it. This user defined class is supposed to create a JScrollPane, but it just doesn't seem to be appearing - the frame stays blank!, any clues?
When i remove the JScrollPane bit and just add the buttons direct to the panel of the user defined class, the buttons appear - but I need them in a scrollpane.
If you need a copy of the classes, I can post them.
thanks in advance
pipk;-)
Does anyone out there know how to correctly add a JScrollPane to a JInternalFrame?
I am currently having a bit of trouble.
I am using an anonymous inner class to create a JInternalFrame (to add to my DesktopPane), things is, I am trying to add a user defined class (extending a JPanel) to the frame when I create it. This user defined class is supposed to create a JScrollPane, but it just doesn't seem to be appearing - the frame stays blank!, any clues?
When i remove the JScrollPane bit and just add the buttons direct to the panel of the user defined class, the buttons appear - but I need them in a scrollpane.
If you need a copy of the classes, I can post them.
thanks in advance
pipk;-)