Article View: cn.bbs.comp.lang.java
Article #24199JAVA WORKSHOP (3)
From: �ϵ�
Date: Mon, 20 Apr 1998 00:00
Date: Mon, 20 Apr 1998 00:00
322 lines
10450 bytes
10450 bytes
������: xyz (�����), ����: JAVA
�� ��: JAVA WORKSHOP (3) ת��
����վ: '3m�Ͻ�ɺ�m' (Fri Feb 13 17:39:08 1998) , ת��
1.When will the Java WorkShop be available for the Macintosh platform?
The Java WorkShop for the Macintosh platform will be released sometime after
version 1.0.
2.Use jws instead of jde to start the Java WorkShop.
3.What do the 3-D icons mean on the browser footer?
>From left to right:
�The left-pointing green triangle means "Back to previous URL".
�The right-pointing green triangle means "Forward to next URL".
�The golden house (or up-arrow) means "Return to Home"
�The blue "yin-yang"-like icon is the "Reload" button
�Finally, the red/pink stop sign means "Stop loading"
4.Standard I/O does not appear to work on Windows.
I have tried a "Hello World" program and System.out.println does not produce
any output. Some other products automatically generate a QuickWin for
character oriented I/O, and stay up even when the application stops running
(the user has to close it).
On Windows, both standard output and error are directed to a file called
weblog in the .jws directory. We will be adding a display output window in
the final product that behaves exactly like you want.
The .jws directory is under the directory named in the HOME environment
variable (if you are using Solaris or WindowsNT), or on Windows95 it is under
the Windows directory.
5.How can I modify the font size?
The default font size is chosen as a compromise between low-res and hi-res
screens. It can be changed by editing the file lib/basicframe.properties, and
modifying the property:
html.default.size=14
6.We just installed the Java Workshop - it's beautiful! Why doesn't it
support the basic HTML 2.0 elements, like ISMAP images (imagemaps), though? I
would have thought that this release would even provide support for Netscape
extensions, or maybe HTML 3.0. I will definitely be using it for Java
development, but I'm startled at the lack of support for HTML basics.
We are looking at ways that we can squeeze in as much HTML support in 1.0 as
we reasonably can -- but we have had to make some hard choices about HTML
support in our 1.0 product.
7.When I first launch Java Workshop, the initial window size is larger that
my desktop. I have to resize it before I start working every time. I can't
find an option to save the window size and position. Is this planned or am I
missing something?
Future releases will automatically save coordinates between sessions.
8.How do I turn off usage tracking?
If you delete directory ".jws" and restart JWS it will give you an
opportunity to decline usage tracking, which will turn off the mail at the
end of every run. (If you are using Windows, it should be located under your
windows directory.
Or, edit the jws.properties file. you'll find a jws.usage entry in
c:\windows\.jws\ directory. Set it to false.
9.How do I cut/copy/paste?
Java AWT has no support for cut/copy/paste with the local desktop. It is
being added, but there is no release date for it yet. In the meantime Ctrl-X
is cut, Ctrl-C is copy and Ctrl-V is paste (standard Windows shortcuts). You
can only cut/copy/paste between text editors and you can copy an applet or
image project from the portfolio manager and paste them into the text editor.
The help page dealing with Basic Editing talks about the shortcuts under
selecting text, but it does require some digging to find.
10.How do I repeat commands in the editor; for example, finding multiple
instances of a string?
Use Ctrl-A to perform "Repeat Last".
11.Sometimes while browsing I get files that are one long wrapped line, so my
screen has no white space anywhere. What gives?
You've hit a bug in our handling of unrecognized plain text file types. We
should treat them as enclosed in <PRE> tags and we don't. That's why it's
wrapping. We treat the whole document as HTML and since there are no
recognizable tags, the results are charming, but alas unusable.
12.Early Access Dev4 contained a JDK/bin directory. This version does not.
What gives?
We combined the JDK/bin and JWS/sparc-S2/bin directories. It turned out that
there were problems trying to run on Windows when a user had other JDK's
installed on the same machine. THere were even a couple of Visual C++ files
that had to be in the right place as well. On Windows the only way to ensure
we would always get our .DLL's was to put them into one bin directory.
Once we did that for Windows, it seemed like the right thing to do to make it
consistent across all platforms.
13.How do I make the source editor multi-window?
Try the View/New Window menu item. It will give you a file chooser and then
bring up that file in a new editor window. It gives you as many editors as
you like.
14.What are my options for highlighting text in the program editor?
We use the Motif conventions where you can swipe using left mouse button, or
use shift-left button to extend the selection. You can also double and triple
click to select by word and line.
15.Do you support no-proxy-on like Netscape? How about a feature like
Netscapes Automatic Proxy Configuration?
We don't have a no-proxy-on toggle the way that Netscape does. The only way
to turn off proxies is to clear the proxy server name field (I know: less
than ideal). It seems like this plus Automatic Configuration would be a good
idea.
16.I was wondering if there was anyway to change JWS from using
c:\windows\.jws\ as the default directory. I tried moving the contents of
that directory elsewhere, but JWS recreates it upon startup.
If you define a HOME environment variable, the .jws directory will be placed
under the directory named in that variable. Windows NT uses this mechanism to
identify a per-user home directory. Since we use the same code on both
systems, if you define the HOME variable we will use it.
17.When you try to debug a java application where you have written more than
one class in a .java file giving several .class files, you can't define a
breakpoint inside one of the added classes. The debugger issues an error
message like:
myjvafilepathname is not a valid javafile
This is a known bug that we will be fixing. The workaround is to go to the
breakpoints card on the debugger window and enter the class name explicitly.
I know it isn't convenient, but you can get breakpoints where you want them.
Remember that on the breakpoints card you are specifying the class name (no
.class extension), so if it is in a package you must include the fully
qualified package name exactly as you would in an import statement.
18.I have created a number of projects in one directory using dev 3 and I
move all the relevant file of one project to a new directory, but I find no
way to tell jws the change of the directory. Did I missed something simple?
You are correct in that there is no way to rename a project through JWS. If
you moved the project from underneath JWS, what you'll need to do is hand
edit the portfolio file which contains the project. If you put the project in
the default personal portfolio file, you'll find that under
~/.jws/personal.psf.
19.If there is an error loading a project, it appears with a question mark
icon. I cannot find a way to remove these projects. They don't appear in the
Project -> Remove menu.
Yes, it is a bug that the project doesn't appear on the remove menu. In the
meantime, you can remove it by going to the portfolio manager, selecting the
question mark icon and hit the button with the red X on it.
20.I changed my html file, but when I run my project, the changes don't take
effect.
The html file is cached. Use the reload button to use the new version.
21.How can I tell when the browser is busy?
An animated graphic has been added to the browser to the right of the URL
bar. The lighthouse beam rotates to inform you that the browser is busy
loading an HTML page.
22.How do you print the documentation?
This is a problem because the current version of the JDK does not support
printing, JWS is not able to support it either.
Although it's not a pretty solution, you can print the docs using another
browser such as Netscape Navigator. It's what we do.
The procedure is documented in the limitations section of the Release Notes.
I've extracted the instructions for you, here they are:
Since the WorkShop browser does not yet support the printing of HTML pages,
you must use a different browser (such as Netscape Navigator) to print help
pages. To determine the URL of a help page:
1.Load a help page in the browser.
2.Note the URL of the page in the WorkShop URL bar. The URL consists of the
"doc:" protocol, followed by the path name of the help page (relative to the
installation path). The installation path is the path to the directory in
which you installed the WorkShop.
3.You can construct the entire path name of the URL by prepending the
installation path to the relative path name.
Use the "file:" protocol to load the help page in the Netscape Navigator and
print it. For example:
file:///home/bill/work/jws/lib/html/help/build/build.html
--
--------------------------------
���������֣�ֻ͵��Ϣ�����ơ�
--------------------------------
m;34m�� ��Դ:���Ͻ�ɺ� bbs.njupt.edu.cn��[FROM: pc02.comp.njupt]m
--
[m[1;34m�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: a507yjh.nju.edu][m
Technical Details
Message-ID:
<3OBKSL$7qb@bbs.nju.edu.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f6cb0,570ae946dc594702,start X-Google-Attributes: gidf6cb0,public From: mendy.bbs@bbs.nju.edu.cn (�ϵ�) Subject: JAVA WORKSHOP (3) Date: 1998/04/20 Message-ID: <3OBKSL$7qb@bbs.nju.edu.cn> X-Deja-AN: 346138165 X-Filename: Java/M.893077845.A Organization: nju_bbs Newsgroups: cn.bbs.comp.lang.java