Projects and layouts

A layout is adequate to a JPanel owning a design grid (when you export the layout, you can choose to export a JPanel, a JDialog, a JFrame or a JApplet). All the layouts you create for one programming project are associated with one RADi project.

Creating a new project

To create a new project, choose 'File | New Project'. The opens.
Project name: Both the project's name and the name of the project's directory. (This implies that the project name must be a valid directory name on your platform).
Project location: Path to the project's directory. You can select another parent directory for this project.
Sources directory: Directory (inside the project directory) where to store source code files. Setting should depend on your programming project's settings. (You can change settings at a later time by selecting 'Project | Properties')
Classes directory: Directory (inside the project directory) where to store class files. Setting should depend on your programming project's settings. (You can change settings at a later time by selecting 'Project | Properties')

Note: You can (and should) define the base directory for all your projects at 'File | Preferences'.

Project files have the extension .radj.
To copy a project, you must copy the entire project directory and rename the project file, then load the project file into RADi.

Creating a new layout

To create a new layout, choose 'File | New Layout'. The opens.
Layout name: Must be unique to the currently active project.
Rows: Initial number of rows.
Columns: Initial number of columns.
Size: Overall grid size which is equally divided between rows and columns. Choose predefined sizes from the list or enter a size of your own.
Use as default: Make the current settings the default settings for this dialog.
Template: Select a previously stored layout template.

Layout files have the extension .radi.
You can copy layouts using the layout's from the project view.

See also:
Integrating RADi into your work flow