docstring
stringlengths 3
2.38k
| code
stringlengths 9
99.4k
|
|---|---|
overloaded <unk> , returns to the main game when back is pressed
|
ActionEvent . getActionCommand String . <init>
|
set a string , so it can then be accessed from outside the class
|
ActionEvent . getActionCommand String . <init>
|
forwards the event to the focus owner
|
ActionEvent . getActionCommand String . cast Action . actionPerformed ActionEvent . <init>
|
call when an action event is fired
|
ActionEvent . getActionCommand String . cast ActionEvent . getActionCommand String . <init> JDialog . dispose JLabel . setVisible JPasswordField . setText ActionEvent . getActionCommand JDialog . dispose ActionEvent . getActionCommand JDialog . dispose JButton . setEnabled String . cast ActionEvent . getActionCommand String . <init> String . equals JComboBox . removeItem JComboBox . setSelectedIndex JDialog . dispose JLabel . setVisible JPasswordField . setText ActionEvent . getActionCommand JDialog . dispose ActionEvent . getActionCommand System . exit ActionEvent . getActionCommand JComboBox . getEditor ActionEvent . getActionCommand
|
listener used as a controller
|
ActionEvent . getActionCommand String . cast ActionEvent . getActionCommand Thread . <init> Thread . start
|
handle all popup menu commands
|
ActionEvent . getActionCommand String . cast Element . getAttribute Element . getChildNodes NodeList . getLength NodeList . item Element . cast Element . getTagName DOMUtil . createChild Element . getChildNodes NodeList . getLength NodeList . item Element . cast Element . getTagName DOMUtil . createChild Element . setAttribute DOMUtil . createChild Element . setAttribute DOMUtil . createChild Element . setAttribute DOMUtil . createChild Element . setAttribute DefaultListModel . addElement DefaultListModel . getSize String . cast DOMUtil . <unk> DOMUtil . getChildElements Element . getAttribute Element . cast Element . getAttribute String . cast Node . cast Element . removeChild Element . getChildNodes NodeList . getLength Node . cast Element . removeChild Node . cast DOMUtil . findElement Element . getAttribute Element . getChildNodes NodeList . getLength Element . cast Element . getChildNodes NodeList . getLength Element . cast Element . getTagName Element . getAttribute Node . cast Element . removeChild NodeList . getLength Element . removeChild DefaultListModel . removeElementAt DefaultListModel . size JOptionPane . showMessageDialog
|
action event listener for the combo box
|
ActionEvent . getActionCommand String . cast JButton . setEnabled Task . <init> Task . execute JProgressBar . setIndeterminate
|
perform the action based on which action command is passed from a button on each tab
|
ActionEvent . getActionCommand String . cast JComboBox . getModel String . cast JComboBox . getModel String . cast JComboBox . getModel String . cast JComboBox . getModel Integer . parseInt JOptionPane . showMessageDialog Request . <init> Request . <unk> Request . setDate Request . setTime Request . <unk> Response . <unk> JOptionPane . showMessageDialog Response . <unk> JOptionPane . showMessageDialog String . equals Request . <init> String . cast JComboBox . getModel String . equals JOptionPane . showMessageDialog String . split Integer . parseInt String . cast Integer . parseInt JSpinner . getModel Request . <unk> Request . setDate Request . setTime Request . <unk> Request . <unk> JComboBox . setModel JComboBox . validate JComboBox . repaint Response . <unk> JOptionPane . showMessageDialog Request . <init> String . cast JComboBox . getModel String . cast JOptionPane . showMessageDialog String . split Integer . parseInt Request . <unk> Request . setDate Request . setTime Request . <unk> JComboBox . setModel JComboBox . validate JComboBox . repaint Response . <unk> JOptionPane . showMessageDialog String . equals Request . <init> Response . <unk> Response . getResponse JTextArea . setText Response . <unk> JOptionPane . showMessageDialog
|
a implemented action listener which performs all needed actions when a j button is clicked
|
ActionEvent . getActionCommand String . cast JFormattedTextField . commitEdit JFormattedTextField . getValue Number . cast Number . intValue JFormattedTextField . getValue Number . cast String . equals Number . intValue String . equals Number . intValue Messages . getString String . equals JComboBox < String > . getSelectedItem String . cast String . equals Messages . getString String . equals Number . cast Number . intValue Number . cast Number . intValue Number . cast Number . intValue Number . cast JCheckBox . isSelected Renderer . getInstance Renderer . <unk> JList < Event > . getSelectedValue Event . cast Messages . getString JList < Event > . getSelectedIndex DefaultListModel < Event > . remove Renderer . getInstance Renderer . <unk>
|
invoke when the user presses the close button
|
ActionEvent . getActionCommand String . cast JFrame . dispose JFrame . getSize JScrollPane . setVisible Dimension . getWidth Dimension . getHeight JFrame . setSize JButton . setText JScrollPane . setVisible Dimension . getHeight JFrame . setSize JButton . setText
|
invoke when the user presses the close button
|
ActionEvent . getActionCommand String . cast JFrame . dispose
|
metodo <unk> de la <unk> action listener
|
ActionEvent . getActionCommand String . cast JOptionPane . showConfirmDialog System . exit JTextArea . <init> FileReader . <init> BufferedReader . <init> BufferedReader . readLine JTextArea . append BufferedReader . readLine BufferedReader . close JTextArea . setSize JScrollPane . <init> JPanel . <init> JPanel . setLayout JPanel . add JFrame . <init> JOptionPane . showMessageDialog
|
metodo <unk> de la <unk> action listener
|
ActionEvent . getActionCommand String . cast JOptionPane . showConfirmDialog System . exit JTextArea . <init> FileReader . <init> BufferedReader . <init> BufferedReader . readLine JTextArea . append BufferedReader . readLine BufferedReader . close JTextArea . setSize JScrollPane . <init> JPanel . <init> JPanel . setLayout JPanel . add JOptionPane . showMessageDialog
|
when clicked by a mouse
|
ActionEvent . getActionCommand String . cast String . equals JTextField . getText JTextField . setText JTextField . getText JTextField . setText Arrays . binarySearch JTextField . setText JTextField . getText JTextField . setText Arrays . binarySearch JTextField . setText JTextField . getText Double . parseDouble
|
handle the ok button to close hide message window
|
ActionEvent . getActionCommand String . cast String . equals
|
call when some dialog button was pressed
|
ActionEvent . getActionCommand String . cast String . trim Document . search Dialog . setVisible
|
this is for the <unk> bar action , to add new player to the game
|
ActionEvent . getActionCommand String . cast String . trim JOptionPane . showMessageDialog ActionEvent . getActionCommand File . <init> File . listFiles String . length String . substring String . equals String . length String . substring
|
when an action is performed on a button this method reads the action command string and uses it to work out where the human player has selected to move
|
ActionEvent . getActionCommand String . charAt Character . <init> Character . toString Integer . parseInt String . charAt Character . <init> Character . toString Integer . parseInt
|
invoke when an action occurs
|
ActionEvent . getActionCommand String . endsWith DefaultListModel . cast DefaultListModel . addElement JList . getModel DefaultListModel . cast LinkedList < String > . <init> JList . isSelectedIndex DefaultListModel . getElementAt String . cast LinkedList < String > . add DefaultListModel . clear DefaultListModel . addElement
|
listener for the rounding menu
|
ActionEvent . getActionCommand String . endsWith Integer . parseInt ActionEvent . toString String . endsWith String . substring Integer . parseInt ActionEvent . toString
|
listen to action events fired by the <unk> month view
|
ActionEvent . getActionCommand String . equals ActionEvent . getActionCommand
|
handle actions as an action listener
|
ActionEvent . getActionCommand String . equals ActionEvent . getSource JComboBox . cast
|
action listener interface
|
ActionEvent . getActionCommand String . equals ActionEvent . getSource JRadioButtonMenuItem . cast JRadioButtonMenuItem . getName
|
handle user actions generated within the panel
|
ActionEvent . getActionCommand String . equals ActionEvent . getSource
|
process the field selection
|
ActionEvent . getActionCommand String . equals ArrayList . <init> JDialog . setVisible
|
process the field selection
|
ActionEvent . getActionCommand String . equals ArrayList . <init> String . equals JDialog . setVisible
|
process the field unique selection
|
ActionEvent . getActionCommand String . equals ArrayList . <init> String . equals JDialog . setVisible
|
coordinate all of the actions for the various buttons used
|
ActionEvent . getActionCommand String . equals ArrayList . contains ArrayList . add String . equals System . getProperty JFileChooser . <init> JFileChooser . showSaveDialog JFileChooser . getSelectedFile FileOutputStream . <init> ObjectOutputStream . <init> ObjectOutputStream . writeObject ObjectOutputStream . close String . equals System . getProperty JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . canRead JFileChooser . toString ObjectInputStream . <init> ObjectInputStream . close System . exit
|
reaction to buttons and combo boxes
|
ActionEvent . getActionCommand String . equals Class . forName Class . newInstance ActionEvent . getSource JComboBox . cast JComboBox . getSelectedItem JButton . setEnabled
|
handle button press events
|
ActionEvent . getActionCommand String . equals 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 . repaint JScrollPane . validate DefaultListModel . addElement JComponent . getGraphics JComponent . paint Graphics . dispose JList . repaint JScrollPane . validate DefaultListModel . getSize JOptionPane . showMessageDialog
|
call when a button is pressed
|
ActionEvent . getActionCommand String . equals DefaultListModel . getSize String . cast DefaultListModel . addElement JList . getSelectedIndex DefaultListModel . removeElementAt JList . setSelectedIndex DefaultListModel . size JList . setSelectedIndex JList . getSelectedIndex DefaultListModel . getElementAt DefaultListModel . removeElementAt DefaultListModel . insertElementAt JList . setSelectedIndex String . equals JList . getSelectedIndex DefaultListModel . getElementAt DefaultListModel . removeElementAt DefaultListModel . insertElementAt JList . setSelectedIndex String . equals JPopupMenu . <init> JMenuItem . <init> JMenuItem . setMnemonic JMenuItem . setActionCommand JMenuItem . addActionListener JPopupMenu . add JMenuItem . <init> JMenuItem . setMnemonic JMenuItem . setActionCommand JMenuItem . addActionListener JPopupMenu . add JButton . cast JButton . getWidth JPopupMenu . show DefaultListModel . size Vector . <init> Vector . add Math . pow JCheckBox . isSelected String . equals
|
action to perform
|
ActionEvent . getActionCommand String . equals Entity . getDisplayName String . trim Entity . setDisplayName Entity . <unk> Entity . <unk> Entity . <unk> Toolkit . getDefaultToolkit MediaTracker . <init> MediaTracker . addImage MediaTracker . waitForAll Image . getSource Toolkit . getDefaultToolkit MediaTracker . <init> MediaTracker . addImage MediaTracker . waitForAll Entity . setImage String . substring Entity . <unk> Entity . <unk>
|
perform an action based on the button clicked
|
ActionEvent . getActionCommand String . equals File . <init> Scanner . <init> Scanner . hasNextLine Scanner . nextLine JTextArea . <init> JTextArea . setRows JTextArea . setColumns JTextArea . setLineWrap JTextArea . setEditable JScrollPane . <init> JOptionPane . showMessageDialog String . equals JOptionPane . showMessageDialog String . equals
|
perform an action based on the button clicked
|
ActionEvent . getActionCommand String . equals File . <init> Scanner . <init> Scanner . hasNextLine Scanner . nextLine JTextArea . <init> JTextArea . setRows JTextArea . setColumns JTextArea . setLineWrap JTextArea . setEditable JScrollPane . <init> JOptionPane . showMessageDialog String . equals
|
call the action methods in the menu based on what action have been <unk>
|
ActionEvent . getActionCommand String . equals File . getAbsolutePath JFileChooser . <init> JFileChooser . showOpenDialog String . equals System . exit
|
handle button clicks
|
ActionEvent . getActionCommand String . equals FileDialog . <init> FileDialog . setDirectory FileDialog . show FileDialog . getDirectory FileDialog . dispose String . equals
|
handle button clicks
|
ActionEvent . getActionCommand String . equals FileDialog . <init> FileDialog . setDirectory FileDialog . show FileDialog . getDirectory FileDialog . getFile FileDialog . dispose
|
map actions to the functions that handle them
|
ActionEvent . getActionCommand String . equals FileDialog . <init> FileDialog . setFilenameFilter FileDialog . setVisible FileDialog . getDirectory FileDialog . getFile JOptionPane . showMessageDialog String . equals
|
handle events from the editor button and from the dialogs ok button
|
ActionEvent . getActionCommand String . equals ImageIcon . <init>
|
invoke when an action occurs
|
ActionEvent . getActionCommand String . equals InetAddress . getByName InetAddress . getCanonicalHostName NetworkInterface . getNetworkInterfaces NetworkInterface . cast NetworkInterface . getInetAddresses Enumeration . nextElement InetAddress . cast InetAddress . getCanonicalHostName
|
description of the method
|
ActionEvent . getActionCommand String . equals Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose String . equals JDialog . dispose JToggleButton . setSelected String . equals JToggleButton . setSelected
|
description of the method
|
ActionEvent . getActionCommand String . equals Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose String . equals JDialog . dispose String . equals JDialog . dispose JToggleButton . setSelected String . equals JToggleButton . setSelected
|
description of the method
|
ActionEvent . getActionCommand String . equals Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose String . equals JDialog . dispose JToggleButton . setSelected String . equals JToggleButton . setSelected
|
description of the method
|
ActionEvent . getActionCommand String . equals Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose JToggleButton . setSelected
|
description of the method
|
ActionEvent . getActionCommand String . equals 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 JTextField . getText Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose String . equals JToggleButton . setSelected
|
analyze an event and calls the right external methods to take care of the users request
|
ActionEvent . getActionCommand String . equals Integer . intValue JSpinner . getValue
|
action listener
|
ActionEvent . getActionCommand String . equals Integer . notifyAll String . equals Integer . notifyAll
|
deal with buttons event
|
ActionEvent . getActionCommand String . equals Integer . parseInt Engine . getInstance Engine . <unk> JTextField . getText Integer . parseInt Engine . getInstance JTextField . getText Integer . parseInt Engine . <unk> JTextField . getText Engine . getInstance String . equals
|
a action has been performed
|
ActionEvent . getActionCommand String . equals Integer . parseInt
|
logic logic methods
|
ActionEvent . getActionCommand String . equals Integer . valueOf JTextField . getText Integer . valueOf Point . getDescription JLabel . setText String . equals Integer . valueOf JLabel . setText
|
listen for events from dialog widget interaction
|
ActionEvent . getActionCommand String . equals JButton . getActionCommand ActionEvent . getSource JButton . getActionCommand
|
handle user actions
|
ActionEvent . getActionCommand String . equals JButton . setEnabled JComboBox . setEnabled JButton . setEnabled HashMap < String > . values JButton . setEnabled String . equals JButton . setEnabled HashMap < String > . values JComboBox . setEnabled JButton . setEnabled String . equals ActionEvent . getSource JButton . cast JButton . getName
|
action of this dialog
|
ActionEvent . getActionCommand String . equals JButton . setEnabled String . equals File . <init> File . exists File . isDirectory File . getParentFile String . length File . <init> File . exists File . getParentFile JFileChooser . <init> FileFilter . <init> JFileChooser . setFileFilter File . isDirectory File . getName String . lastIndexOf String . length String . equals JFileChooser . showOpenDialog String . equals String . length File . <init> File . exists File . getParentFile String . length File . <init> File . exists File . getParentFile JFileChooser . <init> FileFilter . <init> JFileChooser . setFileFilter File . isDirectory File . getName String . lastIndexOf String . length JFileChooser . showOpenDialog
|
action of this dialog
|
ActionEvent . getActionCommand String . equals JButton . setEnabled Util . <unk> File . <init> File . getParentFile File . <init> File . isDirectory File . getParentFile JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile String . length File . <init> File . exists File . getParentFile String . length File . <init> File . isDirectory File . getParentFile JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile
|
listen to the buttons
|
ActionEvent . getActionCommand String . equals JButton . setText String . equals JCheckBox . cast JCheckBox . isSelected JButton . setEnabled JCheckBox . cast JCheckBox . isSelected JButton . setEnabled JCheckBox . cast JCheckBox . isSelected JButton . setEnabled String . equals JFileChooser . <init> JFileChooser . showOpenDialog JLabel . setText
|
listen to the buttons
|
ActionEvent . getActionCommand String . equals JButton . setText String . equals JCheckBox . cast JCheckBox . isSelected JButton . setEnabled String . equals ActionEvent . getSource JCheckBox . cast JCheckBox . isSelected JButton . setEnabled String . equals JCheckBox . cast JCheckBox . isSelected JButton . setEnabled JFileChooser . <init> JFileChooser . showOpenDialog JFileChooser . getSelectedFile JLabel . setText
|
handle button clicks by passing control to an appropriate handler method
|
ActionEvent . getActionCommand String . equals JCheckBox . isSelected
|
perform the action based on which action command is passed from a button on each tab
|
ActionEvent . getActionCommand String . equals JComboBox . getModel String . cast JComboBox . getModel String . cast JComboBox . getModel Integer . parseInt JOptionPane . showMessageDialog Request . <init> Request . <unk> Request . setDate Request . setTime Request . <unk> JOptionPane . showMessageDialog Response . <unk> JOptionPane . showMessageDialog Request . <init> JComboBox . getModel String . cast JOptionPane . showMessageDialog String . split Integer . parseInt String . cast Integer . parseInt Request . <unk> Request . setDate Request . setTime Request . <unk> Request . <unk> JComboBox . setModel JComboBox . validate JComboBox . repaint Response . <unk> JOptionPane . showMessageDialog Request . <init> JComboBox . getModel String . cast JOptionPane . showMessageDialog String . split Integer . parseInt Request . <unk> Request . setDate Request . setTime Request . <unk> DefaultComboBoxModel . <init> JComboBox . setModel JComboBox . validate JComboBox . repaint JOptionPane . showMessageDialog Response . <unk> JOptionPane . showMessageDialog String . equals Request . <init> Response . <unk> Response . getResponse JTextArea . setText JOptionPane . showMessageDialog
|
action performed is called when the save button is pressed
|
ActionEvent . getActionCommand String . equals JComboBox . getSelectedItem JTextArea . getText String . <init> JTextArea . getText Integer . <init> String . equals Boolean . <init> String . equals JTextArea . getText Float . <init> Double . <init> String . equals JTextArea . getText JComboBox . getSelectedItem DefaultMutableTreeNode . getPath DefaultMutableTreeNode . getUserObject DefaultMutableTreeNode . cast DefaultMutableTreeNode . getUserObject JComboBox . getSelectedItem DefaultMutableTreeNode . cast
|
listener for actions on dialog to allow interactive elements such as buttons to be used on button panel
|
ActionEvent . getActionCommand String . equals JComboBox . getSelectedItem String . cast JComboBox . getSelectedItem String . cast JTextField . getText JOptionPane . showMessageDialog DefaultListModel . add String . cast JComboBox . getSelectedItem String . cast JOptionPane . showMessageDialog JTextField . getText DefaultListModel . add DefaultListModel . size JOptionPane . showMessageDialog DefaultListModel . remove DefaultListModel . size JOptionPane . showMessageDialog DefaultListModel . remove DefaultListModel . size JOptionPane . showMessageDialog String . equals
|
action listener
|
ActionEvent . getActionCommand String . equals JComponent . cast String . equals ActionEvent . getSource JComponent . cast JComponent . getName ActionEvent . getSource JComponent . cast JComponent . getName String . equals ActionEvent . getSource Component . cast Component . getName Integer . parseInt ActionEvent . getSource Component . cast Component . getName Integer . parseInt String . equals Component . getName ActionEvent . getSource Integer . parseInt String . equals ActionEvent . getSource Component . cast Component . getName Integer . parseInt String . equals Component . getName ActionEvent . getSource Component . getName Integer . parseInt String . equals
|
respond to any events thrown by this panels buttons
|
ActionEvent . getActionCommand String . equals JDialog . getOwner Vector . <init> Vector . add String . equals JFileChooser . <init> JFileChooser . setFileSelectionMode JFileChooser . setDialogTitle JFileChooser . rescanCurrentDirectory JFileChooser . setAcceptAllFileFilterUsed JFileChooser . showDialog JDialog . getOwner JFileChooser . getSelectedFile JTextField . getText File . <init>
|
call whenever an action occurs in this dialog
|
ActionEvent . getActionCommand String . equals JDialog . setVisible
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> File . <init> JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JFileChooser . getSelectedFile String . equals DefaultListModel . addElement JList . getModel DefaultListModel . cast JList . getSelectedValue JList . repaint String . equals JList . getSelectedIndex JList . getModel DefaultListModel . removeElementAt DefaultListModel . cast String . equals JList . getModel DefaultListModel . clear DefaultListModel . cast
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> File . <init> JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JList . getModel DefaultListModel . addElement DefaultListModel . cast JList . getSelectedValue JList . repaint JList . getSelectedIndex DefaultListModel . cast DefaultListModel . removeElementAt String . equals JList . getModel DefaultListModel . cast DefaultListModel . clear
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . setCurrentDirectory System . getProperty JFileChooser . showOpenDialog DefaultListModel . cast DefaultListModel . addElement DefaultListModel . cast JList . getSelectedValue JList . repaint String . equals JList . getModel DefaultListModel . removeElementAt DefaultListModel . cast String . equals DefaultListModel . cast DefaultListModel . clear DefaultListModel . cast
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . setCurrentDirectory System . getProperty JFileChooser . showOpenDialog JFileChooser . getSelectedFile DefaultListModel . addElement DefaultListModel . cast String . equals JList . repaint String . equals DefaultListModel . removeElementAt JList . getSelectedIndex JList . getModel DefaultListModel . cast DefaultListModel . clear JList . getModel DefaultListModel . cast
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . setCurrentDirectory System . getProperty JFileChooser . showOpenDialog JFileChooser . getSelectedFile String . equals DefaultListModel . addElement JList . getModel DefaultListModel . cast JList . getSelectedValue JList . repaint JList . getSelectedIndex JList . getModel DefaultListModel . removeElementAt JList . getModel DefaultListModel . cast String . equals DefaultListModel . clear JList . getModel DefaultListModel . cast
|
reaction to browse button and changes in type list selection
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . setFileFilter JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JTextField . setText JFileChooser . getCurrentDirectory JComboBox . getSelectedIndex JPanel . setVisible
|
reaction to browse button and changes in type list selection
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> JFileChooser . setFileFilter JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JTextField . setText JFileChooser . getSelectedFile JTextField . setText JFileChooser . getCurrentDirectory String . equals JComboBox . getSelectedIndex JPanel . setVisible
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> System . getProperty File . <init> JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog DefaultListModel . cast DefaultListModel . addElement DefaultListModel . cast String . equals JList . getSelectedValue JList . repaint String . equals DefaultListModel . removeElementAt JList . getSelectedIndex JList . getModel DefaultListModel . cast String . equals DefaultListModel . cast DefaultListModel . clear DefaultListModel . cast
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> System . getProperty JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JFileChooser . getSelectedFile JList . getModel DefaultListModel . cast DefaultListModel . addElement JList . getSelectedValue JList . repaint String . equals JList . getSelectedIndex DefaultListModel . removeElementAt JList . getModel DefaultListModel . cast String . equals DefaultListModel . cast DefaultListModel . clear DefaultListModel . cast
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> System . getProperty JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JFileChooser . getSelectedFile String . equals DefaultListModel . cast DefaultListModel . addElement JList . repaint DefaultListModel . removeElementAt JList . getModel DefaultListModel . cast JList . getModel DefaultListModel . cast DefaultListModel . clear
|
handle the button click to select a file to upload
|
ActionEvent . getActionCommand String . equals JFileChooser . <init> System . getProperty JFileChooser . setCurrentDirectory JFileChooser . showOpenDialog JFileChooser . getSelectedFile String . equals JList . getModel DefaultListModel . addElement DefaultListModel . cast String . equals JList . repaint String . equals JList . getSelectedIndex JList . getModel DefaultListModel . removeElementAt DefaultListModel . cast String . equals JList . getModel DefaultListModel . clear DefaultListModel . cast
|
this function analyses an event and calls the right methods to take care of the users requests
|
ActionEvent . getActionCommand String . equals JFileChooser . cast JFileChooser . getSelectedFile JFileChooser . getClientProperty String . cast File . getAbsolutePath File . <init>
|
this function analyses an event and calls the right methods to take care of the users requests
|
ActionEvent . getActionCommand String . equals JFileChooser . cast JFileChooser . getSelectedFile String . cast File . getName File . getAbsolutePath File . <init>
|
handle event calls for the user interaction with swing components
|
ActionEvent . getActionCommand String . equals JFileChooser . showOpenDialog JTextField . setText JTextField . getText JFileChooser . showOpenDialog JFileChooser . getSelectedFile JTextField . setText JTextField . getText
|
listener for actions from menu bar , to allow operations to be run when menu items are clicked
|
ActionEvent . getActionCommand String . equals JFrame . <init> JOptionPane . showMessageDialog JOptionPane . showInputDialog JFrame . <init> JOptionPane . showMessageDialog JOptionPane . showConfirmDialog JFrame . <init> JOptionPane . showMessageDialog String . equals JFileChooser . setFileSelectionMode FileNameExtensionFilter . <init> JFileChooser . addChoosableFileFilter JFileChooser . setSelectedFile Format . format JFileChooser . setSelectedFile JFileChooser . showSaveDialog JOptionPane . showMessageDialog JFileChooser . setFileSelectionMode FileNameExtensionFilter . <init> JFileChooser . addChoosableFileFilter JFileChooser . showOpenDialog JFrame . <init> JOptionPane . showMessageDialog JOptionPane . showConfirmDialog System . exit String . equals JFrame . <init> JOptionPane . showMessageDialog JFileChooser . setFileSelectionMode FileNameExtensionFilter . <init> JFileChooser . addChoosableFileFilter File . <init> JFileChooser . setSelectedFile JFileChooser . showSaveDialog JOptionPane . showConfirmDialog JFileChooser . getSelectedFile JOptionPane . showMessageDialog String . equals JOptionPane . showMessageDialog
|
respond to button presses
|
ActionEvent . getActionCommand String . equals JFrame . dispose String . equals JTextField . getText Tree . <unk> JTextArea . setText Tree . <unk> JFrame . getContentPane JFrame . setVisible DecimalFormat . <init> JTextArea . setText Tree . <unk> Tree . <unk> JTextArea . setText StringBuilder . length StringBuilder . delete
|
respond to a button click by showing a dialog and setting the message label to describe the users response
|
ActionEvent . getActionCommand String . equals JLabel . setText JOptionPane . showMessageDialog JLabel . setText String . equals JLabel . setText JOptionPane . showConfirmDialog JLabel . setText String . equals JLabel . setText JOptionPane . showInputDialog JLabel . setText JColorChooser . showDialog JLabel . setText Color . getRed Color . getGreen Color . getBlue JLabel . setText
|
method action performed
|
ActionEvent . getActionCommand String . equals JLabel . setText
|
invoke whenever one of the transfer buttons is clicked
|
ActionEvent . getActionCommand String . equals JList . getSelectedIndices JList . getSelectedValues String . equals JList . getSelectedIndices JList . getSelectedValues String . equals
|
respond to user inputs by adding or deleting passwords
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog DefaultListModel < String > . addElement JComboBox < String > . getSelectedIndex DefaultListModel < String > . addElement JTextField . setText ActionEvent . getActionCommand JList < String > . getSelectedValue String . substring JOptionPane . showMessageDialog JList < String > . getSelectedIndex DefaultListModel < String > . removeElementAt String . substring
|
respond to user inputs by adding or deleting passwords
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog DefaultListModel < String > . addElement JComboBox < String > . getSelectedIndex JTextField . setText ActionEvent . getActionCommand JList < String > . getSelectedValue JOptionPane . showMessageDialog DefaultListModel < String > . removeElementAt String . substring
|
respond to user inputs by adding or deleting passwords
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog JComboBox < String > . getSelectedIndex DefaultListModel < String > . addElement JTextField . setText ActionEvent . getActionCommand JList < String > . getSelectedIndex JList < String > . getSelectedValue String . substring JOptionPane . showMessageDialog DefaultListModel < String > . removeElementAt
|
respond to user inputs by adding or deleting passwords
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog JComboBox < String > . getSelectedIndex DefaultListModel < String > . addElement JTextField . setText ActionEvent . getActionCommand JList < String > . getSelectedIndex JList < String > . getSelectedValue String . substring JOptionPane . showMessageDialog JList < String > . getSelectedIndex DefaultListModel < String > . removeElementAt
|
listener for actions on panel to allow interactive components such as buttons to be used
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog JOptionPane . showInputDialog String . equals JOptionPane . showInputDialog JOptionPane . showMessageDialog String . equals JFileChooser . setFileSelectionMode FileNameExtensionFilter . <init> JFileChooser . addChoosableFileFilter Format . format JFileChooser . setSelectedFile JFileChooser . showSaveDialog JFileChooser . getSelectedFile JFrame . <init> JOptionPane . showMessageDialog String . equals JFileChooser . setFileSelectionMode FileNameExtensionFilter . <init> JFileChooser . addChoosableFileFilter JFileChooser . showOpenDialog JFileChooser . getSelectedFile JFrame . <init> JOptionPane . showMessageDialog JFrame . <init> JOptionPane . showMessageDialog JFrame . <init> JOptionPane . showMessageDialog JFrame . <init> JOptionPane . showMessageDialog String . equals ArrayList . size JOptionPane . showMessageDialog JFileChooser . setFileSelectionMode JFileChooser . showSaveDialog JOptionPane . showConfirmDialog JFileChooser . getSelectedFile JOptionPane . showMessageDialog JFrame . <init> JOptionPane . showMessageDialog String . equals JOptionPane . showConfirmDialog System . exit
|
handle button presses
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog JTextField . getText JOptionPane . showMessageDialog System . getProperty PrintWriter . <init> PrintWriter . println JCheckBox . isSelected PrintWriter . println JCheckBox . isSelected PrintWriter . println JSpinner . getValue Integer . cast JSpinner . getValue PrintWriter . println JComboBox . getSelectedItem PrintWriter . println PrintWriter . close String . equals
|
implement the action listener interface
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog Thread . start Thread . isAlive JOptionPane . showMessageDialog String . equals Thread . isAlive Thread . interrupt
|
implement the action listener interface
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog Thread . start Thread . isAlive JOptionPane . showMessageDialog Thread . isAlive Thread . interrupt
|
handle events from the editor button and from the dialogs ok button
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog
|
invoke when an action occurs
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog
|
override the action performed action event <unk> method in the action listener interface
|
ActionEvent . getActionCommand String . equals JOptionPane . showMessageDialog
|
handle the two buttons in the east panel
|
ActionEvent . getActionCommand String . equals JPanel . setBackground String . equals
|
description of the method
|
ActionEvent . getActionCommand String . equals JTable . <unk> JTable . <unk> JTable . getCellEditor TableCellEditor . cancelCellEditing JTable . getSelectedRow JButton . setEnabled JTable . setRowSelectionInterval String . equals JTable . <unk> JTable . getCellEditor TableCellEditor . stopCellEditing JButton . isEnabled JButton . setEnabled JTable . setRowSelectionInterval String . equals JFileChooser . getSelectedFile CookieManager . <init> File . getAbsolutePath CookieManager . <unk> CookieManager . get JButton . setEnabled String . equals JFileChooser . getSelectedFile CookieManager . save File . getAbsolutePath CookieManager . cast
|
invoke when an action occurs
|
ActionEvent . getActionCommand String . equals JTable . getModel TableColumnModel . cast TableColumnModel . <unk> JTable . getSelectedRows TableColumnModel . cast ArrayList . <init> TableColumnModel . isCellEditable ArrayList . add TableColumnModel . getColumns ArrayList . add Message . <init> ArrayList . size TableColumnModel . cast TableColumnModel . removeRow
|
invoke when an action occurs
|
ActionEvent . getActionCommand String . equals JTable . isEditing ActionEvent . getActionCommand JTable . isEditing JOptionPane . showConfirmDialog String . equals JTable . isEditing JTable . getCellEditor JTable . getModel JTable . requestFocus JTable . getRowHeight JTable . scrollRectToVisible ActionEvent . getActionCommand JTable . isEditing JTable . getSelectedRow JTable . getModel JTable . requestFocus JTable . getSelectionModel JTable . getRowHeight Rectangle . <init> JTable . scrollRectToVisible
|
handle j text field changes
|
ActionEvent . getActionCommand String . equals JTextField . getText Float . valueOf JTextField . setText JCheckBox . requestFocus JTextField . setText JTextField . getText JTextField . setText JCheckBox . requestFocus JTextField . setText
|
description of the method
|
ActionEvent . getActionCommand String . equals 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 JTextField . getText Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose String . equals JDialog . dispose String . equals JDialog . dispose String . equals JToggleButton . setSelected String . equals JToggleButton . setSelected
|
description of the method
|
ActionEvent . getActionCommand String . equals JTextField . getText Integer . <init> Integer . intValue JTextField . getText Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue Integer . <init> Integer . intValue GregorianCalendar . <init> Calendar . getTime JDialog . dispose String . equals JDialog . dispose JToggleButton . setSelected
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.