[program-java] Re: FW: Java questions

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: <program-java@xxxxxxxxxxxxx>
  • Date: Mon, 3 Nov 2008 10:51:41 -0500

Anna: 

1. I'm back to the question about the arguments.
Why can't I run just 1 particular class if this class contains
...main...
entry point?

In order to do this you must first set up your "Program Argumentss"....
Alt R + N....tab until you hear Main Tab, right errow to arguments....
Enter your arguments in the "Program Arguments" edit field.... Note: if
you are entering multiple arguments you must separate each with a
space.... Now run the application with alt r.

2. How to change the default behaviour so I can do a syntax check for 1
particular class?

This is the behavior.... Typically you write a class and debug a class
then move to the next....

3. I've encountered the problem with JAWS in Eclipse.
When reading by word (ctrl + arrow) and the word is a mixed case word,
Jaws reads this word as many times as the parts in that word. For
example: the word searchForLiteral is read 3 times, and each time the
cursor is placed at the beginning of the next part of the word.
Are you aware of this problem?

Yes, but I'm just a JFW user and really don't know much about the beast
and don't care to.

4. How do you navigate between the Help panes in your current Eclipse
version?

F6....


Thank you very much,
Anna
-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Monday, November 03, 2008 8:42 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] FW: Java questions

Anna:

1. How to work with Eclipse help? I could not navigate between the
search tab and the tab where the topics are. 

I'll need to down load your particular version at home and then get back
to you.
Is there an easy way?
2. I have a simple Java program that accepts numeric arguments and add
them together. Where is a place in Eclipse to enter arguments when
running the program?

Technically you are not running the program so passing args really won't
work for the mean time.... In your class you could create static
variables and assign them values as testing parameters. Once you have
fully compiled and wrapped your project into a jar file, you can run it
from a command prompt and pass the args that way.

3. When doing Alt+S for a a sintax check I get errors not only in the
program that is currently open, but for all other programs under the
current package. Is it how it's supposed to be?

First of all you need to stop thinking of "programs" and refer to them
as classess. Yes, this is the default behavior of this IDE.

4. Is there a command to do a syntax check for just the current line?

Nope....

5. What are the most useful keystrokes for editing a Java class, so far
I've only found ctrl+I.

I suppose that if you asked one hundred people they would have one
hundred different answeres to this question.... What works for me may
not work for others so I suggest that you use the Help\Key Assist option
and scrol the contents. Note: alt dash + c will close that particular
screen.

Thank you very much,
Anna





Other related posts: