Re: Cannot divide into an 1:2 fashion by GridBagLayout

From: A. Bolmarcich (aggedor_at_earl-grey.cloud9.net)
Date: 11/13/03


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.



Relevant Pages

  • Kernel recompilation error
    ... Could someone plz explain what it means and how to fix it. ... I get this error message when I run the command 'make install'. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: No acceptable C compiler was found in $PATH
    ... > What does this error message mean? ... What can I do to fix it? ... the console. ... If it comes back as "command not found" or something ...
    (comp.lang.python)
  • "su" error
    ... I 'su" to root and run command. ... I got error message. ... Anyone know how to fix it? ...
    (RedHat)
  • No acceptable C compiler was found in $PATH
    ... What does this error message mean? ... What can I do to fix it? ... Here'e the command that I just tried running, ... checking for gcc... ...
    (comp.lang.python)
  • Re: Display Problems
    ... If it shows up in the GUI, it is there, and must be present ... Or issue the command; ... > and got the error message file or folder not found. ... in the midst of the frustration, by all means, vent away. ...
    (alt.os.linux.suse)