• 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

How to use getModel() with JTabbedPane ?

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

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic