• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to use getModel() with JTabbedPane ?

Posts: 7
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!