docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
decide what action to perform depending on which button is pressed
ActionEvent . getSource JButton . cast JButton . setText JButton . setIcon JButton . setEnabled ActionEvent . getActionCommand JButton . setText JButton . setIcon JButton . setEnabled ActionEvent . getActionCommand
process a button push event
ActionEvent . getSource JButton . cast JButton . setText JButton . setMnemonic JButton . setText JButton . setMnemonic JButton . cast JSplitPane . setOrientation JSplitPane . setDividerLocation JSplitPane . resetToPreferredSizes JButton . setText JButton . setToolTipText JButton . setMnemonic JSplitPane . setOrientation JSplitPane . setDividerLocation JButton . setText JSplitPane . resetToPreferredSizes JButton . setToolTipText JButton . setMnemonic JTextField . getText JButton . cast JButton . getText JButton . setText JButton . setMnemonic JTable . selectAll JButton . setText JButton . setMnemonic
close the dialog on a button event
ActionEvent . getSource JButton . cast JComboBox . getSelectedItem Map < String , String > . put JComboBox . getSelectedItem Map < String , String > . put JComboBox . getSelectedItem Map < String , String > . put FileReader . <unk>
when a button is clicked ,
ActionEvent . getSource JButton . cast JFileChooser . <init> JFileChooser . setMultiSelectionEnabled JFileChooser . setFileSelectionMode JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JFileChooser . getSelectedFiles Engine . <unk> JTextField . setText JTextArea . setText
get the source of the button click and creates a j option pane for the corresponding elements information
ActionEvent . getSource JButton . cast JOptionPane . showMessageDialog JButton . getText
document ME !
ActionEvent . getSource JButton . cast JOptionPane . showMessageDialog Vector < String > . set JTextField . getText Vector < String > . set JTextField . getText Vector < String > . set
action to perform when a button is clicked
ActionEvent . getSource JButton . cast JPanel . setVisible JPanel . remove JPanel . add JPanel . setVisible JButton . setEnabled ActionEvent . getSource JPanel . setVisible JPanel . remove JPanel . add JPanel . setVisible JButton . setEnabled
<unk> <unk> su <unk> <unk> button va <unk> lap <unk> dataset
ActionEvent . getSource JButton . cast JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt DateEditor . getFormat JSpinner . getValue Integer . parseInt
<unk> <unk> su <unk> <unk> button va <unk> lap <unk> dataset
ActionEvent . getSource JButton . cast JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt JSpinner . getValue DateEditor . getFormat Integer . parseInt JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt JSpinner . getValue Integer . parseInt
<unk> <unk> su <unk> <unk> button va <unk> lap <unk> dataset
ActionEvent . getSource JButton . cast JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt JSpinner . getValue Integer . parseInt DateEditor . getFormat
<unk> <unk> su <unk> <unk> button va <unk> lap <unk> dataset
ActionEvent . getSource JButton . cast JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt JSpinner . getValue Integer . parseInt JSpinner . getValue Integer . parseInt DateEditor . getFormat Integer . parseInt
<unk> <unk> su <unk> <unk> button va <unk> lap <unk> dataset
ActionEvent . getSource JButton . cast JSpinner . getValue Integer . parseInt JSpinner . getValue Integer . parseInt JSpinner . getValue DateEditor . getFormat JSpinner . getValue Integer . parseInt
<unk> actions on buttons
ActionEvent . getSource JButton . cast JTextField . getText DefaultListModel < String > . <init> Vector < Object > . <init> Vector . <init> Vector . iterator DefaultListModel . addElement Vector < Object > . addElement Iterator . next DefaultListModel . addElement Vector < Object > . addElement DefaultListModel . addElement Vector < Object > . addElement DefaultListModel . addElement Vector < Object > . addElement Vector . iterator Iterator . next DefaultListModel . addElement Vector < Object > . addElement DefaultListModel . addElement Vector < Object > . addElement DefaultListModel . addElement Vector < Object > . addElement Vector . iterator Iterator . hasNext Iterator . next DefaultListModel . addElement Vector < Object > . addElement DefaultListModel . addElement Vector < Object > . addElement DefaultListModel . addElement Vector < Object > . addElement Vector . iterator Iterator . hasNext Iterator . next DefaultListModel . addElement Vector < Object > . addElement JList . setModel
detect button presses
ActionEvent . getSource JButton . cast JTextField . getText Double . parseDouble JTextField . getText Double . parseDouble
when a button is clicked ,
ActionEvent . getSource JButton . cast JTextField . getText JFileChooser . <init> JFileChooser . setMultiSelectionEnabled JFileChooser . setFileSelectionMode File . <init> JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog Engine . <unk> JTextField . setText JFileChooser . getCurrentDirectory JTextArea . setText
call when a button is pressed
ActionEvent . getSource JButton . cast JTextField . getText JTextField . setText JButton . setText JButton . setEnabled JTextField . setText
document ME !
ActionEvent . getSource JButton . cast JTextField . getText Vector < String > . set JTextField . instance JTextField . cast JTextField . getText Vector < String > . set
document ME !
ActionEvent . getSource JButton . cast JTextField . getText Vector < String > . set JTextField . instance JTextField . cast Vector < String > . set
call when an action is performed on this dialog
ActionEvent . getSource JButton . cast JTextField . getText
perform corresponding actions , when a button is pressed
ActionEvent . getSource JButton . cast JTextField . getText
a button of the <unk> pressed
ActionEvent . getSource JButton . cast JTextPane . getDocument JButton . getText
when user presses any button on the keyboard , data is loaded to input buffer
ActionEvent . getSource JButton . cast Long . toBinaryString
event handler for clicks on the home page button
ActionEvent . getSource JButton . cast URI . <init>
invoke when an action occurs
ActionEvent . getSource JButton . cast Vector . <init> Vector . add Integer . <init> Integer . cast JButton . setText Integer . intValue
call when a button is pressed
ActionEvent . getSource JButton . cast
event listeners
ActionEvent . getSource JButton . cast
handle the action event
ActionEvent . getSource JButton . cast
handle the tt action event tt
ActionEvent . getSource JButton . cast
highlight the clicked button
ActionEvent . getSource JButton . cast
respond to the button click continue button action
ActionEvent . getSource JButton . cast
<unk> <unk> menu <unk> <unk>
ActionEvent . getSource JButton . doClick CardLayout . show CardLayout . cast ActionEvent . getSource CardLayout . cast CardLayout . show CardLayout . cast ActionEvent . getSource CardLayout . show JPanel . getLayout CardLayout . cast CardLayout . show JPanel . getLayout CardLayout . cast JLabel . setVisible JTextField . setVisible JLabel . setVisible JTextField . setVisible JButton . setVisible CardLayout . show CardLayout . cast JPanel . getLayout CardLayout . cast CardLayout . show ActionEvent . getSource CardLayout . show JPanel . getLayout CardLayout . cast ActionEvent . getSource JPanel . getLayout CardLayout . cast CardLayout . show CardLayout . cast ActionEvent . getSource JOptionPane . showOptionDialog System . exit
if the button is set , then the method will call the do click method at the button
ActionEvent . getSource JButton . doClick JInternalFrame . cast ActionEvent . getSource Component . cast JInternalFrame . dispose Window . cast ActionEvent . getSource Component . cast Window . dispose
if the button is set , then the method will call the do click method at the button
ActionEvent . getSource JButton . doClick SwingUtilities . getAncestorOfClass JInternalFrame . cast Component . cast JInternalFrame . dispose Window . cast ActionEvent . getSource Component . cast Window . dispose
handle menu and toolbar item choices
ActionEvent . getSource JButton . getActionCommand JMenuItem . cast JMenuItem . getActionCommand Component . instance Component . cast Method . invoke
handle menu and toolbar item choices
ActionEvent . getSource JButton . getActionCommand JMenuItem . instance JMenuItem . cast JMenuItem . getActionCommand Component . instance Component . cast Method . invoke
description of the method
ActionEvent . getSource JButton . getClientProperty Option . cast
function action listener for buttons
ActionEvent . getSource JButton . getIcon ImageIcon . cast ActionEvent . getSource ImageIcon . cast JButton . instance JButton . setIcon ActionEvent . getSource JButton . cast ActionEvent . getSource
handle button clicks
ActionEvent . getSource JButton . getLocationOnScreen Component . getLocationOnScreen JButton . getHeight JButton . getModel
this method runs in case an action is registered by the listener
ActionEvent . getSource JButton . getText JList . getSelectedIndex JTextField . getText ButtonModel . getActionCommand ButtonGroup . getSelection ButtonModel . getActionCommand Float . parseFloat Integer . parseInt JList . setListData JList . setSelectedIndex JFrame . dispose String . equals JFrame . dispose
event handler for button clicks
ActionEvent . getSource JButton . getText String . equals System . exit String . equals View . <unk> View . deselect View . repaint String . equals View . <unk> View . deselect
add or remove a given data set
ActionEvent . getSource JButton . getText Vector . elementAt JButton . cast Vector . size JButton . cast JButton . getText Vector . elementAt JButton . cast JButton . setText Vector . elementAt JButton . setText Vector . elementAt JButton . cast JButton . getText JButton . cast Vector . elementAt JButton . setText JButton . cast Vector . elementAt JButton . cast JButton . setEnabled Point . <init> CardLayout . show CardLayout . cast
respond to an action event from one of the gui components in the applet
ActionEvent . getSource JButton . instance ActionEvent . getActionCommand JCheckBox . instance JCheckBox . isSelected JCheckBox . cast JComboBox . getSelectedItem
respond to an action event from one of the gui components in the applet
ActionEvent . getSource JButton . instance ActionEvent . getActionCommand JCheckBox . isSelected JCheckBox . cast JComboBox . instance JComboBox . getSelectedItem
action listener method for buttons and node set chooser
ActionEvent . getSource JButton . instance ActionEvent . getSource JButton . cast JButton . getClientProperty JComboBox . getSelectedIndex
action listener method for buttons and node set chooser
ActionEvent . getSource JButton . instance ActionEvent . getSource JButton . cast JButton . getClientProperty
this method cannot be called directly
ActionEvent . getSource JButton . instance FileDialog . <init> FileDialog . setVisible FileDialog . getFile
a implementation of action listener interface for handling click event on the buttons
ActionEvent . getSource JButton . instance Integer . parseInt ActionEvent . getSource JButton . cast Selector . <unk>
handle menu and toolbar item choices
ActionEvent . getSource JButton . instance JButton . cast JButton . getActionCommand JMenuItem . getActionCommand Component . cast Method . invoke
action listener method for buttons and node set chooser
ActionEvent . getSource JButton . instance JButton . cast JButton . getClientProperty ActionEvent . getSource JComboBox . getSelectedIndex
handle all button events for <unk> to a view
ActionEvent . getSource JButton . instance JButton . cast JButton . getClientProperty JMenuItem . doClick JButton . setToolTipText JMenuItem . getToolTipText JButton . setToolTipText
<unk> events des <unk>
ActionEvent . getSource JButton . instance JButton . cast JButton . getName JRadioButton . instance JRadioButton . cast JRadioButton . getName
perform actions based on what occurs
ActionEvent . getSource JButton . instance JButton . cast JButton . getText ArrayList < JButton > . size ArrayList < JButton > . get
call when a action is performed on the GUI , deals with button presses calling the button pressed method in the parent
ActionEvent . getSource JButton . instance JButton . cast JButton . getText JButton . cast
document ME !
ActionEvent . getSource JButton . instance JButton . cast JOptionPane . showMessageDialog JTextField . getText Vector < String > . set
document ME !
ActionEvent . getSource JButton . instance JButton . cast JTextField . getText
handle menu and toolbar item choices
ActionEvent . getSource JButton . instance JButton . getActionCommand JMenuItem . cast JMenuItem . getActionCommand Component . cast Method . invoke
handle the button push events
ActionEvent . getSource JButton . instance JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance JRadioButton . instance JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance JRadioButton . instance JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance JRadioButton . instance JRadioButton . isSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setSelected JCheckBox . setEnabled
respond to an action event from one of the gui components in the applet
ActionEvent . getSource JButton . instance JTextField . instance ActionEvent . getActionCommand JCheckBox . instance JCheckBox . cast JComboBox . getSelectedItem
respond to an action event from one of the gui components in the applet
ActionEvent . getSource JButton . instance JTextField . instance ActionEvent . getActionCommand JCheckBox . instance JCheckBox . cast JComboBox . instance JComboBox . getSelectedItem
respond to an action event from one of the gui components in the applet
ActionEvent . getSource JButton . instance JTextField . instance ActionEvent . getActionCommand JCheckBox . instance JCheckBox . isSelected JCheckBox . cast JComboBox . instance JComboBox . getSelectedItem
handle button push events
ActionEvent . getSource JButton . instance Object . equals String . cast Thread . <init> Thread . start String . cast JTextField . <init> JPasswordField . <init> JOptionPane . <init> JDialog . <init> JOptionPane . addPropertyChangeListener PropertyChangeEvent . getPropertyName PropertyChangeEvent . getSource String . equals JOptionPane . getValue JOptionPane . setValue Object . equals JTextField . getText String . <init> JDialog . setVisible JDialog . dispose Object . equals JDialog . setVisible JDialog . dispose JDialog . pack JDialog . getPreferredSize JDialog . setSize JDialog . setVisible
process a button push event
ActionEvent . getSource JButton . instance String . cast JTextField . getText String . <init> String . equals Object . equals
handle the button push events
ActionEvent . getSource JButton . instance Thread . <init> Thread . run JCheckBox . isSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . instance JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance Thread . <init> Thread . run JCheckBox . isSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance Thread . <init> Thread . run JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance Thread . <init> Thread . run Object . equals JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . instance JRadioButton . isSelected JCheckBox . setEnabled JCheckBox . setSelected JRadioButton . isSelected JCheckBox . setSelected JCheckBox . setEnabled
handle the button push events
ActionEvent . getSource JButton . instance Thread . <init> Thread . run Object . equals 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
activate or <unk> a logger if a log checkbox has been checked by the user
ActionEvent . getSource JButton . instance
invoke when an action occurs
ActionEvent . getSource JButton . requestFocusInWindow JButton . doClick
uus event handlers
ActionEvent . getSource JButton . setEnabled JFormattedTextField . setEditable JTextField . setEditable JTextField . getText Number . cast Number . intValue JFormattedTextField . getValue Number . intValue Thread . <init> Thread . start JFileChooser . showDialog JFileChooser . getSelectedFile File . toURI File . getName String . indexOf String . substring File . getParentFile File . getPath JTextField . setText JFileChooser . showDialog JFileChooser . getSelectedFile JTextField . setText URL . toExternalForm
uus event handlers
ActionEvent . getSource JButton . setEnabled JFormattedTextField . setEditable Thread . <init> Thread . start JFileChooser . showDialog JFileChooser . getSelectedFile File . toURI JFileChooser . showDialog JFileChooser . getSelectedFile File . toURI JTextField . setText
j frame action performed handler
ActionEvent . getSource JButton . setEnabled JLabel . setText Message . <init>
action listener method
ActionEvent . getSource JButton . setEnabled JTextField . requestFocus ActionEvent . getSource JOptionPane . showMessageDialog JButton . setEnabled JOptionPane . showMessageDialog ActionEvent . getSource System . exit
run on gui button click
ActionEvent . getSource JButton . setEnabled Thread . <init> Thread . start ActionEvent . getSource System . exit
run on gui button click
ActionEvent . getSource JButton . setEnabled Thread . <init> Thread . start JButton . setEnabled Vector . get ActionEvent . getSource System . exit
run on gui button click
ActionEvent . getSource JButton . setEnabled Thread . <init> Thread . start System . exit
run on gui button click
ActionEvent . getSource JButton . setEnabled Thread . <init> Thread . start Vector . get ActionEvent . getSource JButton . setEnabled Vector . get ActionEvent . getSource System . exit
a action event has been dispatched
ActionEvent . getSource JButton . setEnabled
when action happens
ActionEvent . getSource JButton . setEnabled
set variable that will tell client handle what button was pushed
ActionEvent . getSource JButton . setText JButton . cast ActionEvent . getSource JButton . cast JButton . setText JButton . setEnabled
set variable that will tell client handle what button was pushed
ActionEvent . getSource JButton . setText JButton . cast ActionEvent . getSource JButton . setText JButton . cast JButton . setEnabled
invoke when an action occurs
ActionEvent . getSource JButton . setText Resource . getString JButton . setText ActionEvent . getSource JButton . setText ActionEvent . getSource JButton . setText Resource . getString JButton . setText ActionEvent . getSource JCheckBox . isSelected
call whenever the start pause continue button is pressed
ActionEvent . getSource JButton . setText
invoke when an action occurs
ActionEvent . getSource JButton . setVisible JPanel . invalidate JPanel . validate JPanel . repaint String . cast JLabel . setText JLabel . setToolTipText JPanel . setVisible ActionEvent . getSource JButton . setVisible JPanel . invalidate JPanel . validate JPanel . repaint JLabel . setText JLabel . setToolTipText JPanel . setVisible
call the appropriate methods when the buttons are pressed
ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected JOptionPane . showMessageDialog JCheckBox . setSelected ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected JOptionPane . showMessageDialog JCheckBox . setSelected ActionEvent . getSource
<unk> to action event fired by a j check box
ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected
when the <unk> checkbox is selected this method sets its text to red
ActionEvent . getSource JCheckBox . cast JCheckBox . setForeground
call the appropriate methods when the buttons are pressed
ActionEvent . getSource JCheckBox . cast JOptionPane . showMessageDialog JCheckBox . setSelected ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected JOptionPane . showMessageDialog JCheckBox . setSelected ActionEvent . getSource
call the appropriate methods when the buttons are pressed
ActionEvent . getSource JCheckBox . cast JOptionPane . showMessageDialog JCheckBox . setSelected ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected JOptionPane . showMessageDialog JCheckBox . setSelected
j button quit event handler quit the program
ActionEvent . getSource JCheckBox . cast
handle actions on the <unk> checkbox saving data back to m <unk>
ActionEvent . getSource JCheckBox . instance ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected
do what must be done
ActionEvent . getSource JCheckBox . instance JCheckBox . cast Integer . instance JSpinner . setVisible Integer . intValue JSpinner . getValue JSpinner . setVisible
select <unk> the noise reduction algorithm
ActionEvent . getSource JCheckBox . instance JCheckBox . cast
select <unk> the noise reduction code algorithm
ActionEvent . getSource JCheckBox . instance JCheckBox . cast
add or removes the contrast <unk> <unk> transformations to the <unk> chain
ActionEvent . getSource JCheckBox . instance
add or removes the contrast <unk> code <unk> transformations to the <unk> chain
ActionEvent . getSource JCheckBox . instance