Pallika Haridas Kanani wrote: >Hi all, > >I have a JTabbedPane where each panel is used for input to a database and also >displays data from the database. Now i want that everytime a panel gets displayed >(i.e. corresponding tab gets focus) the panel should be repainted (so that it has the >updated data). Any suggestions? > There is JTabbedPane#addChangeListener. As far as the API docs say, it fires a ChangeEvent every time a tab is selected.
-- Christian Pesch - Product Maturity Manager CoreMedia AG - http://www.coremedia.com - 0700-COREMEDIA _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
