docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
listener to handle button actions
ActionEvent . getSource JRadioButton . isSelected JDialog . dispose ActionEvent . getSource JDialog . dispose ActionEvent . getSource JCheckBox . isSelected JRadioButton . setEnabled JCheckBox . isSelected JRadioButton . setEnabled
listener to handle button actions
ActionEvent . getSource JRadioButton . isSelected JDialog . dispose ActionEvent . getSource JRadioButton . setEnabled
listener to handle button actions
ActionEvent . getSource JRadioButton . isSelected JDialog . dispose JCheckBox . isSelected JRadioButton . setEnabled JCheckBox . isSelected JRadioButton . setEnabled
action start
ActionEvent . getSource JRadioButtonMenuItem . cast DirectoryManager . <unk> File . delete Desktop . <unk> HashMap < JRadioButtonMenuItem > . get Desktop . setModel
apply this action
ActionEvent . getSource JRadioButtonMenuItem . cast JRadioButtonMenuItem . isSelected
handle the action events triggered by interface components
ActionEvent . getSource JRadioButtonMenuItem . isSelected Double . parseDouble Double . compare JOptionPane . showMessageDialog ArrayList . size
scroll to the end of the viewport if there are visible scrollbars
ActionEvent . getSource JScrollPane . cast JScrollPane . getViewport JViewport . getView JViewport . getViewRect JViewport . <unk> JViewport . setViewPosition
perform the scroll action if the action was performed on visible scrollbars and if the viewport is valid
ActionEvent . getSource JScrollPane . cast JScrollPane . getViewport JViewport . getView JViewport . getViewRect JViewport . <unk> Scrollable . cast Scrollable . <unk> Scrollable . getScrollableUnitIncrement Math . max Rectangle . getLocation JViewport . setViewPosition
capture the events thrown out by wave view parameters
ActionEvent . getSource JScrollPane . getHorizontalScrollBar JScrollBar . getMaximum JScrollBar . getValue JScrollPane . getSize JScrollPane . getInsets JScrollBar . getSize ActionEvent . getSource JButton . cast JScrollBar . addAdjustmentListener
action listener
ActionEvent . getSource JScrollPane . setVisible JPanel . setVisible ActionEvent . getActionCommand JPanel . setVisible JScrollPane . setVisible
listen for button actions
ActionEvent . getSource JSlider . getValue JSlider . setValue JSlider . getValue JSlider . setValue
listen for button actions
ActionEvent . getSource JSlider . setValue ActionEvent . getSource JSlider . getValue JSlider . setValue ActionEvent . getSource
call when the delete time button is clicked
ActionEvent . getSource JSpinner . getEditor DefaultEditor . cast DefaultEditor . getTextField JFormattedTextField . setText
implementation of action performed
ActionEvent . getSource JSpinner . getValue Integer . cast Integer . intValue JCheckBox . isSelected JSpinner . setValue Integer . <init> JSpinner . setValue String . equals JTextField . getText String . equals JOptionPane . showMessageDialog Resources . getString JTextField . setEnabled JPasswordField . setEnabled JTe...
<unk> applies the correct command to the button pressed
ActionEvent . getSource JSpinner . getValue Integer . cast Integer . intValue JSpinner . getValue Integer . intValue JSpinner . getValue Integer . intValue JRadioButton . isSelected JCheckBox . isSelected JDialog . setVisible JOptionPane . showMessageDialog JDialog . setVisible ActionEvent . getSource JCheckBox . setEn...
add a condition post <unk> for tabbed pane one to add guide tab if guide toggle button is selected
ActionEvent . getSource JTabbedPane . addTab JTabbedPane . setSelectedIndex JTabbedPane . <unk> ImageIcon . <init> JTabbedPane . getTitleAt JTabbedPane . removeTabAt JTabbedPane . setSelectedIndex
invoke when an action occurs
ActionEvent . getSource JTabbedPane . cast Cursor . getPredefinedCursor JTabbedPane . setCursor Cursor . getDefaultCursor JTabbedPane . setCursor
methode pour <unk> dun <unk>
ActionEvent . getSource JTabbedPane . getTabCount JTabbedPane . getComponent JTabbedPane . remove JTabbedPane . add JTabbedPane . getTabCount JTabbedPane . <unk> JTextArea . <init> JTabbedPane . add JTextArea . setEditable JTabbedPane . getTabCount JTabbedPane . <unk> JTabbedPane . setSelectedComponent ActionEvent . ge...
implement the desired actions to perform on an event , in this case
ActionEvent . getSource JTabbedPane . setSelectedIndex JTabbedPane . getSelectedIndex JTabbedPane . setSelectedIndex
listener on rate a song button
ActionEvent . getSource JTable . cast ActionEvent . getActionCommand Integer . valueOf JTable . getModel JDialog . <init> JDialog . add JDialog . pack JDialog . setLocationRelativeTo JDialog . show
listener on information about song button
ActionEvent . getSource JTable . cast Integer . valueOf JTable . getModel JDialog . <init> JDialog . add JDialog . pack JDialog . setLocationRelativeTo JDialog . show
este metodo e <unk> por que a classe <unk> <unk> consulta <unk> <unk> um action listener
ActionEvent . getSource JTable . getModel DefaultTableModel . cast DefaultTableModel . <unk>
handle the actions of the goto buttons and also the notes button
ActionEvent . getSource JTable . getModel TableModel . getValueAt Object . toString Vector . size Vector . get String . startsWith Vector . get Container . cast Container . getParent JScrollPane . cast JTabbedPane . instance Container . getParent JTabbedPane . cast JTabbedPane . setSelectedComponent JScrollPane . getVi...
this method handles all the actions taking place
ActionEvent . getSource JTable . getSelectedRow JLabel . setText JButton . setEnabled JTable . getSelectedRow JLabel . setText JTable . getValueAt JTable . getSelectedRow JTable . getValueAt JLabel . setText JTable . getValueAt JTable . getSelectedRow JLabel . setText JCheckBox . setEnabled JButton . setEnabled SimpleD...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint ActionEvent . getSource JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JPanel . remove JSplitPane . removeAll JSplitPane . getOrientation JSplitPane . <init> JSplitPane . setTopComponent JSplitPane . setR...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint ActionEvent . getSource JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JTable . repaint JPanel . remove JSplitPane . removeAll JSplitPane . <init> JSplitPane . setTopComponent JSplitPane . setRightCompone...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JPanel . remove JSplitPane . removeAll JSplitPane . <init> JSplitPane . setTopComponent JSplitPane . setRightComponent JSplitPane . setResizeWeight JPanel . ...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JPanel . remove JSplitPane . removeAll JSplitPane . <init> JSplitPane . setTopComponent JSplitPane . setRightComponent JSplitPane . setResizeWeight JPanel . ...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JTable . repaint ActionEvent . getSource JPanel . remove JSplitPane . removeAll JSplitPane . getOrientation JSplitPane . <init> JSplitPane . setTopComponent ...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JTable . repaint ActionEvent . getSource JPanel . remove JSplitPane . removeAll JSplitPane . getOrientation JSplitPane . <init> JSplitPane . setTopComponent ...
listener to handle button actions
ActionEvent . getSource JTable . getSelectedRow JTable . clearSelection JTable . repaint JTable . setRowSelectionInterval JTable . repaint ActionEvent . getSource JTable . repaint JPanel . remove JSplitPane . removeAll JSplitPane . <init> JSplitPane . setTopComponent JSplitPane . setRightComponent JSplitPane . setResiz...
initiate the appropriate response to an <unk> menu option chosen or text returned from j text field
ActionEvent . getSource JTable . getSize BufferedImage . <init> BufferedImage . createGraphics JTable . paint FileOutputStream . <init> <unk> . <unk> <unk> . encode OutputStream . close JTable . getSize BufferedImage . <init> BufferedImage . createGraphics JTable . paint FileOutputStream . <init> <unk> . <unk> <unk> . ...
handle all buttons and fields , does name , position , and sequence searching
ActionEvent . getSource JTable . setVisible JTextField . getText ActionEvent . getSource JTextField . getText JTable . setVisible JScrollPane . setEnabled ActionEvent . getSource SwingUtilities . windowForComponent Window . hide Window . dispose JTable . setVisible JTextField . setText
<unk> des actions
ActionEvent . getSource JTextArea . cut JTextArea . requestFocus JTextArea . copy JTextArea . requestFocus JTextArea . paste JTextArea . requestFocus JTextArea . setText JTextArea . requestFocus JTextArea . getCaretPosition JTextArea . <unk> JTextArea . getLineStartOffset JTextArea . getLineEndOffset JTextArea . getTex...
define todos los <unk> de los <unk> de la <unk>
ActionEvent . getSource JTextArea . getCaretPosition JTextArea . insert ActionEvent . getSource JTextArea . insert ActionEvent . getSource JTextArea . insert JTextArea . getCaretPosition JTextArea . insert ActionEvent . getSource JTextArea . getCaretPosition JTextArea . insert JTextArea . getCaretPosition JTextArea . i...
create action for every button of the created gui
ActionEvent . getSource JTextArea . getText JTextArea . append JTextArea . getText JTextArea . append ActionEvent . getSource JTextArea . getText JTextArea . setText JTextArea . getText JTextArea . append ActionEvent . getSource JTextArea . getText JTextArea . append JTextArea . getText JTextArea . setText JTextArea . ...
handle user input
ActionEvent . getSource JTextArea . getText JTextArea . setText
this method <unk> , when the user presses one of the id es buttons
ActionEvent . getSource JTextArea . selectAll JTextArea . copy JTextArea . setText JTextArea . selectAll JTextArea . copy JTextArea . setText Thread . stop
invoke when an action occurs
ActionEvent . getSource JTextArea . selectAll JTextArea . copy
<unk> was having problems with using html in the chat box , so kept this way and added a switch statement for font sizes
ActionEvent . getSource JTextArea . setForeground Font . <init> JTextArea . setFont Constants . <unk> ActionEvent . getSource JLabel . setForeground JPanel . setBackground JLabel . setFont
invoke when an action occurs
ActionEvent . getSource JTextArea . setText ActionEvent . getSource System . exit ActionEvent . getSource JTextArea . getSelectedText JTextArea . getSelectionEnd JTextArea . getSelectionStart JTextArea . <unk> JTextArea . getSelectedText JTextArea . getSelectionEnd JTextArea . getSelectionStart JTextArea . <unk> JTextA...
process the action generated from the user interface
ActionEvent . getSource JTextArea . setText JButton . getToolkit Toolkit . <unk> Clipboard . setContents
handle all events generated by dispatcher gui
ActionEvent . getSource JTextArea . setText JMenuItem . getText JMenuItem . setText JList . getSelectedValues String . cast JList . getSelectedValues String . cast
handle all events generated by dispatcher gui
ActionEvent . getSource JTextArea . setText JMenuItem . setText JList . getSelectedValues String . cast JList . getSelectedValues String . cast
respond to one of the buttons in the main GUI , by querying the <unk> , and displaying the results into the output text area
ActionEvent . getSource JTextArea . setText JTextArea . append JTextArea . setText JTextArea . append JTextArea . setText Integer . parseInt JTextArea . append JTextArea . setText Integer . parseInt JTextArea . append JTextArea . setText Double . parseDouble JTextField . getText Double . parseDouble JTextArea . append ...
this method <unk> , when the user presses one of the id es buttons
ActionEvent . getSource JTextArea . setText Thread . stop
invoke when an action occurs
ActionEvent . getSource JTextArea . setText
description of the method
ActionEvent . getSource JTextComponent . cast JTextComponent . paste
determine the component to use for the action
ActionEvent . getSource JTextComponent . cast
all entities that contain a pattern substring case <unk> in the name are produced
ActionEvent . getSource JTextField . cast ArrayList < Object > . <init> String . startsWith String . substring Pattern . compile Collection . iterator Iterator . hasNext Iterator . next Collection < Query > . iterator Iterator < Query > . next List < Object > . add Collection . iterator Iterator . hasNext Iterator . ne...
send a request when the user hits the enter key while typing in the search <unk> field
ActionEvent . getSource JTextField . cast Integer . parseInt JOptionPane . showMessageDialog Network . getInstance Network . <unk> Request . addObserver Request . send
get the val attribute of the <unk> object
ActionEvent . getSource JTextField . cast Integer . parseInt
send a request when the user hits the enter key while typing in the search <unk> field
ActionEvent . getSource JTextField . cast JTextField . getText Integer . parseInt JOptionPane . showMessageDialog Network . <unk> Request . addObserver Request . send
get the val attribute of the <unk> object
ActionEvent . getSource JTextField . cast JTextField . getText Integer . parseInt
return the selected value of the combobox
ActionEvent . getSource JTextField . cast JTextField . getText
handle new input
ActionEvent . getSource JTextField . cast
if the search button is clicked a new action event is created with a custom command common constants
ActionEvent . getSource JTextField . getText ActionEvent . <init>
respond to ui changes by updating the step data
ActionEvent . getSource JTextField . getText ActionEvent . getActionCommand SwingUtilities . invokeLater Step . <unk> JTextField . setText JTextField . selectAll Step . setDescription String . equals Step . setDescription
event listeners
ActionEvent . getSource JTextField . getText ArrayList . add Collections . reverseOrder Collections . sort JTextField . setText JOptionPane . showMessageDialog ActionEvent . getSource ArrayList . add JTextField . getText Collections . sort JTextField . setText JOptionPane . showMessageDialog ArrayList . add Collections...
invoke when an action occurs
ActionEvent . getSource JTextField . getText Double . parseDouble JTextField . getText
if a button has been pressed , do the appropriate response
ActionEvent . getSource JTextField . getText Driver . <init> Driver . <unk> JPasswordField . getPassword Driver . <unk> JLabel . setText System . exit
listen for changes in the rate text field
ActionEvent . getSource JTextField . getText Float . valueOf
<unk> <unk> an buttons werden <unk>
ActionEvent . getSource JTextField . getText InetAddress . getByName JButton . setEnabled JTextField . getText Server . <init> Thread . <init> Thread . start InetAddress . getLocalHost
invoke when an action occurs
ActionEvent . getSource JTextField . getText Integer . parseInt ActionEvent . getSource JTextField . setText ActionEvent . getSource JTextField . setText
invoke when an action occurs
ActionEvent . getSource JTextField . getText Integer . parseInt ActionEvent . getSource JTextField . setText
react to ok , reset and cancel buttons
ActionEvent . getSource JTextField . getText Integer . parseInt JOptionPane . showMessageDialog Element . setDelay Element . dispose
method used to track actions performed
ActionEvent . getSource JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt ArrayList < Task > . add JTextField . getText ArrayList < Task > . add String . cast JComboBox . getSelectedItem Integer . parseInt String . cast Integer . parseInt JComboBox . getSelectedItem Integer . parseInt JCom...
listen for any events from the button then casts a vote
ActionEvent . getSource JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JOptionPane . showMessageDialog String . isEmpty JOptionPane . showMessageDialog
this method controls what happens when an event happens
ActionEvent . getSource JTextField . getText Integer . parseInt String . cast JComboBox . getSelectedItem String . cast JComboBox . getSelectedItem String . cast JTextField . getText Integer . parseInt
method from the action listener interface
ActionEvent . getSource JTextField . getText JButton . getText
<unk> van een <unk> van het gui
ActionEvent . getSource JTextField . getText JButton . setEnabled JTextField . setText
method from the action listener interface
ActionEvent . getSource JTextField . getText JCheckBox . isSelected JCheckBox . setEnabled
method from the action listener interface
ActionEvent . getSource JTextField . getText JCheckBox . isSelected JTextField . setText JCheckBox . setEnabled JCheckBox . setSelected ActionEvent . getSource JTextField . getText JCheckBox . setEnabled ActionEvent . getSource JButton . getText
method from the action listener interface
ActionEvent . getSource JTextField . getText JCheckBox . setEnabled JCheckBox . setSelected JButton . setEnabled JTextField . setText ActionEvent . getSource JButton . getText
method from the action listener interface
ActionEvent . getSource JTextField . getText JCheckBox . setEnabled JCheckBox . setSelected JButton . setEnabled JTextField . setText ActionEvent . getSource
implement action <unk> for gui buttons : browse and create
ActionEvent . getSource JTextField . getText JFileChooser . showOpenDialog JTextField . setText JFileChooser . getSelectedFile JTextField . setText
handle button events from the main interface
ActionEvent . getSource JTextField . getText JLabel . setText JTextField . <init> JTextField . setFont JLabel . <init> JOptionPane . showOptionDialog JTextField . getText String . replaceAll String . length List . add JLabel . setText JTable . clearSelection JButton . setEnabled JTable . repaint JOptionPane . showMessa...
action events in connect window
ActionEvent . getSource JTextField . getText JLabel . setText
two main actions are handle here , search and clear search
ActionEvent . getSource JTextField . getText JLabel . setVisible JProgressBar . setVisible JTextField . getText JCheckBox . isSelected ResourceBundle . getString JButton . setText JButton . setEnabled JCheckBox . setEnabled Timer . start JButton . setEnabled JCheckBox . setEnabled JTextField . setText Container . repai...
react to buttons
ActionEvent . getSource JTextField . getText JOptionPane . showMessageDialog JTextField . getText Integer . parseInt JTextField . getText Integer . parseInt JOptionPane . showMessageDialog JRadioButton . isSelected JOptionPane . showMessageDialog String . equals ActionEvent . getSource JOptionPane . showInputDialog Str...
button responses for all five of the panels in the program
ActionEvent . getSource JTextField . getText JOptionPane . showMessageDialog JTextField . getText Integer . valueOf Message . <init> String . contains Message . getMessage JTextField . getText JOptionPane . showMessageDialog JTextField . getText Message . <init> String . contains ActionEvent . getSource JTextField . ge...
act on button presses and combo box selections
ActionEvent . getSource JTextField . getText JOptionPane . showMessageDialog JTextField . setBackground JOptionPane . showMessageDialog JTextField . setBackground SimpleDateFormat . <init> SimpleDateFormat . parse GregorianCalendar . <init> GregorianCalendar . setTime JLabel . getText SimpleDateFormat . parse JTextFiel...
override the action performed method in the action listener interface call the respective methods for handling the events on the components
ActionEvent . getSource JTextField . getText JOptionPane . showMessageDialog Socket . <init> Listener . <init> Listener . start JOptionPane . showMessageDialog System . exit
action performed tells the program how to react in the case that one of the buttons is clicked
ActionEvent . getSource JTextField . getText JOptionPane . showMessageDialog String . substring Integer . parseInt String . substring Integer . parseInt String . substring Integer . parseInt String . substring Integer . parseInt Date . <init> JTextField . getText Control . add Control . <unk> JOptionPane . showMessageD...
<unk> die buttons
ActionEvent . getSource JTextField . getText JPasswordField . getPassword String . <init> JTextField . getText DefaultTableModel . <init> JTable . setModel JOptionPane . showMessageDialog DefaultTableModel . <init> JTable . setModel JButton . setEnabled
listener for the login and play offline button
ActionEvent . getSource JTextField . getText JPasswordField . getPassword String . <init> JTextField . getText
listener to handle button actions
ActionEvent . getSource JTextField . getText JPasswordField . getPassword String . <init>
require by action listener
ActionEvent . getSource JTextField . getText JRadioButton . isSelected JOptionPane . showMessageDialog ActionEvent . getSource JTextArea . setText Integer . parseInt
require by action listener
ActionEvent . getSource JTextField . getText JRadioButton . isSelected JOptionPane . showMessageDialog JTextArea . setText Integer . parseInt
require by action listener
ActionEvent . getSource JTextField . getText JRadioButton . isSelected JOptionPane . showMessageDialog JTextArea . setText JTextField . getText Integer . parseInt
handle all action events by triggering the appropriate response by the controller
ActionEvent . getSource JTextField . getText JRadioButton . isSelected JTextField . getText JRadioButton . isSelected JTextField . getText
the listener method
ActionEvent . getSource JTextField . getText JTextArea . append JTextArea . setCaretPosition JTextField . setText JTextField . getText JTextArea . append JTextArea . getText JTextArea . setCaretPosition JTextField . setText JFileChooser . <init> JFileChooser . setDialogTitle JFileChooser . setFileSelectionMode JFileCho...
handle ui events
ActionEvent . getSource JTextField . getText JTextField . selectAll JCheckBoxMenuItem . instance JMenuItem . cast JMenuItem . getName JMenuItem . isSelected JMenuItem . instance JMenuItem . getName Vector . elementAt String . cast Vector . size Vector . elementAt String . cast
handle ui events
ActionEvent . getSource JTextField . getText JTextField . selectAll JMenuItem . cast JMenuItem . getName JMenuItem . isSelected JMenuItem . instance JMenuItem . cast JMenuItem . getName Vector . elementAt String . cast Vector . size Vector . elementAt String . cast
method from the action listener interface
ActionEvent . getSource JTextField . getText JTextField . setText JButton . setEnabled JFrame . <init> JOptionPane . showMessageDialog JTextField . setText JLabel . setText Timer . setDelay ActionEvent . getSource List . get JFrame . <init> JOptionPane . showMessageDialog ActionEvent . getSource
method from the action listener interface
ActionEvent . getSource JTextField . getText JTextField . setText JCheckBox . setEnabled JButton . setEnabled JCheckBox . setSelected
method from the action listener interface
ActionEvent . getSource JTextField . getText JTextField . setText JCheckBox . setSelected ActionEvent . getWhen JCheckBox . getName JCheckBox . setEnabled JCheckBox . getText JCheckBox . setText JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected
the action listener resolving method
ActionEvent . getSource JTextField . getText JTextField . setText JTextField . getText JTextField . setText JFileChooser . <init> JFileChooser . setDialogTitle JFileChooser . setFileSelectionMode JFileChooser . setDoubleBuffered JFileChooser . showOpenDialog JFileChooser . getSelectedFile FileWriter . <init> BufferedWr...
search button
ActionEvent . getSource JTextField . getText JTextField . setText JTextField . getText JTextField . setText JTextField . getText JTextField . setText JTextField . getText JTextField . setText JTextField . getText JTextField . setText String . charAt Character . isDigit String . substring Integer . parseInt JTextField ....
a new type was selected in the type combo box
ActionEvent . getSource JTextField . getText JTextField . setText JTextField . getText JTextField . setText JTextField . setEnabled JPasswordField . setEnabled JTextField . setEnabled JPasswordField . setEnabled