Class IteGUI

IteGUI

public class IteGUI

Variable Index

 o bottomBgColor
 o codeSelection
 o codeSelectionModel
 o db
 o EAST
 o frameworkChoices
 o IF_THEN_ELSE
 o IF_THEN_ELSE_CLASS
 o limitThreshold
 o limitThresholdModel
 o mainBgColor
 o MIDWEST
 o NESTED_IF
 o NESTED_IF_CLASS
 o NORTH
 o NUM_FRAMEWORK_CHOICES
 o NUM_REGION_CHOICES
 o region
 o regionChoices
 o regionModel
 o SOUTH
 o topBgColor
 o up
 o urlTextField
 o userId
 o userIdModel
 o WEST

Constructor Index

 o IteGUI()

Method Index

 o createButtonPanel()
 o createGUI()
 o createLabeledUrlTextField()
 o createLowerPanel()
 o createModels()
 o createUpperPanel()
 o init()
 o initializeComboBoxes()
 o initializeInternalTables()
 o main(String[])
The main method allows you to run the applet in a JFrame.
 o newLabeledComponent(JLabel, JComponent)
Creates a panel with a label in the top part and a JComponent in the bottom part
 o positionFrameOnDesktop(JFrame)
This method is just for use with the main method to position the test frame properly on the screen
 o resetUrl()
 o sort(String[])
Sorts Strings in the array arr and returns it in a new array.

Variables

 o mainBgColor
 private Color mainBgColor
 o topBgColor
 private Color topBgColor
 o bottomBgColor
 private Color bottomBgColor
 o IF_THEN_ELSE
 private final String IF_THEN_ELSE
 o NESTED_IF
 private final String NESTED_IF
 o IF_THEN_ELSE_CLASS
 private final String IF_THEN_ELSE_CLASS
 o NESTED_IF_CLASS
 private final String NESTED_IF_CLASS
 o NUM_FRAMEWORK_CHOICES
 private final int NUM_FRAMEWORK_CHOICES
 o NUM_REGION_CHOICES
 private final int NUM_REGION_CHOICES
 o EAST
 private final String EAST
 o WEST
 private final String WEST
 o SOUTH
 private final String SOUTH
 o MIDWEST
 private final String MIDWEST
 o NORTH
 private final String NORTH
 o db
 DataBank db
 o up
 URLProcessor up
 o frameworkChoices
 Hashtable frameworkChoices
 o regionChoices
 Hashtable regionChoices
 o codeSelectionModel
 String codeSelectionModel[]
 o userIdModel
 String userIdModel[]
 o regionModel
 String regionModel[]
 o limitThresholdModel
 String limitThresholdModel[]
 o codeSelection
 JComboBox codeSelection
 o userId
 JComboBox userId
 o region
 JComboBox region
 o limitThreshold
 JComboBox limitThreshold
 o urlTextField
 JTextField urlTextField

Constructors

 o IteGUI
 public IteGUI()

Methods

 o createButtonPanel
 private JPanel createButtonPanel()
 o createGUI
 private void createGUI()
 o createLabeledUrlTextField
 private JPanel createLabeledUrlTextField()
 o createLowerPanel
 private JPanel createLowerPanel()
 o createModels
 private void createModels()
 o createUpperPanel
 private JPanel createUpperPanel()
 o init
 public void init()
 o initializeComboBoxes
 private void initializeComboBoxes()
 o initializeInternalTables
 private void initializeInternalTables()
 o main
 public static void main(String args[])
The main method allows you to run the applet in a JFrame. However, unless you are running this (as an application) on a server, you won't be able to connect to the urls, though you will be able to see the url's in the window provided.

For full functionality, run this class as an applet in a browser by linking to IteGUI.html.

 o newLabeledComponent
 public static JPanel newLabeledComponent(JLabel label,
                                          JComponent component)
Creates a panel with a label in the top part and a JComponent in the bottom part

 o positionFrameOnDesktop
 private static void positionFrameOnDesktop(JFrame f)
This method is just for use with the main method to position the test frame properly on the screen

 o resetUrl
 private void resetUrl()
 o sort
 public static String[] sort(String arr[])
Sorts Strings in the array arr and returns it in a new array. The original array remains unmodified.
Uses Insertion Sort algorithm -- efficient only for fairly small arrays

Parameters:
arr - String[]