docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
setup my new branch name
ActionListener . <init> JCheckBox . addActionListener JTextField . getText HashSet < String > . contains JCheckBox . setEnabled JCheckBox . setSelected HashSet < String > . contains JCheckBox . isEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled
setup my new branch name
ActionListener . <init> JCheckBox . addActionListener JTextField . getText HashSet < String > . contains JCheckBox . setEnabled JCheckBox . setSelected HashSet < String > . contains JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JTextField . getDocument
setup my new branch name
ActionListener . <init> JCheckBox . addActionListener JTextField . getText String . length HashSet < String > . contains JCheckBox . setEnabled JCheckBox . setSelected HashSet < String > . contains JCheckBox . isEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JTextField . getDocument
setup my new branch name
ActionListener . <init> JCheckBox . addActionListener JTextField . getText String . length JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . setSelected JCheckBox . setEnabled JTextField . getDocument
create a checkbox for <unk> the reference grid on and off
ActionListener . <init> JCheckBox . addActionListener
create the checkbox for <unk> turtle highlighting
ActionListener . <init> JCheckBox . addActionListener
set up action listener for my get refs button
ActionListener . <init> JCheckBox . isSelected JButton . setEnabled JCheckBox . addActionListener JButton . addActionListener Handler . <unk> SortedSet < String > . clear Handler . <unk> SortedSet < String > . clear Handler . <unk> SortedSet < String > . add String . startsWith SortedSet < String > . add
document ME !
ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener PropertyChangeListener . <init> Boolean . booleanValue PropertyChangeEvent . getNewValue JCheckBox . setSelected PropertyChangeListener . <init> PropertyChangeEvent . getNewValue Boolean . booleanValue JCheckBox . setSelected PropertyChangeListener . <init> Boolean . booleanValue PropertyChangeEvent . getNewValue Boolean . booleanValue JCheckBox . setSelected ActionListener . <init> JCheckBox . addActionListener JCheckBox . isSelected ActionListener . <init> JCheckBox . addActionListener JButton . addActionListener ActionListener . <init> PropertyChangeListener . <init> Boolean . cast Boolean . booleanValue JCheckBox . setSelected PropertyChangeListener . <init> Boolean . cast Boolean . booleanValue JCheckBox . setSelected JCheckBox . addActionListener JCheckBox . isSelected PropertyChangeListener . <init> Boolean . cast Boolean . booleanValue JCheckBox . setSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . addActionListener JCheckBox . isSelected PropertyChangeEvent . getNewValue Boolean . cast Boolean . booleanValue JCheckBox . setSelected PropertyChangeListener . <init> PropertyChangeEvent . getNewValue Boolean . booleanValue JCheckBox . setSelected JCheckBox . addActionListener PropertyChangeListener . <init> Boolean . booleanValue PropertyChangeEvent . getNewValue JCheckBox . setSelected PropertyChangeListener . <init> List . cast List . iterator Iterator . hasNext Iterator . next TableColumn . cast TableColumn . getHeaderValue PropertyChangeListener . <init> JEditorPane . setText
initialize and adds all preferences window listeners
ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . addActionListener ActionListener . <init> JComboBox < String > . getSelectedIndex JComboBox < String > . addActionListener ActionListener . <init> JComboBox < String > . getSelectedItem Font . <init> JComboBox < String > . addActionListener ChangeListener . <init> JTabbedPane . addChangeListener ActionListener . <init> JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JOptionPane . showOptionDialog JCheckBox . addActionListener ChangeListener . <init> JSlider . getValue JTextField . setText JSlider . getValue JSlider . addChangeListener ChangeListener . <init> JSlider . getValue Integer . toString JTextField . setText JSlider . getValue JSlider . addChangeListener ActionListener . <init> JOptionPane . showConfirmDialog JCheckBox . setSelected JComboBox < String > . setSelectedItem JSlider . setValue JCheckBox . setSelected JButton . addActionListener KeyListener . <init> JTextField . setText JTextField . getText Integer . parseInt Integer . toString JTextField . setText Integer . toString JTextField . setText Integer . toString JTextField . setText JSlider . setValue JTextField . addKeyListener KeyListener . <init> JTextField . setText JTextField . getText Integer . parseInt Integer . toString JTextField . setText Integer . toString JTextField . setText JSlider . setValue JTextField . addKeyListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener
initialize and adds all preferences window listeners
ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JComboBox < String > . getSelectedIndex JComboBox < String > . addActionListener ActionListener . <init> Font . <init> JComboBox < String > . addActionListener ChangeListener . <init> JTabbedPane . addChangeListener ActionListener . <init> JCheckBox . isSelected JCheckBox . setSelected JCheckBox . setEnabled JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JOptionPane . showOptionDialog JCheckBox . addActionListener ChangeListener . <init> JTextField . setText JSlider . getValue JSlider . addChangeListener ChangeListener . <init> JTextField . setText JSlider . getValue JSlider . addChangeListener ActionListener . <init> JOptionPane . showConfirmDialog JCheckBox . setSelected JComboBox < String > . setSelectedItem JSlider . setValue JCheckBox . setSelected JButton . addActionListener KeyListener . <init> JTextField . getText JTextField . setText Integer . parseInt Integer . toString JTextField . setText Integer . toString JTextField . setText JSlider . setValue JTextField . addKeyListener KeyListener . <init> JTextField . setText JTextField . getText Integer . parseInt Integer . toString JTextField . setText Integer . toString JTextField . setText Integer . toString JTextField . setText JSlider . setValue JTextField . addKeyListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener ActionListener . <init> JCheckBox . isSelected JCheckBox . addActionListener
add a listener for <unk> visible
ActionListener . <init> JCheckBox . isSelected JCheckBox . setToolTipText JCheckBox . getText JCheckBox . setToolTipText
check state of the checked checkbox and if state is checked state than to disable <unk> field and clean it
ActionListener . <init> JCheckBox . isSelected JTextField . getText JTextField . setEnabled JTextField . setText JTextField . setEnabled JTextField . setText JCheckBox . addActionListener ActionListener . actionPerformed
add a listener to the given j check box menu item
ActionListener . <init> JCheckBoxMenuItem . addActionListener JCheckBoxMenuItem . isSelected
line wrap check box option in edit menu on a menu bar if enables wraps lines on the edge of the window
ActionListener . <init> JCheckBoxMenuItem . addActionListener JTextArea . setLineWrap JTextArea . setWrapStyleWord JTextArea . setLineWrap JTextArea . setWrapStyleWord
build the <unk> which allows different registers to be set visible in the table
ActionListener . <init> JCheckBoxMenuItem . cast JCheckBoxMenuItem . isSelected JCheckBoxMenuItem . getText JPopupMenu . <init> JMenuItem . <init> JPopupMenu . add JPopupMenu . addSeparator JMenu . <init> JCheckBoxMenuItem . <init> JCheckBoxMenuItem . addActionListener JMenu . add ArrayList < JCheckBoxMenuItem > . add JPopupMenu . add JMenuItem . addActionListener JCheckBoxMenuItem . setSelected ActionListener . <init> JMenuItem . addActionListener JCheckBoxMenuItem . setSelected
build the <unk> which allows different registers to be set visible in the table
ActionListener . <init> JCheckBoxMenuItem . cast JCheckBoxMenuItem . isSelected JPopupMenu . <init> JMenuItem . <init> JPopupMenu . add JPopupMenu . addSeparator JMenu . <init> JCheckBoxMenuItem . <init> JCheckBoxMenuItem . addActionListener JMenu . add ArrayList < JCheckBoxMenuItem > . add JPopupMenu . add JMenuItem . addActionListener JCheckBoxMenuItem . setSelected JMenuItem . addActionListener JCheckBoxMenuItem . setSelected
show the color chooser panel when the color picker panel is clicked
ActionListener . <init> JColorChooser . getColor JColorChooser . createDialog
initialize this dialog by creating all components for it
ActionListener . <init> JComboBox . <init> JTextField . <init> ArrayList < String > . <init> Enumeration . nextElement List < String > . add List < String > . toArray JComboBox . <init> JPanel . <init> JCheckBox . <init> JComboBox . <init> JCheckBox . <init> JLabel . <init> JSlider . <init> Dimension . <init> JComboBox . <init> JTabbedPane . <init> JPanel . <init> BorderFactory . createEmptyBorder JPanel . setBorder JComboBox . <init> JPanel . add JComboBox . <init> JPanel . add JComboBox . <init> JPanel . add JTextField . <init> JPanel . add JTextField . <init> JPanel . add JCheckBox . <init> JPanel . add JButton . <init> JPanel . add JComponent . cast JTextField . cast JCheckBox [] . cast JTextField . getText Long . parseLong JOptionPane . showMessageDialog JButton . <init> JPanel . add ActionListener . <init> ActionEvent . getSource JComponent . cast JComponent . getClientProperty JTextField . cast JCheckBox [] . cast JCheckBox . cast JTextField . getText Long . parseLong JOptionPane . showMessageDialog JPanel . add JCheckBox . <init> JPanel . add JTextField . <init> JPanel . add String . format JLabel . <init>
add the action listener to the combo box
ActionListener . <init> JComboBox . addActionListener ActionEvent . getSource JComboBox . cast JComboBox . getSelectedItem String . cast
initialize all documents tab listeners
ActionListener . <init> JComboBox . addActionListener JComboBox . getSelectedIndex List . get ActionListener . <init> JButton . addActionListener JOptionPane . showConfirmDialog JComboBox . setSelectedIndex JButton . addActionListener JOptionPane . showMessageDialog DefaultComboBoxModel . getSize DefaultComboBoxModel . getElementAt String . equals JOptionPane . showMessageDialog List . add DefaultComboBoxModel . addElement DefaultComboBoxModel . getSize JComboBox . setSelectedIndex JButton . addActionListener JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showOpenDialog JFileChooser . getSelectedFile String . equals DefaultComboBoxModel . getElementAt JOptionPane . showConfirmDialog List . set JComboBox . setSelectedIndex List . add DefaultComboBoxModel . addElement JComboBox . setSelectedIndex JOptionPane . showMessageDialog JButton . addActionListener File . <init> JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showSaveDialog JFileChooser . getSelectedFile File . getAbsolutePath String . toLowerCase FileWriter . <init> BufferedWriter . <init> BufferedWriter . write BufferedWriter . flush BufferedWriter . close JOptionPane . showMessageDialog JTextField . addFocusListener JTextPane . addFocusListener ListSelectionListener . <init> JList . addListSelectionListener JList . getSelectedIndex JList . getSelectedValue ActionListener . <init> JButton . addActionListener ActionListener . <init> JButton . addActionListener JOptionPane . showMessageDialog JList . getSelectedIndex ActionListener . <init> JButton . addActionListener JList . getSelectedIndex JOptionPane . showMessageDialog JOptionPane . showConfirmDialog JList . getSelectedValue JList . addListSelectionListener JList . getSelectedIndex JScrollPane . setViewportView JList . getSelectedIndex JScrollPane . setViewportView ListSelectionListener . <init> JList . addListSelectionListener JList . getSelectedIndex JScrollPane . setViewportView JList . getSelectedIndex JScrollPane . setViewportView ActionListener . <init> JButton . addActionListener ActionListener . <init> JButton . addActionListener JTabbedPane . setSelectedIndex ActionListener . <init> JButton . addActionListener JOptionPane . showMessageDialog JTabbedPane . setSelectedIndex
initialize all documents tab listeners
ActionListener . <init> JComboBox . addActionListener JComboBox . getSelectedIndex List . get JButton . addActionListener JOptionPane . showConfirmDialog JComboBox . setSelectedIndex ActionListener . <init> JButton . addActionListener JOptionPane . showMessageDialog DefaultComboBoxModel . getElementAt JOptionPane . showMessageDialog List . add DefaultComboBoxModel . addElement JComboBox . setSelectedIndex ActionListener . <init> JButton . addActionListener JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showOpenDialog DefaultComboBoxModel . getSize String . equals DefaultComboBoxModel . getElementAt JOptionPane . showConfirmDialog List . set JComboBox . setSelectedIndex List . add DefaultComboBoxModel . addElement DefaultComboBoxModel . getSize JComboBox . setSelectedIndex JOptionPane . showMessageDialog JButton . addActionListener File . <init> JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showSaveDialog JFileChooser . getSelectedFile File . getAbsolutePath String . toLowerCase BufferedWriter . <init> BufferedWriter . write BufferedWriter . flush BufferedWriter . close JOptionPane . showMessageDialog JTextField . addFocusListener JTextPane . addFocusListener ListSelectionListener . <init> JList . addListSelectionListener JList . getSelectedIndex JList . getSelectedValue JButton . addActionListener JOptionPane . showMessageDialog JList . getSelectedIndex ActionListener . <init> JButton . addActionListener JList . getSelectedIndex JOptionPane . showMessageDialog JOptionPane . showConfirmDialog JList . getSelectedValue JList . addListSelectionListener JList . getSelectedIndex JScrollPane . setViewportView JList . getSelectedIndex JScrollPane . setViewportView ListSelectionListener . <init> JList . addListSelectionListener JList . getSelectedIndex JScrollPane . setViewportView ActionListener . <init> JButton . addActionListener JTabbedPane . setSelectedIndex JButton . addActionListener JOptionPane . showMessageDialog JTabbedPane . setSelectedIndex
initialize all documents tab listeners
ActionListener . <init> JComboBox . addActionListener JComboBox . getSelectedIndex List . get JButton . addActionListener JOptionPane . showConfirmDialog JComboBox . setSelectedIndex ActionListener . <init> JButton . addActionListener String . matches JOptionPane . showMessageDialog DefaultComboBoxModel . getElementAt String . equals JOptionPane . showMessageDialog List . add DefaultComboBoxModel . addElement JComboBox . setSelectedIndex ActionListener . <init> JButton . addActionListener JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showOpenDialog JFileChooser . getSelectedFile DefaultComboBoxModel . getSize DefaultComboBoxModel . getElementAt JOptionPane . showConfirmDialog List . set JComboBox . setSelectedIndex List . add DefaultComboBoxModel . addElement DefaultComboBoxModel . getSize JComboBox . setSelectedIndex JOptionPane . showMessageDialog JButton . addActionListener File . <init> JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showSaveDialog JFileChooser . getSelectedFile File . getAbsolutePath String . toLowerCase BufferedWriter . <init> BufferedWriter . write BufferedWriter . flush BufferedWriter . close JOptionPane . showMessageDialog FocusListener . <init> JTextField . addFocusListener JTextPane . addFocusListener JTextPane . getText JList . addListSelectionListener JList . getSelectedIndex JList . getSelectedValue JButton . addActionListener ActionListener . <init> JButton . addActionListener JOptionPane . showMessageDialog JList . getSelectedIndex ActionListener . <init> JButton . addActionListener JList . getSelectedIndex JOptionPane . showMessageDialog JOptionPane . showConfirmDialog JList . getSelectedValue JList . addListSelectionListener JList . getSelectedIndex JScrollPane . setViewportView ListSelectionListener . <init> JList . addListSelectionListener JList . getSelectedIndex JScrollPane . setViewportView JList . getSelectedIndex JScrollPane . setViewportView JButton . addActionListener ActionListener . <init> JButton . addActionListener JTabbedPane . setSelectedIndex ActionListener . <init> JButton . addActionListener JOptionPane . showMessageDialog JTabbedPane . setSelectedIndex
fill the source type combo box with available factories
ActionListener . <init> JComboBox . addActionListener JComboBox . getSelectedItem JPanel . removeAll JComboBox . addItem
add the chat combo box action listener
ActionListener . <init> JComboBox . addActionListener JComboBox . getSelectedItem String . cast String . equals JTextArea . setText
add a listener to the field
ActionListener . <init> JComboBox . addActionListener Listener . <unk> JList . addListSelectionListener JList . getSelectedValue Listener . <unk>
return the listener of combo box actions
ActionListener . <init> JComboBox . cast JComboBox . getSelectedItem AbstractAction . actionPerformed
listener for btn select root listener
ActionListener . <init> JComboBox . cast JComboBox . getSelectedItem Component . setEnabled JLabel . cast JLabel . setText JList . cast JList . getModel DefaultListModel . cast DefaultListModel . removeAllElements DefaultListModel . addElement
set whether items newly added to this text fields combo box will automatically be added to the history and saved under the preference node and id that this text field has been loaded from
ActionListener . <init> JComboBox . cast JComboBox . getSelectedItem Object . toString JComboBox . addActionListener JComboBox . removeActionListener
add the action listener for class edit map
ActionListener . <init> JComboBox . getSelectedItem JList . getSelectedIndices ArrayList < Integer > . <init> ArrayList . <init> ArrayList . add ArrayList < Link > . <init> ArrayList < Link > . cast Map . <unk> ArrayList < Link > . cast Link . <unk> State . <unk> ArrayList < Link > . indexOf ArrayList < Link > . remove Link . <init> Link . <unk> Link . <unk> ArrayList < Link > . add Map . <unk> ArrayList < State > . size ArrayList < State > . get Map . <unk> Map . <unk> Map . <unk> JFrame . revalidate JFrame . repaint ActionListener . <init>
set up all the listeners used in this views components
ActionListener . <init> JComboBox . getSelectedItem Type . cast ActionListener . <init> JTextField . setText ActionListener . <init> Type . cast Reference . <init> JTextField . getText Reference . <unk> EnumMap < JTextField > . get JTextField . getText Reference . setField EnumMap < JTextField > . get JTextField . getText Reference . setField JTextField . setText DocumentListener . <init> ActionListener . <init> Type . cast Reference . <init> EnumMap < JTextField > . get JTextField . getText Reference . setField EnumMap < JTextField > . get Reference . setField JTextField . setText
initialize all the feature set tab listeners
ActionListener . <init> JComboBox < String > . addActionListener ActionListener . <init> JComboBox < String > . getSelectedItem String . cast JComboBox < String > . getSelectedItem String . cast JDialog . setTitle JDialog . setVisible JList < String > . setSelectedIndex JButton . addActionListener ActionListener . <init> JButton . addActionListener ActionListener . <init> JComboBox < String > . setSelectedItem JButton . addActionListener
initialize all the classifier tab listeners
ActionListener . <init> JComboBox < String > . addActionListener ActionListener . <init> JComboBox < String > . getSelectedItem String . cast JDialog . setTitle JButton . setEnabled JDialog . setVisible JButton . requestFocusInWindow JButton . addActionListener ActionListener . <init> JButton . addActionListener ActionListener . <init> JComboBox < String > . setSelectedItem JButton . addActionListener
listener of the gui components
ActionListener . <init> JComboBox < String > . addActionListener JComboBox < String > . getSelectedItem Integer . parseInt JComboBox < String > . getSelectedItem SimpleDateFormat . <init> SimpleDateFormat . format JComboBox < String > . addActionListener Integer . parseInt ActionListener . <init> JComboBox < String > . addActionListener Integer . parseInt JComboBox < String > . addActionListener Integer . parseInt JComboBox < String > . getSelectedItem Integer . parseInt JComboBox < String > . addActionListener ActionListener . <init> JComboBox < String > . addActionListener JComboBox < String > . getSelectedItem ActionListener . <init> JComboBox < String > . addActionListener JComboBox < String > . getSelectedItem JComboBox < String > . addActionListener JComboBox < String > . getSelectedItem JButton . addActionListener JComboBox < String > . getSelectedItem SimpleDateFormat . <init> SimpleDateFormat . format SimpleDateFormat . parse SimpleDateFormat . <init> SimpleDateFormat . format SimpleDateFormat . parse String . contains SimpleDateFormat . <init> Date . <init> DateFormat . format DateFormat . parse DateFormat . format DateFormat . parse
affiche le <unk> du service
ActionListener . <init> JComboBox < String > . addActionListener JTextField . setText
listener to change the j labels and fields depending on what type of <unk> is to be created
ActionListener . <init> JComboBox < String > . getSelectedItem String . cast JPanel . removeAll JPanel . add JPanel . setOpaque JPanel . add JPanel . revalidate JScrollPane . <init> BorderFactory . createEmptyBorder JScrollPane . setBorder JScrollPane . setOpaque JScrollPane . setHorizontalScrollBarPolicy JPanel . add JPanel . revalidate JPanel . repaint
return the action listener for the button to add a worker
ActionListener . <init> JComboBox < Worker > . getSelectedItem Worker . cast Set < String > . add
set action handler
ActionListener . <init> JDialog . dispose JButton . addActionListener
add an <unk> listener to the dialog , so that pressing escape key , the dialog will close
ActionListener . <init> JDialog . dispose JDialog . getRootPane KeyStroke . getKeyStroke
add a key listener to a given j dialog that <unk> it when the <unk> is pressed
ActionListener . <init> JDialog . dispose KeyStroke . getKeyStroke
add an <unk> listener to the dialog , so that pressing escape key , the dialog will close
ActionListener . <init> JDialog . dispose KeyStroke . getKeyStroke
add to the dialog a key listener that makes the dialog invisible
ActionListener . <init> JDialog . setVisible KeyStroke . getKeyStroke
action when the app from file button is selected
ActionListener . <init> JFileChooser . <init> FileNameExtensionFilter . <init> JFileChooser . setFileFilter JFileChooser . showOpenDialog File . <init> File . getAbsolutePath Notification . <init> Notification . setIcon Notification . setName Notification . setDescription Notification . setAction
create the listener of the button for saving the simulation configuration in a file
ActionListener . <init> JFileChooser . <init> JFileChooser . setAcceptAllFileFilterUsed FileNameExtensionFilter . <init> JFileChooser . setFileFilter JFileChooser . showSaveDialog JFileChooser . getSelectedFile File . getName File . getAbsolutePath JLabel . setText JTabbedPane . indexOfComponent JTabbedPane . setTitleAt JTabbedPane . indexOfComponent JTabbedPane . setTitleAt JOptionPane . showMessageDialog String . endsWith
method definition for saving an image and polygon labels
ActionListener . <init> JFileChooser . <init> JFileChooser . setAcceptAllFileFilterUsed JFileChooser . <unk> JFileChooser . <unk> JFileChooser . showDialog String . length String . substring File . <init> File . exists File . createNewFile File . getAbsoluteFile FileWriter . <init> BufferedWriter . <init> String . valueOf BufferedWriter . write BufferedWriter . newLine Shape . complete Shape . getLabel BufferedWriter . write Shape . getColor Color . getRed BufferedWriter . write Shape . getColor Color . getGreen String . valueOf BufferedWriter . write Shape . getColor Color . getBlue Vertex . getX BufferedWriter . write String . valueOf BufferedWriter . write BufferedWriter . newLine BufferedWriter . close JFileChooser . setSelectedFile
initialize this frames behaviors
ActionListener . <init> JFileChooser . <init> JFileChooser . setAcceptAllFileFilterUsed JFileChooser . addChoosableFileFilter JFileChooser . showOpenDialog JTextField . setText ActionListener . <init> JTextField . getText String . length JTextField . setText JLabel . setText ActionListener . <init> System . exit
create an action for the from file button that asks the user to open a
ActionListener . <init> JFileChooser . <init> JFileChooser . setFileSelectionMode JFileChooser . getSelectedFile Scanner . <init> Scanner . hasNextLine
initialize all the listeners corresponding to the train panel in pre process window
ActionListener . <init> JFileChooser . setName JFileChooser . setFileFilter JFileChooser . setFileSelectionMode JFileChooser . setMultiSelectionEnabled JFileChooser . setVisible JFileChooser . showOpenDialog JFileChooser . getSelectedFiles File . getAbsolutePath ArrayList < String > . <init> ArrayList < String > . add Document . <unk> ArrayList < String > . add File . getCanonicalFile File . getAbsolutePath File . list File . getName File . getAbsolutePath File . <init> ArrayList < String > . contains File . isDirectory JOptionPane . showMessageDialog String . contains ArrayList < String > . <init> HashMap < String , List < String > > . put ArrayList < Document > . <init> File . getName File . getAbsolutePath ArrayList < String > . contains File . getName String . equals File . getParentFile HashMap < String , List < String > > . put File . getName HashMap < String , List < String > > . get File . getName Document . <init> File . getName HashMap < String , List < String > > . get JOptionPane . showMessageDialog JButton . setEnabled JButton . requestFocusInWindow JButton . addActionListener ActionListener . <init> JButton . addActionListener ActionListener . <init> JButton . addActionListener CellEditorListener . <init> JTree . getSelectionPath TreePath . getPath TreeCellEditor . <unk> DefaultMutableTreeNode . cast DefaultMutableTreeNode . toString HashMap < String , List < String > > . remove HashMap < String , List < String > > . put TreeCellEditor . <unk> KeyListener . <init> KeyEvent . getKeyCode KeyEvent . getKeyText JTree . addKeyListener ActionListener . <init> JButton . addActionListener
initialize all the listeners corresponding to the train panel in pre process window
ActionListener . <init> JFileChooser . setName JFileChooser . setFileFilter JFileChooser . setFileSelectionMode JFileChooser . setMultiSelectionEnabled JFileChooser . setVisible JFileChooser . showOpenDialog JFileChooser . getSelectedFiles File . getAbsolutePath ArrayList < String > . <init> Document . <unk> ArrayList < String > . add String . equals ArrayList < String > . add File . <init> File . list File . getName File . getAbsolutePath File . <init> ArrayList < String > . contains JOptionPane . showMessageDialog File . getName String . contains HashMap < String , List < String > > . get ArrayList < String > . <init> HashMap < String , List < String > > . put File . getName HashMap < String , List < String > > . get File . getAbsolutePath ArrayList < String > . contains File . getName String . equals HashMap < String , List < String > > . put File . getName HashMap < String , List < String > > . get File . getName JOptionPane . showMessageDialog JButton . setEnabled JButton . requestFocusInWindow JButton . addActionListener ActionListener . <init> JButton . addActionListener ActionListener . <init> JButton . addActionListener CellEditorListener . <init> JTree . getSelectionPath TreePath . getPath TreeCellEditor . <unk> DefaultMutableTreeNode . toString HashMap < String , List < String > > . remove HashMap < String , List < String > > . put TreeCellEditor . <unk> KeyListener . <init> KeyEvent . getKeyCode KeyEvent . getKeyText JTree . addKeyListener ActionListener . <init> JButton . addActionListener
allow to open a file chooser and get a file or directory
ActionListener . <init> JFileChooser . showSaveDialog JFileChooser . showOpenDialog JFileChooser . getSelectedFile File . getAbsolutePath JTextField . setText
create the panel with the x axis zoom controls
ActionListener . <init> JFormattedTextField . setValue JFormattedTextField . addActionListener JFormattedTextField . setMaximumSize JFormattedTextField . setValue JFormattedTextField . addActionListener Dimension . <init> JFormattedTextField . setMaximumSize JButton . <init> JButton . setActionCommand JButton . addActionListener Dimension . <init> JButton . setMinimumSize JPanel . <init> BorderFactory . createTitledBorder JPanel . setBorder JPanel . setLayout JPanel . setBackground JPanel . setMinimumSize
main for testing
ActionListener . <init> JFrame . <init> JFrame . getContentPane JFrame . setSize JFrame . setLocation JFrame . setVisible
create an action for the create button that allows a user to schedule a new event
ActionListener . <init> JFrame . <init> JFrame . setTitle JPanel . <init> GridLayout . <init> JPanel . setLayout JLabel . <init> JPanel . add JTextField . <init> JPanel . add JTextField . <init> JPanel . add JTextField . <init> JPanel . add JTextField . <init> JPanel . add JLabel . <init> JPanel . add JButton . <init> JButton . addActionListener JTextField . getText Integer . parseInt JTextField . getText JFrame . setVisible JFrame . <init> BorderLayout . <init> JPanel . <init> JLabel . <init> JButton . <init> JButton . addActionListener JFrame . setVisible JPanel . add JFrame . add JFrame . pack JFrame . setVisible JFrame . setDefaultCloseOperation JPanel . add JFrame . add JFrame . pack JFrame . setVisible JFrame . setDefaultCloseOperation
create an action for the agenda button that leads to the agenda for a selected time frame
ActionListener . <init> JFrame . <init> JFrame . setTitle JPanel . <init> JPanel . setLayout JLabel . <init> JPanel . add JTextField . <init> JPanel . add JTextField . <init> JPanel . add JButton . <init> JButton . addActionListener JTextField . getText Integer . parseInt JFrame . setVisible JPanel . add JFrame . add JFrame . pack JFrame . setVisible JFrame . setDefaultCloseOperation
create anonymous action listener class that adds icon to composite icon and updates the gui using pack and repaint
ActionListener . <init> JFrame . pack JFrame . repaint
<unk> la <unk> <unk> <unk> <unk> sur le <unk> <unk>
ActionListener . <init> JLabel . getText Integer . parseInt Integer . toString JLabel . setText
thread para <unk> o tempo <unk> em <unk>
ActionListener . <init> JLabel . setText Timer . <init> Timer . start
add a timer to the game , with frequency being one second
ActionListener . <init> JLabel . setText Timer . stop JButton . setVisible Timer . <init> Timer . start
create and returns a new action listener that removes the currently selected item from a j list and from its default list model
ActionListener . <init> JList . getSelectedIndex DefaultListModel . remove JList . setSelectedIndex JList . ensureIndexIsVisible
create a menu containing a list of all available fonts
ActionListener . <init> JMenu . <init> JMenuItem . <init> JMenuItem . setActionCommand JMenuItem . addActionListener JMenuItem . setFont JMenu . add JMenu . addSeparator JMenuItem . <init> JMenuItem . addActionListener Font . <init> JMenuItem . setFont JMenu . add JMenu . <init> JMenuItem . <init> JMenuItem . addActionListener Font . <init> JMenuItem . setFont JMenu . add JMenu . getMenuComponentCount JMenu . setText JMenu . add JMenu . <init>
add event handlers to the events that will be triggered by elements on the frame
ActionListener . <init> JMenuItem . addActionListener ActionEvent . getSource JMenuItem . addActionListener ActionListener . <init> JMenuItem . cast
set up event handling for the menu system
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionEvent . getActionCommand Character . getNumericValue String . length
ready all the listeners for each menu item
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> HashSet < Character > . contains JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener
ready all the listeners for each menu item
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> String . charAt HashSet < Character > . contains JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener
ready all the listeners for each menu item
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> String . charAt JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener
inicializa componentes da <unk> de login
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JLabel . <init> JTextField . <init> JRadioButton . <init> ActionListener . <init> JRadioButton . addActionListener JRadioButton . isSelected JRadioButton . setSelected JRadioButton . <init> ActionListener . <init> JRadioButton . addActionListener JRadioButton . setSelected JButton . <init> ActionListener . <init> JButton . addActionListener JTextField . getText JRadioButton . isSelected JOptionPane . showMessageDialog GridBagLayout . <init> EmptyBorder . <init> JComponent . cast JComponent . setBorder GridBagConstraints . <init> Insets . <init> Font . <init> JLabel . setFont EmptyBorder . <init> JLabel . setBorder
initialise le menu et <unk> actions listeners
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JOptionPane . showMessageDialog JMenu . add JMenu . addSeparator JMenu . add JMenuBar . add
set up listeners for each object
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JTabbedPane . getSelectedIndex JMenuItem . addActionListener FocusListener . <init> JTextField . addFocusListener JTextField . setText JTextField . getDocument DocumentListener . <init> FocusListener . <init> JList < String > . addFocusListener JList < String > . clearSelection JList < String > . addFocusListener JList < String > . clearSelection JList < String > . addFocusListener JList < String > . clearSelection MouseListener . <init> JTabbedPane . addMouseListener MouseEvent . getY MouseEvent . getX JTabbedPane . addMouseMotionListener MouseEvent . getX
add listeners in all items in account menu
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener
set up actions for ; modify life and add life
ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener
set up actions for ; <unk> , <unk> , save , save as and exit
ActionListener . <init> JMenuItem . addActionListener Configuration . <init> ActionListener . <init> JMenuItem . addActionListener FileDialog . <init> FileDialog . setVisible FileDialog . getFile JMenuItem . addActionListener JFrame . <init> FileDialog . <init> FileDialog . setVisible FileDialog . getFile ActionListener . <init> JMenuItem . addActionListener JFrame . <init> FileDialog . <init> FileDialog . setVisible FileDialog . getFile JMenuItem . addActionListener System . exit
set up actions for ; <unk> , display info life and display config
ActionListener . <init> JMenuItem . addActionListener Configuration . getInfo JTextArea . setText ActionListener . <init> JMenuItem . addActionListener Configuration . <unk> JMenuItem . addActionListener JTextArea . setText
open history text file action
ActionListener . <init> JMenuItem . addActionListener File . getAbsolutePath Runtime . getRuntime System . getProperty Runtime . exec String . replaceAll Runtime . exec
add listeners to the menu items
ActionListener . <init> JMenuItem . addActionListener File . toString ExceptionHandler . handleException JMenuItem . addActionListener ExceptionHandler . handleException ActionListener . <init> JMenuItem . addActionListener System . exit JMenuItem . addActionListener
add all the action listeners for the menu items
ActionListener . <init> JMenuItem . addActionListener JFileChooser . <init> JFileChooser . showOpenDialog JTextArea . setText FileReader . <init> Scanner . <init> JFileChooser . getSelectedFile JTextArea . append ActionListener . <init> JMenuItem . addActionListener JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . showSaveDialog JFileChooser . getFileFilter String . equals FileWriter . <init> BufferedWriter . <init> BufferedWriter . write BufferedWriter . close JFileChooser . getSelectedFile ActionListener . <init> JMenuItem . addActionListener System . exit JMenuItem . addActionListener JTextArea . cut JMenuItem . addActionListener JTextArea . copy JMenuItem . addActionListener JTextArea . paste
add a save and save as menu items
ActionListener . <init> JMenuItem . addActionListener JMenu . add JMenuItem . setAccelerator JMenuItem . addActionListener JMenu . add JMenu . <init> JMenuItem . addActionListener JMenu . add JMenuItem . <init> JMenuItem . addActionListener JMenu . add JMenu . addSeparator
este metodo se <unk> de <unk> el menu <unk> y de <unk> <unk> a <unk> items
ActionListener . <init> JMenuItem . addActionListener JMenuItem . setMnemonic JMenuItem . setToolTipText JMenu . add JMenu . setMnemonic
metodo que se <unk> de <unk> el menu archivo y <unk> <unk> a <unk> items
ActionListener . <init> JMenuItem . addActionListener JMenuItem . setMnemonic JMenuItem . setToolTipText JMenu . add JMenuItem . addActionListener JMenuItem . setMnemonic JMenuItem . setToolTipText JMenu . add JMenu . addSeparator ActionListener . <init> JMenuItem . addActionListener JMenuItem . setMnemonic JMenuItem . setToolTipText JMenu . add JMenu . addSeparator ActionListener . <init> JMenuItem . addActionListener System . exit JMenuItem . setMnemonic JMenuItem . setToolTipText JMenu . add JMenu . setMnemonic
setup a menu item
ActionListener . <init> JMenuItem . addActionListener JMenuItem . setMnemonic
metodo che <unk> il <unk> dei <unk>
ActionListener . <init> JMenuItem . addActionListener JOptionPane . showMessageDialog ActionListener . <init> JButton . addActionListener JTextArea . setText String . cast JComboBox . getSelectedItem String . toLowerCase JButton . setEnabled ActionListener . <init> JMenuItem . addActionListener System . exit ActionListener . <init> JComboBox . addActionListener JComboBox . getSelectedItem String . substring String . charAt JComboBox . removeAllItems String . equals JComboBox . addItem JComboBox . removeAllItems JComboBox . addItem String . equals JComboBox . addItem String . equals JComboBox . addItem JComboBox . removeAllItems JComboBox . addItem JComboBox . removeAllItems JComboBox . addItem String . equals JComboBox . removeAllItems JComboBox . addItem JComboBox . removeAllItems JComboBox . addItem String . indexOf JComboBox . removeAllItems JComboBox . addItem JComboBox . removeAllItems JComboBox . addItem ActionListener . <init> JButton . addActionListener LinkedList . isEmpty File . <init> JButton . setEnabled JOptionPane . showMessageDialog JButton . setEnabled
add the component events
ActionListener . <init> JMenuItem . addActionListener JOptionPane . showMessageDialog ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JOptionPane . showMessageDialog
method static void method attaches <unk> to their components
ActionListener . <init> JMenuItem . addActionListener JOptionPane . showMessageDialog JCheckBoxMenuItem . addItemListener Server . <unk> Server . <unk> CardLayout . show ActionListener . <init> JMenuItem . addActionListener Server . <unk> System . exit JFrame . dispose JButton . addActionListener Server . <unk> System . exit JFrame . dispose ActionListener . <init> JButton . addActionListener JTextField . getText JComboBox . getSelectedItem JCheckBoxMenuItem . setEnabled JFrame . setTitle CardLayout . show JButton . addActionListener JOptionPane . showConfirmDialog Server . <unk> JCheckBoxMenuItem . setEnabled CardLayout . show Server . <unk> JCheckBoxMenuItem . setEnabled CardLayout . show JButton . addActionListener Runnable . <init> Thread . <init> Thread . start
public static void invalid path j option pane
ActionListener . <init> JMenuItem . addActionListener JOptionPane . showMessageDialog
menu items actions
ActionListener . <init> JMenuItem . addActionListener JTextArea . setText JTextField . setText JLabel . setText JMenuItem . addActionListener JTextArea . setText ActionListener . <init> JMenuItem . addActionListener JTextArea . getText JTextArea . setText JTextArea . append JMenuItem . addActionListener JTextArea . getText System . exit ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JTextArea . getSelectedText Clipboard . setContents ActionListener . <init> JMenuItem . addActionListener Clipboard . getContents Transferable . isDataFlavorSupported Transferable . getTransferData String . cast JTextArea . replaceSelection JTextArea . append JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JTextField . getText JMenuItem . addActionListener JTextArea . getText String . replaceAll JTextArea . setText ActionListener . <init> JMenuItem . addActionListener InetAddress . getLocalHost JLabel . setText InetAddress . getHostAddress JTextField . getText ActionListener . <init> JMenuItem . addActionListener System . getProperty JLabel . setText InetAddress . getLocalHost InetAddress . getHostAddress JLabel . setText InetAddress . getHostName JLabel . setText JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener UndoManager . undo ActionListener . <init> JMenuItem . addActionListener UndoManager . <unk> JMenuItem . addActionListener JTextArea . getSelectedText Clipboard . setContents JMenuItem . addActionListener Clipboard . getContents Transferable . isDataFlavorSupported Transferable . getTransferData String . cast JTextArea . replaceSelection JTextArea . append
tool bar check box functionality visible hide
ActionListener . <init> JMenuItem . addActionListener JToolBar . setVisible JLabel . setVisible
initialize menu
ActionListener . <init> JMenuItem . addActionListener List . size JPopupMenu . add ActionListener . <init> JMenuItem . addActionListener List . size List . get JPopupMenu . add JMenuItem . addActionListener List . size JPopupMenu . add JMenuItem . addActionListener List . get JPopupMenu . add JMenuItem . addActionListener JPopupMenu . add ActionListener . <init> JMenuItem . addActionListener JPopupMenu . add JMenuItem . addActionListener JPopupMenu . add ActionListener . <init> JMenuItem . addActionListener List . size JPopupMenu . add
initialize menu
ActionListener . <init> JMenuItem . addActionListener List . size List . get JPopupMenu . add ActionListener . <init> JMenuItem . addActionListener JPopupMenu . add JMenuItem . addActionListener List . get JPopupMenu . add JMenuItem . addActionListener List . size List . get JPopupMenu . add ActionListener . <init> JMenuItem . addActionListener List . get JPopupMenu . add JMenuItem . addActionListener JPopupMenu . add JMenuItem . addActionListener JPopupMenu . add JMenuItem . addActionListener List . get JPopupMenu . add
add listeners for the menu items
ActionListener . <init> JMenuItem . addActionListener Popup . getInvoker Content . <unk> Popup . getInvoker JMenuItem . addActionListener Content . remove JMenuItem . addActionListener Popup . getInvoker Content . <unk> JMenuItem . addActionListener Content . removeAll
initialize the menu
ActionListener . <init> JMenuItem . addActionListener System . exit ActionListener . <init> JMenuItem . addActionListener JMenu . add JMenuBar . add
adiciona os <unk> dos <unk> <unk>
ActionListener . <init> JMenuItem . addActionListener System . exit JMenuItem . addActionListener
add a new listener on the menu item pass as argument
ActionListener . <init> JMenuItem . addActionListener System . exit
exit action
ActionListener . <init> JMenuItem . addActionListener System . exit
set up actions for ; run , stop , reset and pause
ActionListener . <init> JMenuItem . addActionListener Thread . <init> JProgressBar . <init> JProgressBar . setValue JProgressBar . setStringPainted Thread . start ActionListener . <init> JMenuItem . addActionListener ActionListener . <init> JMenuItem . addActionListener JMenuItem . doClick JProgressBar . setValue JProgressBar . setStringPainted Thread . start ActionListener . <init> JMenuItem . addActionListener
add in api level one called when we want to start the frame events that runs in background
ActionListener . <init> JMenuItem . addActionListener Thread . start ActionListener . <init> JMenuItem . addActionListener
add listeners to the style menu
ActionListener . <init> JMenuItem . addActionListener UIManager . getCrossPlatformLookAndFeelClassName ActionListener . <init> JMenuItem . addActionListener UIManager . getSystemLookAndFeelClassName
<unk> <unk> <unk> <unk> <unk>
ActionListener . <init> JMenuItem . addActionListener
exit action
ActionListener . <init> JMenuItem . addActionListener
this method ensures the map controller creates the appropriate zone
ActionListener . <init> JMenuItem . addActionListener
create an action listener for the undo menu item and then adds it to the menu item
ActionListener . <init> JMenuItem . setEnabled JMenuItem . addActionListener
method definition for loading an image and polygon labels
ActionListener . <init> JOptionPane . showConfirmDialog JFileChooser . <init> JFileChooser . addChoosableFileFilter JFileChooser . <unk> JFileChooser . <unk> JFileChooser . showDialog JFileChooser . getSelectedFile FileInputStream . <init> DataInputStream . <init> BufferedReader . <init> ArrayList < String > . <init> BufferedReader . readLine String . split Integer . parseInt JOptionPane . showMessageDialog ArrayList < String > . add String . split Shape . <init> Shape . setLabel Color . <init> Integer . parseInt Shape . setColor Vertex . <init> Integer . parseInt Shape . add Shape . <unk> BufferedImage . getSubimage Shape . <unk> Shape . <init> JPanel . paint JOptionPane . showMessageDialog JFileChooser . setSelectedFile
final action
ActionListener . <init> JOptionPane . showConfirmDialog JTextField . getText JTextField . isEnabled JTextField . getText Runnable . <init> JButton . setEnabled JProgressBar . getMinimum JProgressBar . setValue JProgressBar . setIndeterminate Runnable . <init> JProgressBar . setValue JProgressBar . setIndeterminate JButton . setEnabled SwingWorker < Void , Void > . execute