Updated 00/02/23
Sun WorkShop(TM) Visual 6 Readme


This document contains last-minute information about Sun WorkShop Visual 6. This document describes the software corrections addressed by this release and lists the known problems, limitations, and incompatibilities.

To access the HTML version of this document, point your Netscape(TM) Communicator 4 or compatible Netscape version browser to:


To view the text version of this document, type the following at a command prompt:

     example% more /opt/SUNWspro/READMEs/visu

Note - If your Sun WorkShop software is not installed in the /opt directory, ask your system administrator for the equivalent path on your system.

For more information about this product, see:

  • Sun WorkShop 6 Release Notes -- Describes installation-related and late-breaking information about this Sun WorkShop release. Information in the Release Notes overrides information in all readme files.

  • What's New in Sun WorkShop 6 -- Describes the new features in this release.

  • About Sun WorkShop 6 Documentation -- Describes the documentation available with this release and how to access it.
These documents are accessible in HTML by pointing your browser to /opt/SUNWspro/docs/index.html. If your Sun WorkShop software is not installed in the /opt directory, ask your system administrator for the equivalent path on your system.


  1. About Sun WorkShop Visual 6
  2. New Features
  3. Software Corrections
  4. Problems and Workarounds
  5. Compatibilities
  6. Documentation Errors


A. About Sun WorkShop Visual 6 

Sun WorkShop Visual 6 is an interactive tool for creating robust Motif-based and Java(TM) graphical user interfaces with minimal effort. Visual 6 is a component of the Sun Visual WorkShop(TM) programming environment.

Visual 6 runs on SPARC(TM) processors running the Solaris(TM) (SPARC Platform Edition) Operating Environment and Intel(R) processors running the Solaris (Intel Platform Edition) Operating Environment. Visual 6 requires one of the following configurations:

  • Solaris 2.6 Operating Environment and the Motif runtime from the corresponding Solaris release
  • Solaris 7 Operating Environment and the Motif runtime from the corresponding Solaris release
  • Solaris 8 Operating Environment and the Motif runtime from the corresponding Solaris release


B. New Features 

  1. Swing Support
  2. Enhanced Windows Support
  3. Integration With Sun WorkShop Projects
1. Swing Support

Visual 6 now has the ability to generate Java Swing code in addition to Java 1.0 and 1.1. As well as generating appropriate Swing components for the Motif widgets, Visual 6 has increased the range of supported mappable resources: It is now possible to generate appropriate Swing code for toggles that contain images, shell icons, shell resize and delete response, the contents of lists, and rowcolumn entry alignment, among other extensions.

The MWT class library, which maps Motif components into Java where the standard classes lack equivalence, has been ported to Swing in order to provide a more consistent look and feel. The dependence on the MWT to provide a Motif-compatible interface has been reduced as certain of the Motif components are now mapped directly into an appropriate Swing component.

The Java Layout emulation widgets have been reworked where necessary to provide a more consistent behavior with respect to Java Layout characteristics.

As part of a move towards supporting cross-platform code for third- party (non-Motif) components, Visual 6 now has the ability to specify default base classing for any integrated component. The classing can be on a general language basis or for specific variants. For example, it is possible to specify in a general way the proposed default class for Java, as well as Java 1.0, 1.1, and Swing-specific classing. Proposed component MFC classing can also be specified. The mechanisms address the previous problem where each given third-party component would have to be individually and manually configured in order to create the right kind of object in the target language. Third-party specific resources are not mapped. The mechanisms neither cater to situations where a given component needs to be mapped into multiple native objects nor for the case where a compound component can be mapped by consideration of the constituent builtin parts.

 2. Enhanced Windows Support

Visual 6 has added support for mapping X events to Windows MFC:

    MouseMotion(Generates a generic handler for any mouse movement with/without button press)
    ButtonPress(Generate all three handlers i. Left, Center and Right pressed handlers)
    ButtonRelease(Generate all three handlers i. Left, Center and Right release handlers)

 3. Integration With Sun WorkShop Projects

Visual 6 works with Sun WorkShop project wizards to help create projects with graphical user interfaces.


C. Software Corrections

There is no new information at this time.


D. Problems and Workarounds

For updated information, check Hot News at http://www.sun.com/workshop/users/ws.html for Sun WorkShop.

This section lists known software problems that could not be fixed in time for this release:

Bug ID Synopsis
4194475 Need better method of specifying 64 bit visu_capture from command line
4263565 Motif Widget color not displayed properly in Solaris 7
4263468 Generate button doesn't always generate all files
4241411 Widget name used as C++ class for Xrt tab windows generation
4251996 libxdclass not compiled with rtti
4256166 Visual workshop generates incorrect code in some cases
IST-7654    Code editing problem: the prelude source file is missing


E. Compatibilities 

  • With the exception of the files xpm.h and sgml.h, you can consider all source files under the WS6/src directory of the product distribution equivalent to source generated by Sun WorkShop Visual 6. It is okay to port them to any platform as part of a generated application.

  • The sgml and Xpm sources are not supplied with this release. Sun Visual WorkShop ships with pre-built sgml and Xpm libraries. If you need the sgml or Xpm source, see the following readme files for instructions about downloading:
    • <install-dir>/WS6/src/sgml/README


F. Documentation Errors 

There is no new information at this time. 


Copyright 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved.