Share on Google+Share on Google+



JBuilder Tutorials


  1. Class Browser in JBuilder
    I've found that a couple of really nice, time-saving features in JBuilder are not easily found. On of these great features is JBuilder's Class Browser. In this tutorial, I'll show you how to start JBuilder's Class Browser from within the editor, and I think you'll quickly see the benefits. For the purposes of this tutorial, I've created a simple DemoClass, as you can see in Figure 1. Notice that the area I'm about to type in is highlighted in yellow (this actually comes from one of JBuilder's great OpenTools projects).
  2. Text in JBuilder
    JBuilder is able to rapidly build a Graphical User Interface to handle text. Moreover it has the ability to create an interactive user interface that allows not only the input of plain text, but also the manipulation of the text as in word processing , the program for which is developed through the use of standard items on the component palette. The student is again fortunate that the Jbuilder Help File contain a very useful tutorial on the development of a Text Editor, and the framework of this tutorial is included in this section.
  3. Building a Java text editor
    This step-by-step tutorial uses JBuilder to build, test and run a Java application called "Text Editor". This application is a simple text editor capable of reading, writing, and editing text files. The Text Editor tutorial uses the Project and Application wizards to create a project and a set of visually designable files. Then it shows you how to use the visual design tools, modify the UI design, hook up events, and edit source code. It steps you through handling events for commonly used components and tasks, such as menu items, a toolbar, a text area, and system events.
  4. JBuilder 9 Personal Tutorial I
    Speed coding and debugging with an integrated, extensible source code editor, graphical debugger, compiler, visual designers, timesaving wizards, sample applications, and support for Java standards. Get started quickly using the included tutorials. Develop on the Windows, Linux, and Solaris platforms. Rapidly build Java applications using the Borland AppBrowser? integrated development environment, refactorings, build and configuration management tools, CVS version control, and Two-Way-Tools?. Easily create JavaBeans with BeansExpress?. Speed coding and reduce syntax errors with CodeInsight? and ErrorInsight? technologies.
  5. Creating a project in JBuilder
    Launch the JBuilder application. It will bring up a screen similar to the one shown below. You'll want to create an applet, not a project. To do this, select new from the file menu as shown below. Now you need to specify a path where you want to save your applet. Initially, you'll get a window similar to the first window below. Modify the "File:" line to look like the second box below, where you choose a name for your project (I've used proj1 in this example). Its important to store your applet in the JBuilder folders so you can easily locate your .class files later. Don't worry about all the other junk like title and author, it doesn't matter to your applet. When you are done, click finish.
  6. JBuilder: Hello World
    The goal of this lesson is help you to become familiar with the Borland JBuilder tool, and for you to write, compile, and execute a simple Java application that displays the message "Hello world!" Start by loading the Borland JBuilder tool. JBuilder remembers the most recent project you've worked on, and automatically opens it for you. Since we're creating a new project, however, we need to close it and create a new project. Once you've created a project, you can begin to write your first Java application. The project view allows you to manage your project's files. You can select a file, and edit it, or you can add/remove files using the 'Add to project' and 'Remove from project' buttons. 
  7. JBuilder: Introduction to applets
    In this lesson, you'll learn how to write simple applets in Borland JBuilder, and how to use the design view to construct a graphical user-interface (GUI). An applet is an executable program that runs inside a browser, such as Netscape or Internet Explorer. We'll create a simple applet, and learn how they work. Create a new project, called "AppletDemo", as explained in the previous lesson. Remember the name of the directory where you create your project - we'll need this information. An applet is a class that is executed under the control of a world-wide-web browser, such as Netscape Navigator or Internet Explorer. We'll create a new class, called AppletDemo, that runs as an applet.
  8. Java Madness
    For the purposes of this course, an understanding of how to navigate inside the JBuilder environment is essential. Coming to understand that basics of that tool is one of the primary purposes of this chapter. Remember that JBuilder Foundation is created entirely in Java. It is therefore an excellent example of what you can do in Java if you have the necessary skill and experience. Getting you started on the road to gaining that experience is one of the primary purposes of this text.
  9. Creating a GridBagLayout in JBuilder
    This tutorial demonstrates how to create a GridBagLayout UI container using the JBuilder visual design tools. The goal of this tutorial is to give you a thorough understanding of how GridBagLayout works in JBuilder and to show you how to simplify GridBagLayout design. While the information here is aimed at working with JBuilder, much of it also applies to working with GridBagLayout in general. The tutorial is valid for all supported platforms, as the functionality of JBuilder and GridBagLayout is the same. The images in this tutorial were captured on the Windows platform.
  10. Compiling Java Programs
    A Java compiler reads Java source files and produces the Java program in the form of .class files containing bytecodes that are the machine code for the Java Virtual Machine (VM). Compiling produces a separate .class file for each class and interface declaration in a source file. When you run the resulting Java program on a particular platform, such as Windows NT, the Java interpreter for that platform runs the bytecodes contained in the .class files. For general information about compiling in Java. The default compiler for the JBuilder IDE, Borland Make for Java (bmj), has full support for the Java language. Borland Make, which has been rearchitected to use the standard javac compiler, continues to use smart dependencies checking, so the compiling/recompiling cycle is faster and more efficient. The dependency checker determines the nature of source code changes and only recompiles the necessary files.
  11. Building Java Programs
    JBuilder's build system, based on the Java-based build tool Ant, involves various build phases. Build phases, which are special targets that the build system always creates for every build process, can include such build tasks as preparing non-Java files for compiling, compiling Java source files, archiving, deploying, and so on. The build system can be customized and extended with the OpenTool Builder class. The JBuilder compiler, Borland Make for Java (bmj), has full support for the Java language, including inner classes and JAR files. Because the JBuilder compiler uses smart dependencies checking, the compiling/recompiling cycle is faster and more efficient. The dependency checker determines the nature of the changes and recompiles only the necessary files.
  12. Deploy a JBuilder applications
    Okay, so you've learned how to work with JBuilder, and you've developed a really cool Java 1.1 application - the world's next killer app. Running it inside of JBuilder's IDE it sure looks like the great Java application you envisioned. Now you're ready to deploy the application and sell it to a few million end users. You simply choose the Deployment Wizard and ? whoa ? what's going on here? JBuilder's Deployment Wizard is a good start in helping you deploy a Java 1.1 application, but it can be confusing to use, and appears to suffer from a memory leak that may cause it to hang (Note: This was a problem in version 1.x of JBuilder). From what I've learned, it also seems somewhat more geared to applet deployment than application-deployment, so deploying JBuilder applications requires a bit more work than applets.
  13. Use JUnit as a library in JBuilder
    Junit is the unit testing tool for Java developers, and I'm often asked if Junit can be used inside of JBuilder. The answer, of course, is yes. Here are the simple steps required to include the Junit JAR file into your JBuilder environment. To use Junit inside of your JBuilder applications, all you need to do is add the Junit JAR file to the JBuilder environment as a standard library. Once that is set up, a few quick adjustments will get you up and running with Junit in just a few minutes.
  14. Programming JBuilder's TreeControl Component
    JBuilder's TreeControl has become my favorite user interface component of late. It's a great component for presenting hierarchical data structures to end-users, for things like computer filesystems, indexes of books, indexes to hypertext documents and web sites, and as a database interface. You see many examples of TreeControl components throughout JBuilder's AppBrowser , such as in the Navigation or Structure panes. In this article we'll use JBuilder's TreeControl component to build a TreeControl frame to act as an index for a hypothetical book, code-named "My Life and Times." In this example you'll learn how to create and populate a TreeControl component for use in your own applications. 
  15. JBuilder OpenTools Basics
    Every time JBuilder starts it dynamically discovers the available OpenTools and gives each one a chance to perform its own initialization at the appropriate time. There are no limits to what an OpenTool can do - it could register a new menu item, a new file type, a new viewer, or search the web for email and display its own user interface. OpenTools are written in JavaTM and can do just about anything, though typically they will take advantage of methods exposed as a part of JBuilder Foundation's OpenTools API to add features to the IDE.





Posted on: May 12, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.


Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image