(package private) class GUI
extends JFrame
implements ActionListener, ChangeListener
Swinging Turkey, ho-ho.
The Swing GUI for Turkey.
bGroup
protected ButtonGroup bGroup
buttonBar
protected JPanel buttonBar
closeButton
protected JButton closeButton
configPanel
protected JPanel configPanel
copyAction
protected AbstractAction copyAction
copyButton
protected JButton copyButton
dictionaryPanel
protected JPanel dictionaryPanel
dictionaryType
protected JComboBox dictionaryType
gen
protected Generator gen
Dummy text generator.
goAction
protected AbstractAction goAction
goButton
protected JButton goButton
height
protected static final int height
Main window height.
mainConfigPanel
protected JPanel mainConfigPanel
mainPanel
protected JPanel mainPanel
notebook
protected JTabbedPane notebook
otHTML
protected JRadioButton otHTML
otPlain
protected JRadioButton otPlain
outputArea
protected JTextArea outputArea
outputPanel
protected JPanel outputPanel
outputTypePanel
protected JPanel outputTypePanel
paraAdjust
protected JSlider paraAdjust
paragraphLabel
protected JLabel paragraphLabel
paramsPanel
protected JPanel paramsPanel
quitAction
protected AbstractAction quitAction
scrollArea
protected JScrollPane scrollArea
sentenceAdjust
protected JSlider sentenceAdjust
sentenceLabel
protected JLabel sentenceLabel
width
protected static final int width
Main window width.
actionPerformed
public void actionPerformed(ActionEvent e)
closeWindow
protected void closeWindow()
generateNewText
protected void generateNewText()
Generates new dummy text in the output text area.
getIcon
protected ImageIcon getIcon(String id)
loadPreferences
protected void loadPreferences()
Load preferences.
run
public static void run()
Runs the GUI.
savePreferences
protected void savePreferences()
Save preferences.
setClipboard
protected void setClipboard(String s)
setupComponents
protected void setupComponents()
Setup the GUI components.
setupWindow
protected void setupWindow()
Basic window setup.
stateChanged
public void stateChanged(ChangeEvent e)