Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.*;
- public class RobotRouteApp
- {
- /**
- * @param args
- */
- public static void main(String[] args)
- {
- try
- {
- // Set the look and feel.
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- }
- catch (Exception e) {}
- // Create the GUI.
- javax.swing.SwingUtilities.invokeLater(new Runnable() {
- public void run() {
- createGUI();
- }
- });
- }
- /**
- * Create the user interface.
- */
- private static void createGUI()
- {
- RobotRouteFrame frmMain = new RobotRouteFrame("Robot Routeing");
- // Create and display components.
- frmMain.pack();
- frmMain.setExtendedState(frmMain.getExtendedState() | JFrame.MAXIMIZED_BOTH);
- frmMain.setVisible(true);
- }
- }
Add Comment
Please, Sign In to add comment