¡@

Home 

java Programming Glossary: event.getsource

MouseEvents and Icon / ImageIcon

http://stackoverflow.com/questions/14253786/mouseevents-and-icon-imageicon

public void mouseClicked MouseEvent event Object source event.getSource if source instanceof Component Component component Component..

Using a JFileChooser with Swing GUI classes and listeners

http://stackoverflow.com/questions/15728619/using-a-jfilechooser-with-swing-gui-classes-and-listeners

public void actionPerformed ActionEvent event Object obj event.getSource chooser new JFileChooser if chooser.showOpenDialog app JFileChooser.APPROVE_OPTION..

how can i unmarshall in jaxb and enjoy the schema validation without using an explicit schema file

http://stackoverflow.com/questions/2603778/how-can-i-unmarshall-in-jaxb-and-enjoy-the-schema-validation-without-using-an-ex

JSF: Cannot catch ViewExpiredException

http://stackoverflow.com/questions/2980708/jsf-cannot-catch-viewexpiredexception

context ExceptionQueuedEventContext event.getSource Throwable t context.getException if t instanceof ViewExpiredException..

Reading file from serial port in Java

http://stackoverflow.com/questions/560328/reading-file-from-serial-port-in-java

SerialPortEvent event SerialPort port SerialPort event.getSource switch event.getEventType case SerialPortEvent.DATA_AVAILABLE..

Implementing back/forward buttons in Swing

http://stackoverflow.com/questions/5654926/implementing-back-forward-buttons-in-swing

public void actionPerformed ActionEvent event if event.getSource back previous_display System.out.print You selected back .. System.out.print You selected back else if event.getSource forward forward_display System.out.print You selected forward..

give focus to a panel that is not a child of the focused Window?

http://stackoverflow.com/questions/6586064/give-focus-to-a-panel-that-is-not-a-child-of-the-focused-window

AWTEvent event theQueue.getNextEvent Object src event.getSource if event instanceof ActiveEvent ActiveEvent event .dispatch..

Disable items in JList

http://stackoverflow.com/questions/8344393/disable-items-in-jlist

ItemEvent event JCheckBox checkBox JCheckBox event.getSource int index 1 for int i 0 i ITEMS.length i if ITEMS i .equals..