COMP 310

Using Jigloo

    Current Home  Java Resources  Eclipse Resources


See the Eclipse and plugins installation page.


Highly recommended!

CloudGarden's tutorial on creating Java Swing GUI's with Jigloo


Here  are some brief descriptions on how to do some basic tasks in Jigloo

If a GUI class does not not open using Jigloo, i.e. you can only see the code and not the graphical editor, right-click the class in the Package Explorer and select Open With/Form Editor.

New GUI Class Definition

  1. In Eclipse's Package Explorer pane, right-click on the package that you want your new GUI class to be in (create a new package first if it doesn't exist).
  2.  Select New/Other...  from the pop-up menu.

    (click for full-size image) 
    New/Other... pop-up menu

  3. Scroll down until you see GUI Forms/Swing and select the desired type of GUI component that you desire.   Typical choices are JFrame for stand-alone window frames that hold various GUI components and JPanel for panels with associated sub-components that are then installed into larger panels and frames.
  4. Click Next
  5. In the next screen, be sure that the package name is correct.  Type in the desired class name.   It is highly recommended that you adopt a naming convention that allows you to identify what sort of GUI component the class is, by simply looking at its name, e.g. "MainAppFrame" or "ConfigPnl".
  6. Un-select "Add main method" as this is the wrong location for the main method in the Model-View-Controller architectures that we will be using.
  7. Click on Finish to create the new GUI class.


Jigloo Screen Layout

Refer to the screen shot below to see some of the major features of the Jigloo screen.  Detailed descriptions of the highlighted call-outs are below the screen shot.

annotated screen shot



© 2017 by Stephen Wong