1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
* Copyright � 2006 Sun Microsystems, Inc. All rights reserved.
4
* Use is subject to license terms.
9
<TITLE>Importing a BlueJ Project</TITLE>
10
<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
15
<h2>Importing a BlueJ Project</h2>
16
<p> <small><a href="#seealso">See Also</a></small></p>
17
<p>You can work with existing BlueJ projects in the following two ways in the
18
NetBeans IDE BlueJ Edition:</p>
20
<li>By opening the project in the IDE and keeping the same BlueJ
22
<p>The advantage of this approach is that you can continue working much as you
23
have in BlueJ, but with the benefit of features in the NetBeans IDE editor.</li>
24
<li>By opening the project in the IDE and then converting the project
25
into a standard NetBeans IDE Java SE project.
26
<p>The advantage of this approach is that the NetBeans IDE project system
27
is more suitable for large projects. For example, you have more features in
28
the IDE for managing the classpath (such as for adding JAR files or the output of another
29
project to your classpath) and managing the way the application is built and
30
packaged. In addition, sources, unit tests,
31
and classes are placed in different folder.</p>
36
<p><b>To import an existing BlueJ project into NetBeans IDE BlueJ Edition:</b></p>
38
<li>In NetBeans IDE BlueJ Edition, choose File > Open Project.</li>
39
<li>In the Open Project dialog box, navigate to and select the folder for the
40
BlueJ project that you want to open.
41
(Project folders are indicated with the <img src="images/projectFolder.gif" alt="project folder image"> image.)
42
Then click Open Project.</li>
45
<p>The project opens up in the IDE. You can view the project in either the BlueJ View
46
window or the IDE's standard Projects window.</p>
48
<p><b>To convert a BlueJ project into a NetBeans IDE project:</b></p>
50
<li>Open the BlueJ project in NetBeans IDE, as described in the procedure above.</li>
51
<li>In the Projects window, right-click the project's node and choose
52
Convert to Java SE Project.</li>
54
<p>When you convert a BlueJ project into a standard Java SE project,
55
the IDE copies the sources from your existing project and places them
56
into a new project, where sources and compiled classes are separated into
57
different folders. Your BlueJ project remains, but is separate from the
58
newly created project. The converted project is not visible in the BlueJ view
59
and can not be opened in BlueJ. </p>
60
<p>In the converted project, you can easily manage the classpath through
61
the Libraries node. You can manage the way the application is built and packaged
62
through the Project Properties dialog box, which you can open by right-clicking the project's node and choosing
66
<dt><a name="seealso">See Also</a></dt>
67
<dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_about.html">About Projects</a></dd>
68
<dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_process.html">Working With Projects</a></dd>
69
<dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_quickref.html">Project Tasks: Quick Reference</a></dd>
75
<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small>