View Single Post
  #3 (permalink)  
Old 05-01-2008, 04:08 PM
doraz72 doraz72 is offline
Member
 
Join Date: May 2008
Posts: 1
doraz72 is on a distinguished road
Better Late than never
First, declare the JPanel outside the public SwingTest() you call, then update it at the end of ActionListener by calling jp.updateUI();

This will refresh the UI with the new text...
Reply With Quote