News in NetPhantom 4.1

These are news implemented in NetPhantom version 4.10 Build 4500 since version 4.00 Build 4233.

Also see news in the previous versions.

News in Version 4.10 Build 4500

  • Publishing of applications as Applet, NetPhantom Starter or Java Web Start
    A new feature enables an application to be published for clients, by creating an HTML document for NetPhantom Client running as an Applet, to add/remove an application for NetPhantom Starter (normal communication and/or for SSL), or by creating a JNLP document for Java Web Start, enabling the NetPhantom Client to run as a Java Application with short-cuts that can be placed on the Desktop or in the Start menu. This feature also enables creation of an Application ID that groups several runtime applications together, along with the Host session ID and the option Search matching screen from first application. These are the applications published as Java Web Start applications shipping with NetPhantom.
  • Copy and append to clipboard plus drag-and-drop in panels enhancement
    New functionality to support clipboard Copy and Append with both text and image from several components in a panel. Rectangle marking in a panel is available by clicking mouse button 1 (outside of controls that processes mouse dragging such as entry fields and list boxes) and dragging it to create the required rectangular area. Pressing mouse button 2 inside the marked area will pop-up a menu to select the Copy or Append actions.

    Drag-and-drop is also enabled in panels. Entry field controls (entry field, multiple line entry field, combination box and spin button) support both drag and drop, while list boxes only supports drag operations. If a panel has a rectangle marking as described above, dragging the selection with mouse to another application will transfer both the panel text and the image. If only the image is required, press the Control key and hold it down while performing the drag operation.

    To disable drag-and-drop for the entry fields and list boxes, set the client parameter DRAGDROP:0.

  • Support for Windows Server 2008 and Windows 7
    NetPhantom now supports Windows Server 2008 and Windows 7 for the Editor, Server and Client using Sun JDK 1.6.0 update 12 or better. See System Requirements for more information.
  • Extended browser support with Google Chrome, Opera and Apple Safari
    NetPhantom Editor now supports the popular browsers Internet Explorer (in various versions including version 8), Mozilla Firefox, Google Chrome, Opera and Apple Safari. Browsers based on the Mozilla and the Sun Java plug-in generally work too, unless their browser identification in different than "Mozilla".
  • New security option prohibits users to run other applications than the published ones
    This enables better control of runtime applications, the host environment, and last but not least, the way clients will run the application: as Applet, NetPhantom Starter or Java Web Start, while specifically checking e.g. their Java Runtime environment for compatibility.
  • Remote Assistance for Developers
    This functionality enables a developer to request Remote Assistance from NetPhantom Support. This is initiated by the developer, and the NetPhantom Editor establishes a secure communication link using SSL to a Remote Assistance Server (e.g. An integration with the developer’s PC using VNC Server Free Edition (see the web site enables NetPhantom Support to control the developer’s PC using keyboard and mouse through the Remote Assistance Server (secured by SSL). In order for a Developer to use this service, contact NetPhantom Support. Click here for more information.
  • New SmartApplet feature to support Client-based code in Jar files
    The SmartApplet feature is now enhanced to support specification of additional Client-based Jar files the NetPhantom Client needs for the Applet definition depending on the specified application ID(s). The Client Jar files from the specified application ID(s) are added after the NetPhantomClient.jar file in the Archive attribute for the Applet tag. To refer to a particular Client Jar file for an application, the resource name should be defined as /*APPID/client_file.jar. This is also the name of the resource in case a security setting needs to be applied for a particular file. The resources client_file.jar must of course be present in the Project settings for the application in question.
  • Application client-based code in JAR files support for Applet and Java Web Start
    Support for application client-base code in Jar files is now added when running the NetPhantom Client as a Java Applet and using Java Web Start. Previous security exceptions are no longer an issue. The client-based Jar files are however never cached when running as a Java Applet (even if the Cache JAR file option is selected; it is only valid for NetPhantom Client when running as Java Application or using Java Web Start).
  • Signing of client Jar files for Applets or Java Web Start
    A new feature allows signing of client Jar files with either the NetPhantom certificate or a custom one. This enables Applet and Java Web Start clients to have client Jars with security privileges as trusted Java code. The signing of the Jar files is done automatically when performing Compile distribution or when selecting the option Sign Jar file(s) now in the Project configuration.
  • Packing of client Jar files for Applets or Java Web Start
    A new feature allows repacking of client Jar files with the PACK200 tool provided with Java. The client Jar files becomes smaller and an option to remove debug information is available. This reduces the size of the Jar files and makes it faster to load the application. This repacking is automatically done when performing Compile distribution, depending on the selected options in the Project configuration dialog box.
  • Possibility to run the project currently being edited as an Applet inside e.g. a browser
    NetPhantom Editor now supports launching a Browser to run the client as an Applet, running the application currently being edited. The default system browser can be used, but NetPhantom will also search for Internet Explorer versions, Mozilla Firefox, Opera and Safari.
  • Reload application on the Server after build
    After an application has been completed or updated in the Editor and no errors or inconsistencies remain, it can be compiled into a distribution. This is the final and complete form of the application and can as such be deployed on a Server. This re-deployment can now be done as part of the same sequence as the rest of the development cycle – the finished application is made publicly available on the Server integrated in the Editor. The prerequisite is that the application is configured as published on the Server.
  • New Proxy settings configuration for NetPhantom Editor and Server
    Using the menu items Server – Configure – Proxy settings for the Server and Server – Proxy settings in the Editor, it is possible to configure how the Editor and the Server accesses external information, using e.g. the HTTP or HTTPS protocols, in order to support proxies.
  • New options for vertical text alignment in static text and output text controls
    NetPhantom Editor now supports vertical alignment -- top, vertical center and bottom -- for the static text and output text controls, even when they are word-wrapped, i.e. multi-line.
  • Drag and drop enabled in Console Output window
    New functionality to support drag and drop between the NetPhantom Console Output window and external applications.
  • Option to select IPv4 stack
    In a network that only has IPv4 enabled, a new option to Prefer IPv4 stack over IPv6 is now available in the Server – Configure – Base panel.
  • New menu items for documentation
    New menu items for the PDF documentation of NetPhantom, REXX language and the web sites are added to the Terminal and Panel part of the Editor.
  • Panel transform inhibit option in Application data
    New option to prevent panels to be transformed by Server configuration (font substitution and/or ratioX/ratioY). This on a per application basis and as such, part of the application definition in the Panel Editor Application data - Main/Pop-up with the option Disable panel transformation (font and size).
  • New combination box Auto-complete entry field option
    The combination box control now has new settings for Auto-complete of the entry field. It can be set ON, OFF or Default (the default is ON unless comboAutoComplete=0 option is set in [base] section in "server.ini").
  • Better keyboard support in the Panel Editor
    The keyboard support has been enhanced so that the numeric pad can be used to e.g. move controls or change selection. The digits 1-4 and 6-7 moves the mouse cursor in the respective direction, and holding the shift key down will cause the selected controls to be moved. The plus sign key performs selection of the next control, and if the shift key is also pressed, the selection of controls is extended to the next control in the tab order. The minus sign key does like the plus sign key, but backwards, i.e. in reversed order. The multiply sign key selects all controls, and the division sign key unselects all controls.
  • Possibility to disable a notebook page
    It is now possible to disable a notebook page by setting it’s panel enabled state to false using VirtualPanel.setEnabled(false) or from REXX rc=PanSetCtlStyle('PanelID/*PANEL',0). The notebook page is disabled so that the user cannot page to it, however, the server or an operation requesting a change to this page (e.g. from host) can still cause the page to be activated on the client.
  • Option Bold font for current page in notebook implemented
    The notebook option Bold font for current page is now implemented for NetPhantom Clients running Java 1.6 or better (there is no support for this option under Java 1.5).
  • Automatic anti-aliasing (smoothing) of screen fonts
    NetPhantom Client now draws all the texts in the panel using the same anti-aliasing mechanism as the underlying look-and-feel when running Java 1.6 or better. When running Java 1.5, anti-aliasing is supported with the Java command line switch (or Java executable parameter) –Dswing.aatext=true.
  • New NetPhantom Client option to set application background color
    A new option for the NetPhantom Client, APPBGCOLOR, allows setting a color for the background in an application panel or the Applet area. This parameter has the form APPBGCOLOR:XXXXXX where XXXXXX is the hexadecimal encoding of an RGB color (much like colors in HTML), e.g. APPBGCOLOR:c0C0c0 will set a gray background.
  • NetPhantom Client informs the Server of installed fonts
    When a NetPhantom Client starts up, it transfers all installed and for Java available font names to the Server. These font names are accessible through the VirtualSessionManager using the Java API.
  • New "Protocol" option for the RESURL client parameter
    A new protocol option for the RESURL client parameter is available as @**PROTOCOL@ that will result in either http or https. This means that the RESURL can be set to e.g. RESLURL:@**PROTOCOL@://@**SERVER@:@**PORT@ and that this will cause resources to be loaded from the root of the server from which it is communicating with.
  • Support for the HTTP/1.1 HEAD method
    The NetPhantom Web Server now supports the HTTP method HEAD commonly used with clients running Java VM’s of version 1.5 or better.
  • NetPhantom Remote Application API (RAPP) uses JAXP instead of Xerces
    The NetPhantom RAPP now only use the Java 1.6 API’s JAXP to process XML files instead of using Apache Xerces versions 1 or 2. This avoids having a second Jar file called NetPhantomRAPP2.jar: just NetPhantomRAPP.jar is now used, and references to openxml-1.2-np.jar are not required.
  • Panels, windows and dialog boxes shows the NetPhantom icon
    The NetPhantom icon is now shown instead of the "Java Cup" that was previously shown in panels, windows (such as NetPhantom Starter) and some dialog or message boxes.
  • Better performance for background project compiling in the Editor
    NetPhantom Editor now has the background project compiling enhanced in regards to performance and also finer file system changes monitoring, e.g. when editing REXX files outside the NetPhantom Editor and saving them.
  • Java console output window
    The Console output in the Editor now has the option to save all output to a log file and also to change the output font.
  • User window Java package name
    The server part of a user window is either appname.serverUserWindow.MODULE_PROCEDURE" or just "serverUserWindow.MODULE_PROCEDURE". The client part is "cuserwin.MODULE_PROCEDURE". This caused name collisions with NetPhantom User Windows, and worse, when combining this in a signed and secured JAR file, this one couldn't load (or the NetPhantom Client JAR depending on the order). The resolution is now that NetPhantom user windows has a "2" appended to "serverUserWindow" and "cuserwin" packages.
  • Private classpath setting for CGI definitions
    The CGI definitions for the Web server are now enhanced with the possibility to use a private class loader with a specific classpath.
  • Sample debug JVM settings for NetPhantom Editor
    A sample definition in the PHANTOM.INI file shows how to configure the NetPhantom Editor to be able to be debugged remotely by e.g. Eclipse:
          ; For debug inside e.g. Eclipse!
          ; For Java 2D using DirectX


Previous versions

The links below indicates news implemented in the individual builds: