• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Refresh in Tabbed Pane

 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a JTabbedPane with several tabs. When I switch between the tabs, I notice that the data is not fetched from the database. In other words, modified data is not reflected when I revisit the tab. On restarting my applet, however, the changes are visible.

How can I ensure a database hit on clicking of any of the tabs?

Thanks,
Saket
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at ChangeListener.
[ September 16, 2006: Message edited by: Tim LeMaster ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!