NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Can anyone tell me what the following error mean? and how to fix it?

  • To: Helen Yi <y.yi@xxxxxxxxxxxxx>
  • Subject: Re: Can anyone tell me what the following error mean? and how to fix it?
  • From: Curtis Rueden <curtis@xxxxxxxxxxxxx>
  • Date: Tue, 12 Feb 2002 14:04:20 -0600
Hi Helen,

It looks like WidgetTest.java contained some bugs.
I fixed them, and put the updated file at:
     http://www.ssec.wisc.edu/~curtis/WidgetTest.java

-Curtis

At 01:39 PM 2/12/2002, you wrote:
>I try to run the WidgetTest of visad's util package, but got the
>following error
>
>helen@virga [87] j/users/helen/VisAD/ava visad.util.WidgetTest
>Exception in thread "main" java.lang.Error: Do not use
>javax.swing.JFrame.setLayout() use
>javax.swing.JFrame.getContentPane().setLayout() instead
>        at javax.swing.JFrame.createRootPaneException(JFrame.java:402, 
> Compiled Code)
>        at javax.swing.JFrame.setLayout(JFrame.java:468, Compiled Code)
>        at visad.util.WidgetTest.main(WidgetTest.java:63, Compiled Code)
>
>
>
>I got the same error as above when I am running VisAD on SGI Octane and
>Windows 2000.
>Please help me to fix the problem. Great thanks in advance.
>
>
>Helen


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: