• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use getModel() with JTabbedPane ?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic