|
||
|
|||
|
does any body have any idea about the best way that I can do the following.
I am designing a GUI which consists of multiple(not known how many) JPanels. The layout of each JPanel is FlowLayout and is figured as a combination of a JCheckBox and a JEditorPane. These JPanels are generated one at a time. suppose that each time as an answer to an event one JPanel is created. I added all of them to a Box and then I added the Box to another JPanel and then Finally these JPanels should be displayed in a JScrollPane. my problem is on the last part. I can't add the Jpanel which consists of all the JPanels to JScrollaPane. I used paneScrollPane = new JScrollPane(spanel); but it doesn't work
|
|
||||
|
Glad you solved this issue nasi
__________________
Don't forget to add syntax highlighted code tags around your code: [highlight=Java] code here [/highlight] Forum Tip: Add to peoples reputation ( ) by clicking the button on their useful posts.
|
| The Following User Says Thank You to JavaPF For This Useful Post: | ||
nasi (15-05-2010) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| repainting a jframe containing two jpanels | musasabi | What's Wrong With My Code? | 0 | 12-05-2010 03:31 AM |
| Dynamic loading of a class (passing class definition over the network) | eddie-w | Java Networking | 0 | 11-04-2010 01:56 PM |
| dynamic method problem... | Ranger-Man | Object Oriented Programming | 8 | 07-09-2009 09:22 PM |
| dynamic table creation | jam123 | JavaServer Pages: JSP & JSTL | 2 | 08-07-2009 11:35 AM |