This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Swing & Awt on Windows XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing & Awt on Windows XP" Watch "Swing & Awt on Windows XP" New topic
Author

Swing & Awt on Windows XP

Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
I have Microsoft Windows XP Professional Version 2002 SP-1 and have disabled Windows VM.
I have TryFlowLayout.java and the associated class as follows

The following error occurs:

I have set Path and CLASSPATH to required settings and am using j2sdk1.4.0_03
I have searched for several sessions on JavaRanch for answers and tried most to no avail. Any ideas
TIA
doco


doco
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
It looks like you are in the Wrapper dir when trying to run Wrapper.TryFlowLayout. Try going up 1 level and doing it.
Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
Thanks.
Just get another error:

doco
Yehor Mikhaylov
Greenhorn

Joined: Dec 14, 2001
Posts: 17
You have to place your file in

to run try:
Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
Yehor:
Thank you very much - this now works!
But this raises another question: what is the significance of not executing the class from the home directory? In the books I am using: Java Objects, Barker; Beginning Java 2, Horton, there is no mention of having to offset folders in order to execute. As well as Marilyn's brief description on Cattle Drive. Where might I get information that more precisely describes what just took place in the 'fix' of the above issue?
Again - thank you very much - you're the man!
doco
[ February 25, 2003: Message edited by: doco mastadon ]
 
Consider Paul's rocket mass heater.
 
subject: Swing & Awt on Windows XP