//====START_GENERATED_PROLOG======================================
//
//
//   COMPONENT_NAME: odother
//
//   CLASSES: none
//
//   ORIGINS: 27
//
//
//   (C) COPYRIGHT International Business Machines Corp. 1995,1996
//   All Rights Reserved
//   Licensed Materials - Property of IBM
//   US Government Users Restricted Rights - Use, duplication or
//   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
//   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
//   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
//   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
//   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
//   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
//   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
//   OR PERFORMANCE OF THIS SOFTWARE.
//
//====END_GENERATED_PROLOG========================================
//
// @(#) 1.4 nt/src/samples/JavaPart/iodjava.rc, odjavapart, od96nt, odnt9714c 3/19/97 03:58:33 [ 4/2/97 17:55:01 ]

#include "windows.h"
#include "iodjava.h"


/*
 *  Preferences dialog box...
 */
PreferencesDialogResource DIALOG DISCARDABLE  0, 0, 220, 120
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Preferences"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",	IDOK,		165,10,50,14
    PUSHBUTTON      "Cancel",	IDCANCEL,	165,25,50,14

   
    GROUPBOX        "Initial Applet", IDC_STATIC, 10,10,150,40
    EDITTEXT        ID_INITIAL_APPLET,		20,25,75,15,ES_AUTOHSCROLL |
						ES_READONLY
    PUSHBUTTON      "Set", 	ID_SET_INITIAL_APPLET, 115,25,35,15 

    GROUPBOX        "Network",	IDC_STATIC,	10,60,200,50
    LTEXT           "Proxy host",IDC_STATIC,	20,75,35,10
    EDITTEXT        ID_PROXY_SERVER,		20,85,100,15,ES_AUTOHSCROLL
    LTEXT           "Port",	IDC_STATIC,	130,75,15,10
    EDITTEXT        ID_PROXY_PORT,		130,85,25,15,ES_AUTOHSCROLL
    LTEXT           "Use Proxy",	IDC_STATIC,	165,75,40,10
    AUTOCHECKBOX    "", ID_USE_PROXY, 175,85,25,15
END


/*
 *  Choose Bean dialog box...
 */
ChooseBeanDialogResource DIALOG DISCARDABLE  0, 0, 200, 135
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Choose Bean"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Enter fully qualified bean name:", IDC_STATIC, 10,10,180,10
    LTEXT           "Example: java.awt.TextArea", IDC_STATIC, 15,30,180,10
    LTEXT           "Example: sunw.demo.juggler.Juggler", IDC_STATIC, 15,45,180,10
    EDITTEXT        ID_BEAN_NAME, 25,75,150,15,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",	IDOK,		25,110,50,15
    PUSHBUTTON      "Cancel",	IDCANCEL,	125,110,50,15
END


/*
 *  Applet properties dialog (not used at present)...
 */
AppletProperties DIALOG DISCARDABLE  0, 0, 300, 140
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Applet Properties"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "URL",	IDC_STATIC,	20,20,15,8
    EDITTEXT        ID_URL,			20,30,224,14,ES_AUTOHSCROLL

    LTEXT           "Class",	IDC_STATIC,	20,50,15,8
    EDITTEXT        ID_CLASS,			20,60,224,14,ES_AUTOHSCROLL

    LTEXT           "CodeBase",	IDC_STATIC,	20,80,15,8
    EDITTEXT        ID_CODEBASE,		20,90,224,14,ES_AUTOHSCROLL

    DEFPUSHBUTTON   "OK",       IDOK,		10,110,50,15
    PUSHBUTTON      "Cancel",	IDCANCEL,	60,110,50,15
END


/*
 *  Help dialog...
 */
HelpDialogResource DIALOG DISCARDABLE  0, 0, 307, 224
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Java Part Help"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",	IDOK,		250,5,50,15
    PUSHBUTTON      "Cancel",	IDCANCEL,	250,25,50,15
    EDITTEXT        ID_HELP_TEXT,		5,5,230,210, ES_READONLY |
				ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL
END

/*
 *  Help:  CLASSPATH not set...
 */
HELP_CLASSPATH_NOT_SET RCDATA
BEGIN
"ERROR: CLASSPATH environment variable is not set!\r\n"
"\r\n"
"The JavaPart requires that you have the Java JDK 1.1 installed on your system.\r\n"
"\r\n"
"Before you will be able to run the JavaPart, you will need to do the following:\r\n"
"\r\n"
"(1)  Download and install Sun's Java JDK from: http://www.javasoft.com\r\n"
"(2)  Install in C:\\Java\r\n"
"(3)  Add following to PATH environment variable: C:\\Java\\bin\r\n"
"(4)  Set CLASSPATH environment variable to: C:\\Java\\lib\\classes.zip;%ODSRC%\\dll\\JavaPart.zip\r\n"
"\0"
END


/*
 *  Help:  CLASSPATH missing 'javapart.zip'...
 */
HELP_CLASSPATH_MISSING_JAVAPART RCDATA
BEGIN
"ERROR: 'JavaPart.zip' is missing in the CLASSPATH environment variable\r\n"
"\r\n"
"The CLASSPATH variable must contain %ODSRC%\\dll\\JavaPart.zip "
"(the JavaPart classes) in order for the JavaPart to run."
"\0"
END
