Re: Cannot divide into an 1:2 fashion by GridBagLayout
From: A. Bolmarcich (aggedor_at_earl-grey.cloud9.net)
Date: 11/13/03
- Next message: David Postill: "Re: SWT and JFace tutorials"
- Previous message: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- In reply to: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- Next in thread: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- Reply: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 13 Nov 2003 17:24:30 -0000
In article <bp0ca4$jac$1@news.tamu.edu>, fix wrote:
> So that is not in the standard library? That's why I can't find it in
> the doc. How can I write a program with this package?
TableLayout is not part of the standard Java. You need to download
TableLayout.jar from a link on the URL that I previously gave
http://java.sun.com/products/jfc/tsc/articles/tablelayout/
> I copied the program from
> http://java.sun.com/products/jfc/tsc/articles/tablelayout/javadoc/layout/TableLayout.html
> but it doesn't work, the error message is:
> Exception in thread "main" java.lang.NoClassDefFoundError: tl
>
> my code:
[snip]
The message indicates that the CLASSPATH used when running the java
program does not include where tl.class is, With a copy of
TableLayout.jar in the current directory, I was able to compile
your code using the command
javac -classpath TableLayout.jar tl.java
and run it using the command
java -classpath .:TableLayout.jar tl
Note: I use Linux which uses ":" as the path separator.
- Next message: David Postill: "Re: SWT and JFace tutorials"
- Previous message: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- In reply to: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- Next in thread: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- Reply: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|