aspose file tools*
The moose likes Java in General and the fly likes How to use getModel() with JTabbedPane ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to use getModel() with JTabbedPane ?" Watch "How to use getModel() with JTabbedPane ?" New topic
Author

How to use getModel() with JTabbedPane ?

nic den
Greenhorn

Joined: Jun 07, 2009
Posts: 7
hi im testing writeobject and readobject with jtabbedPane

i know how to add new tab in a jtabbedPane

what i would like to know now is how to save them in a file object with writeObject by using getModel() of the JTabbedPane
and after when i open my program again the tabs that i had b4 are still there

i know that i have to use read object for that part

but i dont know how to make it work

ty in advance

here is a sample code that i try to make it work but it doesnt

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use getModel() with JTabbedPane ?