View RSS Feed

My Java Tips

  1. PDE Concepts

    by , 11-17-2011 at 07:50 PM (My Java Tips)
    In this post, I will introduce some PDE concepts to the audience.

    Host vs. runtime

    When you start up the workbench, you will use it to work on your projects that define the plug-ins you are building. The workbench instance that you are running as you develop your plug-in using the PDE and other tools is the host instance. The features available in this instance will come exclusively from the plug-ins that are installed with your application.

    Once ...
  2. Defining a rich client application

    by , 11-13-2011 at 06:50 PM (My Java Tips)
    The definition of a rich client application plug-in starts out similarly to the other plug-ins we've been studying. The only difference in the first part of the markup is that the list of required plug-ins is much smaller than we've been used to.

    XML Code:
    <!--?xml version="1.0" encoding="UTF-8"?-->
    <!--?eclipse version="3.0"?-->
  3. Execute An External Program From Java

    by , 11-08-2011 at 07:49 PM (My Java Tips)
    A Java programmer may need to access the environment under which the application is running. It is supported by getRuntime method in Runtime Class. Programmer need not create an instance of Runtime class, Instead the Java application has a single instance of class Runtime environment in which the application is running.

    Runtime class has several methods that are useful to execute an external program, getting Information about processors, Memory Information etc.

    Java SE