Ginipad
An IDE for Java written in Java

Home

Screenshots

Download

Installation

Instructions

Documentation

Links

Contact

Thanks to

 

MokaByte

 

Instructions

Ginipad was designed to offer the greatest degree of functionaility in the most simple and natural way. It takes no more than five minutes to learn how it works. Here you will find a complete features guide, a brief tutorial and a complete explanation of the preferences panels.

Overview

  • 1) Few buttons, easy to understand
  • 2) Multi document interface
  • 3) Syntax Higlight
  • 4) Source Browser
  • 5) Auto Code Completition
  • 6) Hiperlink to errors

Command Table

File
New (Ctrl-N) Create a new Java source.
Open (Ctrl-O) Load a source from the disc.
Save As (Ctrl-S) Save current document.
  Close (Ctrl-W) Close current document.
  Open All   Open all recently used documents.
  Exit   Close the application.
Edit
Cut (Ctrl-X) Cut the selection.
Copy (Ctrl-C) Copy the selection.
Paste (Ctrl-V) Paste.
  Select All (Ctrl-A) Select all.
Undo (Ctrl-Z) Undo last changes.
Redo (Ctrl-Y) Redo last change.
Find (Ctrl-F) Open the "Find" dialog.
Replace (Ctrl-R) Open the "Replace" dialog.
Tools
Compile (Ctrl-SHIFT-C) Compila the current document.
Run (Ctrl-SHIFT-R) Execute the current document.
Stop   Stop the current processing.
  Format source code (CTRL-SHIFT-F) Beautyfy the source code.
Console
Hide Tree   Hide the tree component.
Show Tree   Shows the tree component.
Hide Console   Hide the console.
Show Console   Show the console.
Show Panels   Shows all the sub panels.
Full Screen   Hide the sub panels.
Clear Console   Clean the console.
Dialog
Preferences   Open the preferences dialog.
Help   Open the Help dialog.
About   Open the About dialog.

Write, Compile, Debug, Execute

Start Ginipad. The application should look like this:

Premess (or CTRL-N): it will be shown a dialog frame. Set the controls like shown, and press OK.

Now you can type the following source code:

public class HelloWorld {
  public static void main(String argv[]) {
    System.out.println("Hello World!")
  }
}  

Press (or CTRL-S) and save the source with the name "HelloWorld.java".

Press (or SHIFT-CTRL-C) to compile. After a while, the console will notify an error: click it to highlight the line inside the editor:

Add a semicolon, as shown:

public class HelloWorld {

  public static void main(String argv[]) {
    System.out.println("Hello World!");
  }
}
 

Recompile. Everything should go fine now. Premess   (or SHIFT-CTRL-R) to launch the program. The console will show the following output:

Code Formatting

When you are working on Java sources, you need some indent facilities. With Ginipad you can higlight the lines you whant to indent, and then press TAB to indent or SHIFT-TAB to unindent.

Moreover you can format the whole source code with the command "Format source code", that you can call throug the "Tools" menu or with CTRL-SHIFT-F. To learn how to set the code formatting options, look the "Customization" section.

Source Browser.

Ginipad have a confortable Source Browser, that offer a tree representation of source codes's classes, methods, fields and interface. It does update automatically, after any editing session.

When you click an element of the tree (either a leaf or a node) the corresponding code fragment is highlighted inside the editor: this feature will help you to browse easily large programs.

Symbols
Source File
Class
Interface
Attribute
Method

With the buttons "Fields" and "Operations" you can hide fields and methods from the tree representation, if you need to simplify the view.

File System Browser

If you choose the tab "My Computer", up in the left, above the Source Browser, it will be shown a practical File System Browser:

Java files are represented with the Ginipad icon: double click them to open indide the editor.

Find & Replace

To start up the "Find" or the "Find e Replace" panel, choose the menu item "Find" or "Replace..." from the "Edit" menu. Now it will explainded the "Find e Replace" panel.

Type the string to search on the upper text field: the caret will be placed on the first occurence of the string. If you check "Case Sensitive", the search will condider upper-lower case letters. Type return to go to the next occurence.

Type the string to substitute in the lower text field and press return. It will be shown a multi choice dialog, to specify if you whant to substitute the current selection (Replace), to substitute all the occourence (Replace All), to skip to the next (Next) or to stop the operation (CANCEL):

Customization

With Ginipad, you can customize quite everything, with a complete set of preferences panel. The new settings will be saved on the user profile.

Besides visual attributes, you can customize code formatting options and compiler flags. To activate the preferences dialog, choose "Preferences" from the "Edit" menu.

Editor Panel

The "Editor" panel provide a way to customize editor's font and colors. From this panel you can also enable and disable the auto completition facility.

  • Auto Completition Facility: enable-disable the auto completition facility.
  • Editor Font: Provide the controls to set the editor's font, his size and syile (bold-italic). A common choice is plain "monospaced" or "Courier", with a size of 12 or 14. Scale to 18 if you need to do a video projection.
  • Editor Colors: allow to set background and foreground colors. (Foreground).
  • Syntax Highlight: this section offer the opportunity to customize the syntax highlight color set.

Look and Feel Panel

The Look & Feel panel provide a way to customize the visual appearence of the GUI.

  • Swing Look & Feel: enables you to set the Swing Look and Feel. You can choose between the installed Look and Feels and a set of skin, by default "Modern", "Aqua" e "XPluna". You can download some more skin from http://www.l2fprod.com/". To include them copy the downloaded zip files in the "themePack" folder that you can find on the main Ginipad folder.
  • Next time start with different Mutlti Document Interface": allow you to choose the multi document interface: besides the classical tabbed interface, you can choose a card and an internal frame MDI. The change will be available after a restart.

    Card Internal Frame

  • Next time start with different Icon Set": you can choose between the default 16x16 pixel icon set and an alternative 24x24 pixel set. The change will be available after a restart.

Console Panel

This panel provide a way to set font and color for the console.

  • Runtime Console Settings: provide a way to set Font and Colors for the runtime console.
    • Use Editor Font and Colors: use the same font and color of the editor. When you check this box, the other controls, except "Errors" and "Messages", are automatically disabled.
    • Font: set font's name, size and style.
    • Colors: provide a way to set up background and foreground colors.
  • Compiler Console Settings: provide a way to set Font and Colors for the compiler console.
    • Use Editor Font and Colors: use the same font and color of the editor. When you check this box, the other controls, except "Errors" and "Messages", are automatically disabled.
    • Font: set font's name, size and style.
    • Colors: set background, foreground, error message and compiler message colors.

Tree Panel

Perovide a wayt to set up font and colors for the tree components.

  • File Browser Settings: provide a way to set Font and Colors for the File Browser.
    • Use Editor Font and Colors: use the same font and color of the editor. When you check this box, the other controls, except "Errors" and "Messages", are automatically disabled.
    • Font: set font's name, size and style.
    • Colors: provide a way to set up background and foreground colors.
  • Source Browser Settings: provide a way to set Font and Colors for the Source Browser.
    • Use Editor Font and Colors: use the same font and color of the editor. When you check this box, the other controls, except "Errors" and "Messages", are automatically disabled.
    • Font: set font's name, size and style.
    • Colors: provide a way to set up background and foreground colors.

Code Format Panel

With this panel you can set up code formatting preferences.

  • Style: you can choose between two formatting style (Compact Style ed Aligned Braces), and set the indentation width. You can figure out the effect watching the preview on the left.
  • Line Wrap: when checked, wrap lines longer than the specified lenght.

Compilatore Panel

With this panel you can set the most important compiler and runtime settings.

  • Compiler Options: allows you to set compiler's flags:
    • Optimize: optimize the resulting bytecode.
    • Show deprecated API: shows informations on deprecated APIs.
    • Generate no warning: check this if you are not interested in warnings.
    • Generate verbose Output: generate an output with additional informations.
    • Output directory: provide a way to set up an output directory different from the source one. When you check this box, you have two choices: if you press  , class files will be placed on a folder "/out" relative to the source folder; if you press   you can specify an absolute path.
  • Assert Facility: provide a way to set up assert related flags.
    • Enable 1.4 source code support: enable assert support. You must check this option if you whant to compile source code that contains assert statements.
    • Enable assert on execution: enable assert checking during execution. When unchecked, assert will be ignored.
    • Enable assert on system classes: enable assert checking on JDK classes during execution
  • Additional Classpath: allow you to extend the classpath with folders, zip and jar files. Entries can be removed one by one with the button "Remove".
  • JDK Location: it provide a way to specify where the JDK is. This parameter is set automatically the first time you start the program, and normally don't need to be modified.

Instructions

Overview

Command Table

Write, Compile, Debug, Execute

Code Formatting

Source Browser

File System Browser

Find & Replace

Customization

 

MokaByteŽ č un marchio registrato da MokaByte s.r.l.
JavaŽ, JiniŽ e tutti i nomi derivati sono marchi registrati da Sun Microsystems.
Tutti i diritti riservati. E' vietata la riproduzione anche parziale.
Per comunicazioni inviare una mail a info@mokabyte.it