docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
action listener for recent file menu items
ActionEvent . getActionCommand ArrayList . size String . equals File . <init> File . exists
action performed method
ActionEvent . getActionCommand ArrayList < String > . size JTextField . getText ArrayList < String > . add JTextField . setText ArrayList < String > . get ArrayList < String > . add JTextField . setText ArrayList < String > . get JTextField . getText ArrayList < String > . add ArrayList < String > . get JTextField . se...
listen for scrollbars popup menus actions
ActionEvent . getActionCommand BoundedRangeModel . getMaximum BoundedRangeModel . getExtent BoundedRangeModel . getMinimum BoundedRangeModel . setValue BoundedRangeModel . getExtent BoundedRangeModel . getMinimum BoundedRangeModel . getMaximum BoundedRangeModel . setValue JViewport . getViewPosition JViewport . getExte...
listen for scrollbars popup menus actions
ActionEvent . getActionCommand BoundedRangeModel . getMaximum BoundedRangeModel . getExtent BoundedRangeModel . getMinimum BoundedRangeModel . setValue BoundedRangeModel . getMinimum BoundedRangeModel . getExtent BoundedRangeModel . getMaximum BoundedRangeModel . setValue JViewport . getViewPosition JViewport . getExte...
invoke when an action occurs i
ActionEvent . getActionCommand Button . setEnabled CardLayout . show Button . setEnabled CardLayout . show ActionEvent . getActionCommand Button . setEnabled CardLayout . show
process events from the previous month , previous year , next month , next year , okay and cancel buttons
ActionEvent . getActionCommand Calendar . getInstance Date . <init> Calendar . setTime Calendar . get Calendar . set Calendar . get Calendar . set ActionEvent . getSource Calendar . roll Calendar . get Calendar . roll Calendar . set Calendar . roll Calendar . get Calendar . roll Calendar . set Calendar . roll
listener for actions from sub panel components , to allow operations to be run when components are <unk> with
ActionEvent . getActionCommand Calendar . getInstance JSpinner . setValue ActionEvent . getSource Integer . parseInt JComboBox < String > . getSelectedItem String . equals JComboBox < String > . setEnabled JCheckBox . setEnabled JComboBox < String > . setEnabled JCheckBox . setEnabled
call when the user clicks the button or presses enter in a text field
ActionEvent . getActionCommand Callback . <unk> JButton . setEnabled Timer . stop ActionEvent . getActionCommand Timer . restart JButton . setEnabled DefaultListModel < String > . get Callback . <unk> Double . doubleValue JFormattedTextField . getText Double . <init> Double . doubleValue JFormattedTextField . getText D...
listen to the radio buttons and buttons
ActionEvent . getActionCommand CardLayout . show ActionEvent . getActionCommand CardLayout . show ActionEvent . getActionCommand CardLayout . show ActionEvent . getActionCommand CardLayout . show ActionEvent . getActionCommand CardLayout . show ActionEvent . getActionCommand CardLayout . show ActionEvent . getActionCom...
action listener for buttons
ActionEvent . getActionCommand Clock . <unk> JButton . setEnabled String . equals Timer . cancel JButton . setEnabled Clock . <unk> JTextField . getText Clock . <unk>
change background color of selected components
ActionEvent . getActionCommand ColorModel . getMin ColorModel . getMax String . indexOf JOptionPane . showInputDialog Double . parseDouble String . indexOf JOptionPane . showInputDialog Double . parseDouble ColorModel . setMax ColorModel . setMin ColorModel . update ActionListener . actionPerformed
change background color of selected components
ActionEvent . getActionCommand ColorModel . getMin ColorModel . getMax String . indexOf JOptionPane . showInputDialog String . length Double . parseDouble String . indexOf JOptionPane . showInputDialog String . length Double . parseDouble ColorModel . setMax ColorModel . setMin ColorModel . update ActionListener . acti...
<unk> les <unk> sur le <unk> <unk>
ActionEvent . getActionCommand Configuration . toString Configuration . setVisible ActionEvent . getActionCommand Configuration . <unk>
action event handler
ActionEvent . getActionCommand Cursor . getPredefinedCursor Cursor . getDefaultCursor
detect if button stop is pressed and take action
ActionEvent . getActionCommand DatagramSocket . close
action performed
ActionEvent . getActionCommand Date . <init> SimpleDateFormat . <init> JTextArea . cast SimpleDateFormat . format JTextArea . getText
action performed
ActionEvent . getActionCommand DefaultComboBoxModel . getSelectedItem DefaultComboBoxModel . <unk> DefaultComboBoxModel . removeElement
handle button press events
ActionEvent . getActionCommand DefaultListModel . getSize JComponent . getGraphics JComponent . paint Graphics . dispose JList . repaint JScrollPane . validate String . equals JList . getSelectedIndices String . cast DefaultListModel . removeElementAt JComponent . getGraphics JComponent . paint Graphics . dispose JList...
call when a button is pressed
ActionEvent . getActionCommand DefaultListModel . getSize String . cast DefaultListModel . addElement JList . getSelectedIndex DefaultListModel . removeElementAt DefaultListModel . size JList . setSelectedIndex JList . getSelectedIndex DefaultListModel . getElementAt DefaultListModel . removeElementAt DefaultListModel ...
<unk> funktion von action listener
ActionEvent . getActionCommand Dialog . <unk> JRadioButton . isSelected Dialog . <unk> JRadioButton . isSelected Dialog . <unk> Dialog . <unk> JTextPane . setForeground JTextPane . setText Dialog . <unk> JRadioButton . isSelected Dialog . <unk> JTextPane . setForeground JTextPane . setText ActionEvent . getActionComman...
activate if a button was pressed
ActionEvent . getActionCommand Dialog . setVisible
set the function of the buttons
ActionEvent . getActionCommand Double . parseDouble JTextField . getText Double . parseDouble Integer . parseInt JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JTextFi...
handle j text field changes
ActionEvent . getActionCommand Double . parseDouble JTextField . getText Double . parseDouble
store the menu value in type variable
ActionEvent . getActionCommand Edge . cast JMenuItem . setForeground Graph . <unk> ActionEvent . getActionCommand Edge . cast
store the menu value in type variable
ActionEvent . getActionCommand Edge . cast JMenuItem . setForeground Graph . <unk> Edge . instance ActionEvent . getActionCommand Edge . cast
store the menu value in type variable
ActionEvent . getActionCommand Edge . instance Edge . cast JMenuItem . setForeground Graph . <unk> Edge . cast
store the menu value in type variable
ActionEvent . getActionCommand Edge . instance Edge . cast JMenuItem . setForeground Graph . <unk> Edge . instance Edge . cast
to implement the action listener interface will be called when one of the edge buttons is clicked
ActionEvent . getActionCommand Element . getEdge
guus action performed
ActionEvent . getActionCommand Engine . <unk> ActionEvent . getActionCommand Engine . <unk> ActionEvent . getActionCommand JApplet . getParameter Engine . <unk> ActionEvent . getActionCommand Engine . <unk>
pass the event to the delegate actions
ActionEvent . getActionCommand EventListenerList . getListenerList ActionListener . cast ActionListener . actionPerformed
invoke when an action occurs
ActionEvent . getActionCommand File . <init> File . getPath JList . getModel DefaultListModel . cast DefaultListModel . addElement DefaultListModel . cast LinkedList < File > . <init> DefaultListModel . getSize JList . isSelectedIndex DefaultListModel . getElementAt File . cast LinkedList < File > . add DefaultListMode...
invoke when an action occurs
ActionEvent . getActionCommand File . <init> Hashtable . get
action events handler
ActionEvent . getActionCommand File . <init> JFileChooser . <init> JFileChooser . setSelectedFile JFileChooser . showSaveDialog JFileChooser . getSelectedFile
handle events fired from the mru menu
ActionEvent . getActionCommand File . <init>
handle ui events from buttons and options
ActionEvent . getActionCommand File . exists JOptionPane . showMessageDialog JTextField . selectAll DefaultListModel . addElement JList . getSelectedIndex DefaultListModel . remove JList . setSelectedIndex JTextField . getText File . <init> File . exists File . isDirectory JFileChooser . setCurrentDirectory JFileChoose...
handle ui events from buttons and options
ActionEvent . getActionCommand File . exists JOptionPane . showMessageDialog JTextField . selectAll DefaultListModel . addElement JList . getSelectedIndex DefaultListModel . remove JList . setSelectedIndex JTextField . getText File . <init> File . isDirectory JFileChooser . setCurrentDirectory File . getParentFile JFil...
action listener method for all of the buttons
ActionEvent . getActionCommand FileDialog . <init> FileDialog . setDirectory FileDialog . setVisible FileDialog . getFile JTextField . setText ActionEvent . getActionCommand
contain business logic of the application is invoked when any button is pressed
ActionEvent . getActionCommand FileDialog . <init> FileDialog . setDirectory System . getenv FileDialog . setDirectory FileDialog . setVisible FileDialog . getDirectory File . <init> TextArea . setText File . length TextArea . append InputStreamReader . <init> BufferedReader . <init> String . getBytes StringBuffer . <i...
map actions to the functions that handle them
ActionEvent . getActionCommand FileDialog . <init> FileDialog . setFilenameFilter FileDialog . setVisible FileDialog . getDirectory FileDialog . getFile JOptionPane . showMessageDialog String . equals
handle the given action event
ActionEvent . getActionCommand FileDialog . hide
this method processes the button actions
ActionEvent . getActionCommand Frame . <init> FileDialog . <init> String . lastIndexOf FileDialog . setFile String . substring FileDialog . setFile FileDialog . setVisible FileDialog . getDirectory FileDialog . getFile FileWriter . <init> FileWriter . write Vector < Point > . size String . length Vector < Point > . ele...
this method processes the button actions
ActionEvent . getActionCommand Frame . <init> FileDialog . <init> String . lastIndexOf FileDialog . setFile String . substring FileDialog . setFile FileDialog . setVisible FileDialog . getDirectory FileDialog . getFile FileWriter . <init> FileWriter . write Vector < Point > . size String . length Vector < Point > . ele...
this method processes the button actions
ActionEvent . getActionCommand Frame . <init> FileDialog . <init> String . lastIndexOf FileDialog . setFile String . substring FileDialog . setFile FileDialog . setVisible FileDialog . getDirectory FileDialog . getFile FileWriter . <init> FileWriter . write Vector < Point > . size Vector < Point > . elementAt String . ...
this method processes the button actions
ActionEvent . getActionCommand Frame . <init> FileDialog . <init> String . lastIndexOf FileDialog . setFile String . substring FileDialog . setFile FileDialog . setVisible FileDialog . getDirectory FileDialog . getFile FileWriter . <init> FileWriter . write Vector < Point > . size Vector < Point > . elementAt String . ...
process the event
ActionEvent . getActionCommand Frame . toFront Frame . requestFocus
action listener
ActionEvent . getActionCommand HashMap < Integer , HashMap < Integer > > . get Integer . parseInt HashMap < Integer > . get Integer . toString CardLayout . show
listener <unk> that <unk> by file load
ActionEvent . getActionCommand Image . getHeight Dimension . <init> JComponent . setPreferredSize Image . getWidth JComponent . setPreferredSize
this method cannot be called directly
ActionEvent . getActionCommand Init . init System . exit ActionEvent . getActionCommand Init . init JPanel . setVisible JPanel . removeKeyListener JFrame . <unk> JFrame . toFront JFrame . requestFocus Init . init JPanel . setVisible JPanel . removeKeyListener JFrame . <unk> JFrame . toFront JFrame . requestFocus Action...
description of the method
ActionEvent . getActionCommand Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue GregorianC...
description of the method
ActionEvent . getActionCommand Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue GregorianC...
description of the method
ActionEvent . getActionCommand Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue GregorianC...
<unk> das tab
ActionEvent . getActionCommand Integer . <init> JTabbedPane . setSelectedIndex
action listener
ActionEvent . getActionCommand Integer . notifyAll
action listener assigned to the <unk>
ActionEvent . getActionCommand Integer . parseInt ActionEvent . getActionCommand JTextField . getText JTextField . setText ActionEvent . getActionCommand
este metodo lo <unk> los <unk> de <unk>
ActionEvent . getActionCommand Integer . parseInt ArrayList < JProgressBar > . size ArrayList < JProgressBar > . get ArrayList < Thread > . size JProgressBar . setString JProgressBar . setStringPainted ArrayList < Thread > . get Thread . isAlive ArrayList < Thread > . get JProgressBar . setString JProgressBar . setStri...
call by listener when a button inside an <unk> is pressed
ActionEvent . getActionCommand Integer . parseInt ConcurrentLinkedDeque . addLast
handle button clicks , displaying a new frame with stop information
ActionEvent . getActionCommand Integer . parseInt JFrame . <init> FlowLayout . <init> JFrame . setLayout JFrame . setDefaultCloseOperation JFrame . getContentPane JFrame . add JFrame . setSize JFrame . setVisible
handle gui events
ActionEvent . getActionCommand Integer . parseInt JTextField . getText Integer . parseInt JRadioButton . isSelected
<unk> y <unk> los <unk> sobre los componentes
ActionEvent . getActionCommand Integer . parseInt Robot . mouseMove
switch interface
ActionEvent . getActionCommand Integer . parseInt Runnable . <init> SwingUtilities . invokeLater JFrame . <init> JFrame . setDefaultCloseOperation JFrame . add JFrame . setName JFrame . pack JFrame . setVisible SwingUtilities . invokeLater
action listener for view menu items
ActionEvent . getActionCommand Integer . parseInt
fire a property depending on the selected index
ActionEvent . getActionCommand Integer . parseInt
handle the click event to highlight the clicked button
ActionEvent . getActionCommand Integer . parseInt
react to event fired by the various controls
ActionEvent . getActionCommand Integer . parseInt
react to selection in the management menu
ActionEvent . getActionCommand Integer . parseInt
set the filter
ActionEvent . getActionCommand Integer . parseInt
set the specified view
ActionEvent . getActionCommand Integer . parseInt
so someone clicked on an item
ActionEvent . getActionCommand Integer . parseInt
the action performed method implemented so that when a button is pressed it can set the right file name
ActionEvent . getActionCommand Integer . parseInt
this function analyses an event and calls the right methods to take care of the users requests
ActionEvent . getActionCommand Integer . parseInt
this method is performed , if the user clicks on a menu item of the j popup menu in order to select <unk> appointments for a resource
ActionEvent . getActionCommand Integer . valueOf ActionEvent . getSource JMenuItem . setSelected JMenuItem . cast JMenuItem . setSelected JMenuItem . cast JMenuItem . setSelected JCheckBoxMenuItem . instance JMenuItem . setSelected JMenuItem . cast JMenuItem . setSelected JMenuItem . cast
action handling for buttons and text fields
ActionEvent . getActionCommand Integer . valueOf JTextArea . setText JOptionPane . showInputDialog Integer . valueOf JTextArea . setText ActionEvent . getActionCommand JOptionPane . showInputDialog Integer . valueOf JTextArea . setText JPopupMenu . getInvoker JPopupMenu . cast JTextArea . selectAll JTextArea . copy JPo...
this function analyses an event and calls the right methods to take care of the users requests
ActionEvent . getActionCommand Integer . valueOf
harvest the users entries from the editor and <unk> the rule to the serialized file
ActionEvent . getActionCommand JButton . getActionCommand ActionEvent . getActionCommand ArrayList . <init> List . stream ActionEvent . getActionCommand JButton . getActionCommand ActionEvent . getActionCommand JButton . getActionCommand JButton . setSelected JTabbedPane . cast JTabbedPane . remove JTabbedPane . setSel...
this method is called by the action listener of the <unk> , defines the action will be performed after the events occurred on the start new game btn
ActionEvent . getActionCommand JButton . setActionCommand JButton . setEnabled ActionEvent . getActionCommand JButton . setEnabled
<unk> handler for actions invoked
ActionEvent . getActionCommand JButton . setActionCommand JButton . setText JButton . setEnabled JTextField . getText JOptionPane . showMessageDialog ActionEvent . getActionCommand JButton . setActionCommand JButton . setText ActionEvent . getActionCommand JButton . setActionCommand JButton . setText ActionEvent . getA...
<unk> handler for actions invoked
ActionEvent . getActionCommand JButton . setActionCommand JButton . setText JButton . setEnabled JTextField . getText JOptionPane . showMessageDialog ActionEvent . getActionCommand JButton . setActionCommand JButton . setText JButton . setActionCommand JButton . setText ActionEvent . getActionCommand JButton . setActio...
handle events from the editor button and from the dialogs ok button
ActionEvent . getActionCommand JButton . setBackground JColorChooser . setColor JDialog . setVisible AbstractTableModel . <unk> JColorChooser . getColor
respond to the start stop pause buttons
ActionEvent . getActionCommand JButton . setEnabled ActionEvent . getActionCommand JButton . setEnabled ActionEvent . getActionCommand JButton . setText JButton . setActionCommand JButton . setToolTipText ActionEvent . getActionCommand JButton . setText JButton . setActionCommand JButton . setToolTipText
respond to the start stop pause all buttons
ActionEvent . getActionCommand JButton . setEnabled ActionEvent . getActionCommand JButton . setEnabled ActionEvent . getActionCommand JButton . setText JButton . setActionCommand JButton . setToolTipText JButton . setText JButton . setActionCommand JButton . setToolTipText
a interface action has been performed
ActionEvent . getActionCommand JButton . setEnabled ActionEvent . getActionCommand
a interface action has been performed
ActionEvent . getActionCommand JButton . setEnabled ActionEvent . getSource JComboBox . cast JComboBox . getName Integer . parseInt JComboBox . getSelectedIndex String . cast Integer . parseInt ActionEvent . getActionCommand
handle user actions
ActionEvent . getActionCommand JButton . setEnabled JComboBox . setEnabled JButton . setEnabled String . equals JButton . setEnabled HashMap < String > . values JComboBox . setEnabled JButton . setEnabled String . equals ActionEvent . getSource JButton . cast JButton . getName
a <unk> is implemented , so must implement this method
ActionEvent . getActionCommand JButton . setEnabled JEditorPane . setPage JButton . setEnabled JEditorPane . setPage ArrayList < URL > . size JButton . setEnabled ArrayList < URL > . remove ArrayList < URL > . add JButton . setEnabled JEditorPane . setPage WindowEvent . <init>
a <unk> is implemented , so must implement this method
ActionEvent . getActionCommand JButton . setEnabled JEditorPane . setPage JButton . setEnabled JEditorPane . setPage JButton . setEnabled ArrayList < URL > . remove ArrayList < URL > . add JButton . setEnabled JEditorPane . setPage WindowEvent . <init>
this method responds to user input which is made using a export clustering j dialog
ActionEvent . getActionCommand JButton . setEnabled JTabbedPane . getSelectedIndex ArrayList < Data > . get Cursor . getPredefinedCursor JLabel . setText JButton . setEnabled JOptionPane . showMessageDialog
this method responds to user input which is made using a export clustering j dialog
ActionEvent . getActionCommand JButton . setEnabled JTabbedPane . getSelectedIndex ArrayList < Data > . get JLabel . setText JButton . setEnabled JOptionPane . showMessageDialog
this method responds to user input which is made using a export network j dialog
ActionEvent . getActionCommand JButton . setEnabled JTabbedPane . getSelectedIndex ArrayList < Data > . get JLabel . setText JButton . setEnabled JOptionPane . showMessageDialog
handle button presses
ActionEvent . getActionCommand JButton . setEnabled JTextField . getText JOptionPane . showMessageDialog JButton . setEnabled JOptionPane . showMessageDialog JButton . setEnabled JTextField . getText StringTokenizer . <init> StringTokenizer . countTokens StringTokenizer . nextToken StringTokenizer . <init> StringTokeni...
handle button presses
ActionEvent . getActionCommand JButton . setEnabled JTextField . getText String . equals JFileChooser . <init> JFileChooser . setFileSelectionMode JFileChooser . setDialogTitle JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getPath JTextField . setText
reaction to user selections being made regarding radio buttons and the auto complete function
ActionEvent . getActionCommand JButton . setEnabled JTextField . setEnabled ActionEvent . getActionCommand JButton . setEnabled JTextField . setEnabled ActionEvent . getActionCommand JLabel . setVisible Vector < String > . <init> Vector < String > . add Vector < String > . <init> DataSource . <unk> Vector < String > . ...
action listener action performed
ActionEvent . getActionCommand JButton . setEnabled String . equals JComboBox . setSelectedIndex
respond to button presses
ActionEvent . getActionCommand JButton . setEnabled
action handling methods
ActionEvent . getActionCommand JButton . setText ActionEvent . getActionCommand JButton . setText JButton . setActionCommand
action listener interface br listen out for the following button events : <unk> close button pressed action : close the dialog li li trace start button pressed action : start trace and toggle the button to being the stop button li li trace stop button pressed action : stop the trace and toggle the button to being the s...
ActionEvent . getActionCommand JButton . setText ActionEvent . getActionCommand JButton . setText JCheckBox . setSelected JTextField . setText JTextArea . setText JCheckBox . setSelected JComboBox . setSelectedIndex JCheckBox . setSelected JTextField . setText
take e and handles the event
ActionEvent . getActionCommand JButton . setText JButton . setEnabled SwingWorker < Void , Void > . <init> SwingWorker . execute
invoke when the user presses the start button
ActionEvent . getActionCommand JButton . setText JFrame . setSize JButton . setText JFrame . setSize File . <init> File . delete
follow method action performed handles all the events triggered on using buttons of the whole window
ActionEvent . getActionCommand JButton . setToolTipText JButton . setText JButton . setActionCommand JButton . setToolTipText JButton . setText JButton . setActionCommand JPanel . getHeight Rectangle . <init> Runnable . <init> Thread . <init> Thread . start BufferedWriter . write Timer . start ActionEvent . getActionCo...
follow method action performed handles all the events triggered on using buttons of the whole window
ActionEvent . getActionCommand JButton . setToolTipText JButton . setText JButton . setActionCommand JButton . setToolTipText JButton . setText JButton . setActionCommand JPanel . getHeight Rectangle . <init> Runnable . <init> Thread . <init> Thread . start BufferedWriter . write Timer . start ActionEvent . getActionCo...
method from the <unk> , checks to see if a button pressed
ActionEvent . getActionCommand JButton . setVisible ActionEvent . getActionCommand JButton . setVisible ActionEvent . getActionCommand JButton . setVisible ActionEvent . getActionCommand JButton . setVisible