1 package zirc.gui ; 2 3 import javax.swing.event.* ; 4 import zirc.base.* ; 5 import javax.swing.*; 6 7 20 27 28 29 public class StatusFrame extends AbstractChatFrame 30 { 31 32 private final ImageIcon statusIMG = new ImageIcon("fichiers/images/statusIcon.png") ; 33 34 public StatusFrame() 35 { 36 super() ; 37 this.setFrameIcon(statusIMG); 38 } 39 40 public StatusFrame(IRCconnexion _IRCchat) 41 { 42 super(_IRCchat) ; 43 } 44 45 void this_internalFrameClosed(InternalFrameEvent e) 46 { 47 super.this_internalFrameClosed(e) ; 48 IRCchat.disconnect() ; 50 } 51 52 58 protected void jbInit() throws Exception 59 { 60 super.jbInit() ; 61 this.setFrameIcon(statusIMG); 62 63 } 64 65 } 66 | Popular Tags |