docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
cuando se <unk> o se <unk> el nombre de un <unk> el evento <unk> en la <unk> el <unk>
ActionEvent . getSource Principal . <unk> JList . removeListSelectionListener Principal . getList JList . removeListSelectionListener Principal . <unk> String . cast DefaultListModel < String > . <init> DefaultListModel < String > . addElement Principal . <unk> JTextPane . setBackground Principal . <unk> JTextPane . setText JTextPane . setBackground DefaultListModel < String > . addElement Principal . getList JList . setModel DefaultListModel < String > . <init> DefaultListModel < String > . addElement JList . setModel Principal . <unk> JList . addListSelectionListener Principal . <unk> JList . addListSelectionListener Principal . <unk> JList . addListSelectionListener JList . setSelectedIndex Principal . <unk> JList . setSelectedIndex Principal . getList JList . addListSelectionListener Principal . getList JList . setSelectedIndex JTextPane . setText ActionEvent . getSource Principal . dispose ActionEvent . getSource Principal . <unk>
a button was clicked
ActionEvent . getSource Properties . getProperty JOptionPane . showInputDialog Integer . parseInt JOptionPane . showMessageDialog ActionEvent . getSource Properties . containsKey Properties . getProperty JOptionPane . showInputDialog String . length String . split Integer . parseInt String . split JOptionPane . showMessageDialog
responsible for handling action events triggered in the dialog box
ActionEvent . getSource Properties . setProperty JTextField . getText Properties . setProperty JTextField . setText JFileChooser . <init> JFileChooser . setFileFilter JFileChooser . setDialogTitle JFileChooser . setFileSelectionMode JFileChooser . showOpenDialog JTextField . setText JFileChooser . getSelectedFile JTextField . setText
this event is fired each time a checkbox is clicked on off
ActionEvent . getSource PropertyChangeSupport . firePropertyChange
when enter is pressed in the input field , the text is added to the command history , and the mediator shows the text in the chat area
ActionEvent . getSource Runnable . <init> SwingUtilities . invokeLater JTextField . getText
when enter is pressed in the input field , the text is added to the command history , and the mediator shows the text in the chat area
ActionEvent . getSource Runnable . <init> SwingUtilities . invokeLater
action listener for the buttons
ActionEvent . getSource Server . stop JTextField . setEditable JButton . setText JTextField . getText Integer . parseInt Server . <init> JButton . setText JTextField . setEditable ActionEvent . getSource JTextField . setText
<unk> des actions
ActionEvent . getSource Set . iterator Iterator . next String . cast JList . getModel JList . setSelectedIndex JList . getSelectedValue JList . getSelectedIndex JTextField . getText DefaultListModel . getSize JTextField . getText DefaultListModel . setElementAt JTextField . getText DefaultListModel . addElement DefaultListModel . getSize JList . setSelectedIndex JList . ensureIndexIsVisible JList . getSelectedIndex DefaultListModel . removeElementAt DefaultListModel . getSize JList . setSelectedIndex JList . ensureIndexIsVisible JButton . setEnabled
react to events
ActionEvent . getSource State . dispose JOptionPane . showMessageDialog Integer . parseInt JTextField . getText Integer . parseInt JOptionPane . showMessageDialog Map < String > . get Map < String > . put JOptionPane . showMessageDialog Vector . add DefaultListModel . addElement ActionEvent . getSource JList . getSelectedIndex DefaultListModel . getElementAt Map < String > . get Map < String > . remove Vector . remove DefaultListModel . remove
metodo che <unk> le <unk> che i <unk> <unk> <unk>
ActionEvent . getSource String . <init> String . equals JFrame . setVisible Label . setText JFrame . setVisible ActionEvent . getSource TextField . getText JFrame . setVisible Label . setText JFrame . setVisible
invoke when one of the buttons is pressed
ActionEvent . getSource String . cast ArrayList . clear
invoke when an action occurs on the combo box
ActionEvent . getSource String . cast Class . forName
validate the date being entered
ActionEvent . getSource String . cast Integer . <init> Integer . intValue JComboBox . setSelectedIndex Integer . <init> Integer . intValue JComboBox . getSelectedItem Integer . intValue GregorianCalendar . <init> JComboBox . setSelectedItem JComboBox . setSelectedIndex Integer . <init> Integer . intValue JComboBox . getSelectedItem Object . equals JComboBox . getSelectedIndex JComboBox . setSelectedIndex GregorianCalendar . <init> JComboBox . setSelectedItem JComboBox . setSelectedIndex Object . equals JComboBox . getSelectedItem String . cast Integer . intValue GregorianCalendar . <init> GregorianCalendar . isLeapYear JComboBox . setSelectedIndex Integer . <init> JComboBox . getSelectedItem Integer . <init> Integer . intValue
handle the action when the analyze button is clicked
ActionEvent . getSource String . cast Integer . parseInt
handle change events for the combo boxes
ActionEvent . getSource String . cast String . equalsIgnoreCase Configuration . <unk> JTable . repaint JOptionPane . showMessageDialog String . equalsIgnoreCase Configuration . <unk> String . contains FileInputStream . <init> Configuration . <unk> JTable . repaint JOptionPane . showMessageDialog Configuration . <unk> JTable . repaint JOptionPane . showMessageDialog ActionEvent . getSource JComboBox . getSelectedItem String . cast JComboBox . setSelectedItem Configuration . <unk> JComboBox . getSelectedItem String . cast String . equalsIgnoreCase Configuration . <unk> String . equalsIgnoreCase Configuration . <unk> String . equalsIgnoreCase Configuration . <unk> JOptionPane . showMessageDialog ActionEvent . getSource JComboBox . getSelectedItem String . cast Configuration . <unk> JComboBox . getSelectedIndex Configuration . <unk> String . cast String . equalsIgnoreCase Configuration . <unk> Configuration . <unk> Configuration . <unk> String . equals Configuration . <unk> ActionEvent . getSource String . cast String . equalsIgnoreCase Configuration . <unk> String . equalsIgnoreCase Configuration . <unk> String . equalsIgnoreCase Configuration . <unk>
change the value of the invert parameter when the appropriate gui element is modified
ActionEvent . getSource String . equals ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected
handle all the generated action events
ActionEvent . getSource String . equals JEditorPane . setFont Format . dispose
this performs the actions one when certain buttons are clicked
ActionEvent . getSource String . equals JRadioButton . isSelected JRadioButton . doClick String . equals JRadioButton . doClick String . equals JRadioButton . doClick String . equals JRadioButton . doClick
method from the action listener interface
ActionEvent . getSource String . equalsIgnoreCase JButton . getText
<unk> for menu selections
ActionEvent . getSource String . indexOf String . substring String . indexOf String . substring String . indexOf String . substring JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setVisible JDialog . setLocation JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . setVisible ActionEvent . getActionCommand JMenuItem . getText ActionEvent . getSource JMenuItem . getText JDialog . setLocation JDialog . setVisible
action listener
ActionEvent . getSource String . length Image . <init> ActionEvent . getSource JFileChooser . <init> FileFilter . <init> File . isDirectory File . getName JFileChooser . setFileFilter JFileChooser . setDialogTitle JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getParent JOptionPane . showMessageDialog JTextField . setText File . getAbsolutePath JTextField . setText File . getAbsolutePath
handle mouse clicks and keyboard
ActionEvent . getSource String . length String . substring TextField . setText TextField . requestFocusInWindow TextField . getText String . substring String . length String . substring TextField . getText TextField . setText TextField . requestFocus String . length TextField . setText TextField . requestFocus TextField . setText
action handling
ActionEvent . getSource String . split Integer . parseInt JComboBox < Serializable > . getSelectedItem String . split Integer . parseInt Console . <unk> ArrayList . size JList < Object > . <init> JList . setCellRenderer JPanel . removeAll JScrollPane . <init> JPanel . add JScrollPane . <init> JPanel . add JPanel . revalidate JPanel . repaint JRadioButton . isSelected String . split Integer . parseInt JComboBox < Serializable > . getSelectedItem String . split Integer . parseInt Console . <unk> ArrayList . size ArrayList . get JList < Object > . <init> JList . setCellRenderer JPanel . removeAll JScrollPane . <init> JPanel . add JScrollPane . <init> JPanel . add JScrollPane . <init> JPanel . add JPanel . revalidate JPanel . repaint JComboBox < Serializable > . setEnabled JComboBox < Serializable > . removeAllItems JCheckBox . isSelected Map < Integer > . values Iterator . next Object . toString JComboBox < Serializable > . addItem Map < Integer > . values Iterator . next Object . toString JComboBox < Serializable > . addItem Object . toString JComboBox < Serializable > . addItem JCheckBox . isSelected Map < Integer > . values Iterator . next Object . toString JComboBox < Serializable > . addItem Object . toString JComboBox < Serializable > . addItem
<unk> for menu selections
ActionEvent . getSource String . substring String . indexOf String . substring String . indexOf String . substring JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setVisible JDialog . setLocation JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . pack JDialog . setSize JDialog . setVisible JDialog . setLocation JDialog . setVisible JMenuItem . cast JMenuItem . getText JDialog . setLocation JDialog . setVisible
handle mouse clicks and keyboard
ActionEvent . getSource String . substring TextField . setText TextField . requestFocusInWindow String . length String . substring TextField . getText String . length String . substring TextField . setText TextField . requestFocus TextField . setText TextField . requestFocus String . equals TextField . requestFocus TextField . setText
<unk> die button actions der gui
ActionEvent . getSource StringReader . <init> BufferedReader . <init> JEditorPane . getText JEditorPane . setText StringBuffer . toString JEditorPane . setText System . exit
implementation of the action listener interface
ActionEvent . getSource SwingUtilities . getWindowAncestor JDialog . <init> JColorChooser . <init> JColorChooser . <unk> JColorChooser . <unk> JColorChooser . <unk> JPanel . <init> JDialog . setContentPane FlowLayout . <init> JPanel . <init> JButton . <init> JPanel . add JDialog . getRootPane ActionListener . <init> JButton . addActionListener JColorChooser . getColor ColorPanel . <unk> JDialog . dispose JButton . <init> JPanel . add ActionListener . <init> JButton . addActionListener JDialog . dispose JDialog . pack JComboBox . getSelectedItem Color . cast JColorChooser . setColor JDialog . setLocationRelativeTo JDialog . setVisible
implementation of the action listener interface
ActionEvent . getSource SwingUtilities . getWindowAncestor JDialog . <init> JColorChooser . <init> JColorChooser . <unk> JColorChooser . <unk> JColorChooser . <unk> JPanel . <init> JDialog . setContentPane JPanel . <init> JButton . <init> JPanel . add JDialog . getRootPane ActionListener . <init> JButton . addActionListener JColorChooser . getColor ColorPanel . <unk> JDialog . dispose JButton . <init> JPanel . add JButton . addActionListener JDialog . dispose JDialog . pack JComboBox . getSelectedItem Color . cast JColorChooser . setColor JDialog . setLocationRelativeTo JDialog . setVisible
action listener interface method implementation
ActionEvent . getSource SwingUtilities . invokeLater
invoke when an action occurs
ActionEvent . getSource System . currentTimeMillis ActionEvent . getSource System . currentTimeMillis
respond to users click on one of the two buttons
ActionEvent . getSource System . currentTimeMillis BufferedWriter . write BufferedWriter . newLine ArrayList < Long > . add JLabel . setText JButton . setEnabled Timer . start Timer . stop
handle main program logic based on buttons clicked
ActionEvent . getSource System . currentTimeMillis Hashtable < String , Integer > . keys Enumeration . hasMoreElements Enumeration . nextElement String . cast JEditorPane . setText JEditorPane . repaint Hashtable < String , Integer > . size JEditorPane . setText JEditorPane . repaint JButton . setEnabled ActionEvent . getSource JTextArea . getText Hashtable < String , Integer > . keys Enumeration . hasMoreElements Enumeration . nextElement String . cast JEditorPane . setText JEditorPane . repaint JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getName Dictionary . <init> File . getName JEditorPane . setText JEditorPane . repaint JButton . setEnabled ActionEvent . getSource JFileChooser . showSaveDialog JFileChooser . getSelectedFile File . getName
method action performed is abstract method overwritten gives the actions to the buttons
ActionEvent . getSource System . exit ActionEvent . getSource DecimalFormat . <init> JLabel . setText NumberFormat . format JLabel . setText DecimalFormat . <init> NumberFormat . format JLabel . setText
<unk> as <unk> do menu
ActionEvent . getSource System . exit ActionEvent . getSource JFileChooser . <init> JFileChooser . showSaveDialog JFileChooser . <init>
<unk> as <unk> do menu
ActionEvent . getSource System . exit ActionEvent . getSource JFileChooser . <init> JFileChooser . showSaveDialog JFileChooser . getSelectedFile ActionEvent . getSource JFileChooser . <init> JFileChooser . showOpenDialog ActionEvent . getSource JCheckBoxMenuItem . getState
method action performed is abstract method overwritten gives the actions to the menu bar
ActionEvent . getSource System . exit ActionEvent . getSource
the ui event method <unk> for this ui
ActionEvent . getSource System . exit JButton . getText JButton . setText JButton . setEnabled JButton . setText JButton . setEnabled JButton . setText JButton . getText JButton . setText JButton . setEnabled JButton . setText JButton . setEnabled JTextArea . append
method description
ActionEvent . getSource System . exit JCheckBox . setSelected JRadioButton . setSelected
call when an action is performed on elements created directly in the audio controller class
ActionEvent . getSource System . exit JOptionPane . showMessageDialog
<unk> as <unk> do menu
ActionEvent . getSource System . exit
<unk> do listener de aes dos componentes gui
ActionEvent . getSource System . exit
action listener
ActionEvent . getSource System . exit
handle components that have action event listeners
ActionEvent . getSource System . exit
process the exit button action to exit the application
ActionEvent . getSource System . exit
take care of stuff that happens while the programs running
ActionEvent . getSource System . getProperty String . length String . substring System . exit JButton . setEnabled JMenuItem . setEnabled JTextField . setEditable JButton . setIcon JMenuItem . setEnabled JButton . setIcon JMenuItem . setEnabled Clock . getTime ImageIcon . <init> JButton . setIcon JMenuItem . setEnabled JTextField . setEditable JButton . setIcon JMenuItem . setEnabled JButton . setEnabled JTextField . setEditable Clock . getTime JButton . setIcon JMenuItem . setEnabled JButton . setEnabled ImageIcon . <init> JButton . setIcon JLabel . setText JButton . setEnabled Clock . setTitle ImageIcon . <init> JButton . setIcon JLabel . setText JButton . setEnabled Clock . setTitle Calendar . getInstance Calendar . get JButton . setEnabled JMenuItem . setText JMenuItem . setEnabled ImageIcon . <init> JButton . setIcon JMenuItem . setEnabled ImageIcon . <init> JButton . setIcon JMenuItem . setEnabled JLabel . setText Clock . setTitle JButton . setEnabled JTextField . setEditable JButton . setIcon JOptionPane . showMessageDialog JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile JOptionPane . showMessageDialog JTextField . setText
allow for actions that are performed on the button to be taken in and used as the source for an event to take place
ActionEvent . getSource System . nanoTime FileOutputStream . <init> ObjectOutputStream . <init> ObjectOutputStream . flush ObjectOutputStream . writeInt ObjectOutputStream . writeDouble ArrayList . get ObjectOutputStream . writeDouble ArrayList . get ObjectOutputStream . writeDouble ArrayList . get ObjectOutputStream . writeDouble ArrayList . get ObjectOutputStream . writeInt ObjectOutputStream . writeDouble ArrayList . get ObjectOutputStream . writeDouble ObjectOutputStream . close System . exit
this method receives both click events which start and stop the animation and timer events which animate the alpha of the button
ActionEvent . getSource System . nanoTime Timer . start Timer . stop System . nanoTime Math . min Math . abs
close the frame and starts the <unk> test suite if start was pressed or exits if exit was pressed ;
ActionEvent . getSource System . setProperty JCheckBox . isSelected System . setProperty JTextField . getText System . exit
handle whenever the user has selected an item from this combobox
ActionEvent . getSource TableModel . cast String . cast TableModel . getValueAt String . cast String . equals Element . removeAttribute Vector . size Vector . get String . cast String . equals String . substring String . cast
capture button click events
ActionEvent . getSource TextArea . setText ServerSocket . getInetAddress ServerSocket . getLocalPort TextArea . append ActionEvent . getSource System . exit
require by action listener
ActionEvent . getSource TextArea . setText TextField . getText JRadioButton . isSelected JOptionPane . showMessageDialog
process an action event that came from the user interface
ActionEvent . getSource TextArea . setText
when text is validated usually with enter key
ActionEvent . getSource TextComponent . getText TextComponent . cast JTextComponent . instance JTextComponent . cast JTextComponent . getText
respond to button actions
ActionEvent . getSource TextField . getText ActionEvent . getActionCommand TextField . getText ActionEvent . getActionCommand
handle events from various gui components that produce action events
ActionEvent . getSource TextField . getText Button . setLabel Graph . <unk> Graph . <unk> Graph . trace Button . setLabel Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . getList Graph . getWidth Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . getWidth Graph . getHeight Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Button . setLabel Graph . <unk> Graph . <unk> Graph . <unk> TextField . setText StringList . clear TextField . setText StringList . getNext TextField . setText Graph . getWidth Graph . getHeight Graph . <unk> Graph . <unk>
require by action listener ; only action is generated by the get length button
ActionEvent . getSource TextField . getText DataInputStream . <init> DataOutputStream . <init> ActionEvent . getSource TextField . getText Float . floatValue DataOutputStream . writeFloat DataOutputStream . flush TextField . getText Float . floatValue DataOutputStream . writeFloat DataOutputStream . flush TextField . getText Float . <init> Float . floatValue DataOutputStream . writeFloat DataOutputStream . flush
metodo che <unk> le <unk> che i <unk> <unk> <unk>
ActionEvent . getSource TextField . getText Error . <init> TextField . getText Error . <init> JFrame . setVisible
handle mouse clicks and keyboard
ActionEvent . getSource TextField . getText String . length String . substring TextField . getText String . length String . substring TextField . getText String . length String . substring TextField . setText TextField . requestFocus String . length TextField . setText TextField . requestFocus String . equals TextField . requestFocus TextField . setText
handle mouse clicks and keyboard
ActionEvent . getSource TextField . getText String . substring String . length String . substring TextField . getText String . substring TextField . getText TextField . setText TextField . requestFocus String . length TextField . setText TextField . requestFocus String . equals TextField . requestFocus TextField . setText
handle the action events
ActionEvent . getSource TextField . getText String . toUpperCase Instruction . <init> Button . setEnabled TextField . setEnabled Vector . addElement List . getItemCount List . add TextField . selectAll TextField . requestFocus List . add List . removeAll TextField . setText List . add Button . setEnabled TextField . setEnabled List . add Vector . isEmpty Vector . removeAllElements List . removeAll Button . setEnabled TextField . setEnabled Button . setEnabled TextField . setEnabled Button . setEnabled Integer . parseInt List . add String . valueOf TextField . setText Button . setEnabled TextField . setEnabled Button . setEnabled TextField . setEnabled Button . setEnabled List . getSelectedIndex Vector . removeElementAt List . removeAll Vector . elementAt Instruction . cast Instruction . toString List . add List . getSelectedIndex TextField . getText String . toUpperCase Instruction . <init> Vector . setElementAt List . <unk> TextField . selectAll TextField . requestFocus Instruction . <unk> List . add System . exit
public void authenticate try <unk> name = <unk>
ActionEvent . getSource TextField . getText Thread . <init> Thread . start Frame . hide ActionEvent . getSource TextArea . getText PrintStream . <init> TextArea . getText PrintStream . println TextArea . setText
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory String . equals FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile String . equals
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile String . equals FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . instance ActionEvent . getSource MenuItem . cast MenuItem . getLabel Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . instance ActionEvent . getSource MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . instance MenuItem . cast MenuItem . getLabel Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> ActionEvent . getSource MenuItem . instance MenuItem . cast MenuItem . getLabel String . equals Button . setLabel Button . invalidate String . equals String . indexOf List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory String . equals
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> MenuItem . instance ActionEvent . getSource MenuItem . cast MenuItem . getLabel Button . setLabel Button . invalidate List . <unk> List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile
method declaration
ActionEvent . getSource TextField . instance ActionEvent . getActionCommand MenuItem . <init> MenuItem . instance MenuItem . cast MenuItem . getLabel Button . setLabel Button . invalidate String . equals List . <unk> String . indexOf List . getSelectedItem String . equals FileDialog . <init> FileDialog . show FileDialog . getDirectory FileDialog . getFile String . equals FileDialog . <init> FileDialog . show FileDialog . getFile FileDialog . getDirectory
perform the actions
ActionEvent . getSource TextField . setText ActionEvent . getActionCommand Integer . parseInt TextField . setText JLabel . setText
the listener for the items in this class
ActionEvent . getSource TextField . setText ActionEvent . getSource JPasswordField . getPassword TextField . getText JOptionPane . showMessageDialog TextField . getText JOptionPane . showMessageDialog TextField . getText JOptionPane . showMessageDialog TextField . getText JOptionPane . showMessageDialog TextField . getText JOptionPane . showMessageDialog String . <init> String . equals String . <init> String . equals JOptionPane . showMessageDialog BigDecimal . <init> JOptionPane . showMessageDialog MessageDigest . getInstance String . <init> MessageDigest . update MessageDigest . digest StringBuilder . <init> StringBuilder . append Long . toString StringBuilder . append StringBuilder . toString TextField . getText Checkbox . getState TextField . getText Checkbox . getState TextField . getText JOptionPane . showMessageDialog
send the message that was just typed in
ActionEvent . getSource TextField . setText TextField . getText String . length String . lastIndexOf String . substring String . length TextField . removeKeyListener TextField . <unk> TextField . setText String . startsWith String . toLowerCase String . indexOf String . substring Integer . parseInt TextField . setText TextField . setSelectionStart TextField . setSelectionEnd TextField . setCaretPosition
send the message that was just typed in
ActionEvent . getSource TextField . setText TextField . getText String . length String . substring TextField . removeKeyListener TextField . <unk> TextField . setText
this method is invoked when an action occurs
ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start Thread . <init> JDesktopPane . add Thread . start Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start Thread . <init> JDesktopPane . add Thread . start ActionEvent . getSource Thread . <init> JOptionPane . showMessageDialog Thread . start Thread . <init> Thread . start System . exit ActionEvent . getSource Thread . <init> JDesktopPane . add Thread . start
handle the button push events
ActionEvent . getSource Thread . <init> Thread . run Object . equals JCheckBox . isSelected JCheckBox . setEnabled JCheckBox . setSelected Object . equals JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setSelected JCheckBox . setEnabled
action for initiating the location creation
ActionEvent . getSource Thread . <init> Thread . start JTextField . getText String . length JButton . setEnabled
this is the method used for handling user interaction with the gui
ActionEvent . getSource Thread . interrupt Thread . join
action listener
ActionEvent . getSource Thread . isAlive Thread . interrupt
receive all events from the registered components on the panel and processes their actions
ActionEvent . getSource Thread . start Object . equals JSlider . setValue Vector . size Vector . get Double . doubleValue Vector < Double > . get Double . cast Math . toDegrees
display the exception trace below the message
ActionEvent . getSource Throwable . getCause JTextArea . <init> JTextArea . setTabSize JTextArea . setText JTextArea . setEditable JScrollPane . <init> JTabbedPane . <init> JTabbedPane . addTab JTabbedPane . cast JTabbedPane . addTab JComponent . setBorder BorderFactory . createEmptyBorder JComponent . getBorder AbstractButton . setText Dialog . instance Dialog . setResizable Dialog . cast JInternalFrame . cast JInternalFrame . setResizable Container . add Component . setSize Container . remove Component . setSize Component . validate
display the exception trace below the message
ActionEvent . getSource Throwable . getCause JTextArea . <init> JTextArea . setTabSize JTextArea . setText JTextArea . setEditable JScrollPane . <init> JTabbedPane . <init> JTabbedPane . addTab JTabbedPane . cast JTabbedPane . addTab JComponent . setBorder BorderFactory . createEmptyBorder JComponent . getBorder AbstractButton . setText Dialog . setResizable Dialog . cast JInternalFrame . setResizable JInternalFrame . cast Container . add Component . setSize Container . remove Component . setSize Component . validate
invoke to perform an animation step and stop the timer if all animation steps have been performed
ActionEvent . getSource Timer . cast Timer . stop Map . keySet Iterator . hasNext Iterator . next
two main actions are handle here , search and clear search
ActionEvent . getSource Timer . isRunning JLabel . setVisible JProgressBar . setVisible JTextField . getText JCheckBox . isSelected JButton . setText JButton . setEnabled JCheckBox . setEnabled Timer . start JButton . setEnabled JCheckBox . setEnabled JTextField . setText Container . repaint
this method handles both button clicks , which start stop the animation , and swing timer events , which animate translate y
ActionEvent . getSource Timer . isRunning System . nanoTime JButton . setText Timer . start Timer . stop JButton . setText System . nanoTime Math . min
update the watch label when button is pushed
ActionEvent . getSource Timer . start ActionEvent . getSource Timer . stop JLabel . setText
where all the action is
ActionEvent . getSource Timer . start JFrame . cast JFrame . setTitle JFrame . cast JFrame . setTitle SwingUtilities . getRoot JFrame . cast
event handler for timer event
ActionEvent . getSource Timer . stop Process . destroy
invoke when timer action occurs
ActionEvent . getSource Timer . stop Timer . removeActionListener
automatically called by timers
ActionEvent . getSource Timer . stop Timer . start ActionEvent . getSource Timer . stop Timer . start ActionEvent . getSource Timer . stop Timer . start
if a tool is clicked , sets the new current tool
ActionEvent . getSource Tool . cast Cursor . <init> Component . setCursor Toolkit . getDefaultToolkit Point . <init> Toolkit . createCustomCursor Component . setCursor
invoke when an action occurs
ActionEvent . getSource Tool . cast Task . cast Task . <unk> Task . <unk>
invoke when an action occurs
ActionEvent . getSource Tool . cast Task . cast Task . <unk>
invoke when an action occurs
ActionEvent . getSource Tool . cast Task . instance Task . cast Task . <unk> Task . <unk> Task . <unk>
invoke when an action occurs
ActionEvent . getSource Tool . cast Task . instance Task . cast Task . <unk> Task . <unk>
react to validations of the ok or home buttons
ActionEvent . getSource URL . <init> DesktopManager . browse
<unk> des actions
ActionEvent . getSource UndoManager . undo JTextArea . requestFocus UndoManager . <unk> JTextArea . requestFocus JTextArea . cut JTextArea . requestFocus JTextArea . copy JTextArea . requestFocus JTextArea . paste JTextArea . requestFocus JTextArea . selectAll JTextArea . requestFocus JTextArea . replaceSelection JTextArea . requestFocus JFileChooser . <init> JFileChooser . setDialogTitle JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JTextArea . setText UndoManager . <unk> JTextArea . setCaretPosition JTextArea . requestFocus JTextArea . getDocument JTextArea . setCaretPosition JTextArea . requestFocus JTextArea . getText AbstractButton . getText AbstractButton . getActionCommand AbstractButton . cast
<unk> des actions
ActionEvent . getSource UndoManager . undo JTextArea . requestFocus UndoManager . <unk> JTextArea . requestFocus JTextArea . cut JTextArea . requestFocus JTextArea . copy JTextArea . requestFocus JTextArea . paste JTextArea . requestFocus JTextArea . selectAll JTextArea . requestFocus JTextArea . replaceSelection JTextArea . requestFocus String . equals JTextArea . requestFocus JFileChooser . <init> JFileChooser . setDialogTitle JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JTextArea . setText UndoManager . <unk> JTextArea . setCaretPosition JTextArea . requestFocus JTextArea . getDocument JTextArea . setCaretPosition JTextArea . requestFocus AbstractButton . getText AbstractButton . cast AbstractButton . getActionCommand
action event handler
ActionEvent . getSource Utilities . getDefaultInstance Utilities . getCurrentUser ActionEvent . getSource Utilities . getDefaultInstance Utilities . <unk> Message . <unk> Utilities . getDefaultInstance Utilities . <unk> Message . <unk>
this function checks if an event was caused by this panel
ActionEvent . getSource Vector . <init> LinkedList . iterator JCheckBox . cast JCheckBox . getText Vector . add Vector . elementAt String . cast Monitor . attach JDialog . setVisible
this function checks if an event was caused by this panel
ActionEvent . getSource Vector . <init> LinkedList . iterator JCheckBox . cast JCheckBox . isSelected Vector . add String . cast Monitor . attach JDialog . setVisible