
In that case, make a directory named "elvish". Let's say you want to make a language setting for Elvish. Create a new directory for the language you want.

These contain all the language dependent texts. In the lib directory, you will find subdirectories named "english", "german" and "swedish" and so on. We are looking for volunteers to do that. All labels, menus and dialogues have to be translated. How do I use objects from the standard library classes?įor other languages, you will have to make your own translation.
EXPORT A BLUEJ PROGRAM ARCHIVE
Use the Preferences Dialogue to add a library, and for accessibilityįrom a single project you can create or add an archive to a project's "+libs" directory. Users and all projects) you can use the "userlib" directory.įor user level access (all projects for a single user) you can So in summary there are three ways that custom class librariesĬan be made available inside BlueJ.
EXPORT A BLUEJ PROGRAM ZIP
YouĬan simply zip up the project directory and distribute the project. With any libraries that might be needed for it to function. This comes in handy if you want to distribute a project Is a convenient way to allow libraries to be loaded on a project-by-projectīasis. If a directoryĬalled "+libs" is found inside a project when it is openedīy BlueJ, then all the class libraries inside it will be on theĬlasspath (and therefore available for use in the project). The third way is via the "+libs" directory. These libraries will be available in all projects. Of the "Preferences" dialog also, but libraries cannotīe added to or removed from the userlib directory via the dialog. Libraries loaded via this second method are listed in the "Libraries" tab Naturally, to put a library in a "userlib" directory,Ī person must have write access to the directory. Same installed copy of BlueJ, so it can be used for instance inĪ lab environment to make the libraries available to all students. This is intended to be a "system wide" method to useĬustom class libraries as it will apply to all users using the Which is itself found inside the folder in which BlueJ was installed).Īny libraries placed in this directory will be loaded by BlueJ. The second way is via the "userlib" directory, foundĪt /lib/userlib (that is, inside the "lib" folder SimpleIO (not the simpleIO directory itself) as the library! Named "simpleIO"), choose the directory that contains In a named package directory structure (for example in a directory Select the jar file itself as the library. One small thing to look out for: if the classes are in a jar file, The selected libraries will now be available Then add the location where your classes are as a library path.

The "Preferences" dialogue and select the "Libraries" tab. The first way is via the "Preferences" dialog. There are actually three ways of doing this in BlueJ. Without the need to copy all the simpleIO classes into every project. You may have your own package called "simpleIO" that In the same style as the Java standard libraries. Eclipse will export and archive your project into an archive file and store it in the location you specified.Sometimes, you may want to make your own libraries generally available

From Options section, you can choose the archive format and other project related options. Click the checkbox next to the project you would like to export. You can also use the search text box to find easier the wanted option. Select Archive File in the list presented in the figure above and click Next. To export an entire Eclipse project into an archive file, follow these steps. Click Finish to import the project into Eclipse.Ĭongratulations, the project should now appear in your Project Explorer view! Export In the Projects list, the project should be already selected. If you import the project from a folder click the Select root directory and click the Browse button on the following dialog.įind the archive file or the folder on your hard disk. If you import the project from archive click the Select archive file and click the Browse button on the following dialog. To import an entire Eclipse project from an archive file or a folder, follow these steps.
EXPORT A BLUEJ PROGRAM HOW TO
In this article will present how to import and export Java Project to/from Eclipse.
