Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13259 > unrolled thread

Johns Hopkins University Java applets, errors running.

Started by"Nasser M. Abbasi" <nma@12000.org>
First post2012-03-28 13:37 -0500
Last post2012-03-30 07:02 -0700
Articles 11 — 7 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Johns Hopkins University  Java applets,  errors running. "Nasser M. Abbasi" <nma@12000.org> - 2012-03-28 13:37 -0500
    Re: Johns Hopkins University  Java applets,  errors running. Jeff Higgins <jeff@invalid.invalid> - 2012-03-28 15:34 -0400
    Re: Johns Hopkins University  Java applets,  errors running. Knute Johnson <nospam@knutejohnson.com> - 2012-03-28 14:33 -0700
      Re: Johns Hopkins University  Java applets,  errors running. Arne Vajhøj <arne@vajhoej.dk> - 2012-03-28 21:24 -0400
        Re: Johns Hopkins University  Java applets,  errors running. Knute Johnson <nospam@knutejohnson.com> - 2012-03-28 21:54 -0700
          Re: Johns Hopkins University  Java applets,  errors running. Martin Gregorie <martin@address-in-sig.invalid> - 2012-03-29 13:16 +0000
    Re: Johns Hopkins University  Java applets,  errors running. markspace <-@.> - 2012-03-28 15:38 -0700
      Re: Johns Hopkins University  Java applets,  errors running. "Nasser M. Abbasi" <nma@12000.org> - 2012-03-28 17:55 -0500
        Re: Johns Hopkins University  Java applets,  errors running. markspace <-@.> - 2012-03-29 07:17 -0700
          Re: Johns Hopkins University  Java applets,  errors running. Knute Johnson <nospam@knutejohnson.com> - 2012-03-29 08:45 -0700
    Re: Johns Hopkins University  Java applets,  errors running. Roedy Green <see_website@mindprod.com.invalid> - 2012-03-30 07:02 -0700

#13259 — Johns Hopkins University Java applets, errors running.

From"Nasser M. Abbasi" <nma@12000.org>
Date2012-03-28 13:37 -0500
SubjectJohns Hopkins University Java applets, errors running.
Message-ID<jkvlpu$413$1@speranza.aioe.org>
Could someone be kind enough to see if they can run some of
these educational Java applets here

http://www.jhu.edu/~signals/

Some of them do run ok for me, but few do not. Here is example
of the ones that do NOT run for me:

http://www.jhu.edu/~signals/bandwidth/index.html
http://www.jhu.edu/~signals/sensitivity/index.htm
http://www.jhu.edu/~signals/robust2/index.html

and few more. The above give me error:

----------------------------------------
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
	at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
	at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
	at java.awt.Component.createImage(Unknown Source)
	at PlotPanel.createGraphics(C:\Msdev\Projects\Robust Stabilization\RobustStabilization.java:572)
	at MagPanel.createGraphics(C:\Msdev\Projects\Robust Stabilization\RobustStabilization.java:700)
	at BodePanel.createGraphics(C:\Msdev\Projects\Robust Stabilization\RobustStabilization.java:1478)
	at WeightingPanel.createGraphics(C:\Msdev\Projects\Robust Stabilization\RobustStabilization.java:1410)
	at RobustStabilization.start(C:\Msdev\Projects\Robust Stabilization\RobustStabilization.java:143)
	at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@8d26dd
-----------------------------------------

Just wanted to know if the problem is on my end.

I did send email, but I think these applets are not being
maintained any more (as so many applets are on the web these days,
many seem not to work any more. Too bad).

There is no source code, so I can't even try to download them
and try to fix.

My configuration is this: windows 7, Firefox 11, Java 7
update 3. In the browser, I see Java plugin 10.2.1.255 for Mozilla
enabled.

If you try it, and it works for you, can you post
what configuration you have?

Thank you.

--Nasser

[toc] | [next] | [standalone]


#13261

FromJeff Higgins <jeff@invalid.invalid>
Date2012-03-28 15:34 -0400
Message-ID<jkvp16$ooi$1@dont-email.me>
In reply to#13259
On 03/28/2012 02:37 PM, Nasser M. Abbasi wrote:
>
> Could someone be kind enough to see if they can run some of
> these educational Java applets here
>
> http://www.jhu.edu/~signals/
>
> Some of them do run ok for me, but few do not. Here is example
> of the ones that do NOT run for me:
>
> http://www.jhu.edu/~signals/bandwidth/index.html
> http://www.jhu.edu/~signals/sensitivity/index.htm
> http://www.jhu.edu/~signals/robust2/index.html
>
These three seem to run without errors.
Debian, OpenJDK 6, IcedTea 6 plugin.

[toc] | [prev] | [next] | [standalone]


#13262

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-28 14:33 -0700
Message-ID<jl003j$4qf$1@dont-email.me>
In reply to#13259
On 3/28/2012 11:37 AM, Nasser M. Abbasi wrote:
>
> Could someone be kind enough to see if they can run some of
> these educational Java applets here
>
> http://www.jhu.edu/~signals/
>
> Some of them do run ok for me, but few do not. Here is example
> of the ones that do NOT run for me:
>
> http://www.jhu.edu/~signals/bandwidth/index.html
> http://www.jhu.edu/~signals/sensitivity/index.htm
> http://www.jhu.edu/~signals/robust2/index.html
>
> and few more. The above give me error:
>
> ----------------------------------------
> java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
> at
> java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown
> Source)
> at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
> at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
> at java.awt.Component.createImage(Unknown Source)
> at PlotPanel.createGraphics(C:\Msdev\Projects\Robust
> Stabilization\RobustStabilization.java:572)
> at MagPanel.createGraphics(C:\Msdev\Projects\Robust
> Stabilization\RobustStabilization.java:700)
> at BodePanel.createGraphics(C:\Msdev\Projects\Robust
> Stabilization\RobustStabilization.java:1478)
> at WeightingPanel.createGraphics(C:\Msdev\Projects\Robust
> Stabilization\RobustStabilization.java:1410)
> at RobustStabilization.start(C:\Msdev\Projects\Robust
> Stabilization\RobustStabilization.java:143)
> at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
> at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
> Source)
> at java.lang.Thread.run(Unknown Source)
> basic: Removed progress listener:
> sun.plugin.util.ProgressMonitorAdapter@8d26dd
> -----------------------------------------
>
> Just wanted to know if the problem is on my end.
>
> I did send email, but I think these applets are not being
> maintained any more (as so many applets are on the web these days,
> many seem not to work any more. Too bad).
>
> There is no source code, so I can't even try to download them
> and try to fix.
>
> My configuration is this: windows 7, Firefox 11, Java 7
> update 3. In the browser, I see Java plugin 10.2.1.255 for Mozilla
> enabled.
>
> If you try it, and it works for you, can you post
> what configuration you have?
>
> Thank you.
>
> --Nasser

They don't run for me, Win XP, SP3, Java 7_03, Firefox 11.0.  After 
clicking on the "Error. Click for details" I get a dialog that says 
Width(0) and Height(0) cannot be <= 0.  Clicking on the Details button 
of that dialog gets me the Jave Error Console but no errors are listed.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13265

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-28 21:24 -0400
Message-ID<4f73b9d8$0$284$14726298@news.sunsite.dk>
In reply to#13262
On 3/28/2012 5:33 PM, Knute Johnson wrote:
> On 3/28/2012 11:37 AM, Nasser M. Abbasi wrote:
>> Could someone be kind enough to see if they can run some of
>> these educational Java applets here
>>
>> http://www.jhu.edu/~signals/
>>
>> Some of them do run ok for me, but few do not. Here is example
>> of the ones that do NOT run for me:
>>
>> http://www.jhu.edu/~signals/bandwidth/index.html
>> http://www.jhu.edu/~signals/sensitivity/index.htm
>> http://www.jhu.edu/~signals/robust2/index.html
>>
>> and few more. The above give me error:
>>
>> ----------------------------------------
>> java.lang.IllegalArgumentException: Width (0) and height (0) cannot be
>> <= 0
>> at
>> java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown
>> Source)

>
>> My configuration is this: windows 7, Firefox 11, Java 7
>> update 3. In the browser, I see Java plugin 10.2.1.255 for Mozilla
>> enabled.
>>
>> If you try it, and it works for you, can you post
>> what configuration you have?

> They don't run for me, Win XP, SP3, Java 7_03, Firefox 11.0. After
> clicking on the "Error. Click for details" I get a dialog that says
> Width(0) and Height(0) cannot be <= 0. Clicking on the Details button of
> that dialog gets me the Jave Error Console but no errors are listed.

Does it work with Java 6 and fail with Java 7?

If yes then maybe an extra check has been added in 7.

Arne

[toc] | [prev] | [next] | [standalone]


#13269

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-28 21:54 -0700
Message-ID<jl0pt8$rg4$1@dont-email.me>
In reply to#13265
On 3/28/2012 6:24 PM, Arne Vajhøj wrote:
> On 3/28/2012 5:33 PM, Knute Johnson wrote:
>> On 3/28/2012 11:37 AM, Nasser M. Abbasi wrote:
>>> Could someone be kind enough to see if they can run some of
>>> these educational Java applets here
>>>
>>> http://www.jhu.edu/~signals/
>>>
>>> Some of them do run ok for me, but few do not. Here is example
>>> of the ones that do NOT run for me:
>>>
>>> http://www.jhu.edu/~signals/bandwidth/index.html
>>> http://www.jhu.edu/~signals/sensitivity/index.htm
>>> http://www.jhu.edu/~signals/robust2/index.html
>>>
>>> and few more. The above give me error:
>>>
>>> ----------------------------------------
>>> java.lang.IllegalArgumentException: Width (0) and height (0) cannot be
>>> <= 0
>>> at
>>> java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown
>>> Source)
>
>>
>>> My configuration is this: windows 7, Firefox 11, Java 7
>>> update 3. In the browser, I see Java plugin 10.2.1.255 for Mozilla
>>> enabled.
>>>
>>> If you try it, and it works for you, can you post
>>> what configuration you have?
>
>> They don't run for me, Win XP, SP3, Java 7_03, Firefox 11.0. After
>> clicking on the "Error. Click for details" I get a dialog that says
>> Width(0) and Height(0) cannot be <= 0. Clicking on the Details button of
>> that dialog gets me the Jave Error Console but no errors are listed.
>
> Does it work with Java 6 and fail with Java 7?
>
> If yes then maybe an extra check has been added in 7.
>
> Arne
>
>

That could be, I've found some stuff in JavaMail that doesn't work in 7 
but does in 6.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13270

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2012-03-29 13:16 +0000
Message-ID<jl1nau$uaj$1@localhost.localdomain>
In reply to#13269
On Wed, 28 Mar 2012 21:54:00 -0700, Knute Johnson wrote:

> That could be, I've found some stuff in JavaMail that doesn't work in 7
> but does in 6.
>
I, for one, would appreciate news of if/when this gets resolved. As my 
major application depends on Javamail it looks like I'm stuck on Java 6 
until a Java 7 compatible version is released. 


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#13263

Frommarkspace <-@.>
Date2012-03-28 15:38 -0700
Message-ID<jl03se$p2o$1@dont-email.me>
In reply to#13259
It works for me.

On 3/28/2012 11:37 AM, Nasser M. Abbasi wrote:
> My configuration is this: windows 7, Firefox 11, Java 7
> update 3. In the browser, I see Java plugin 10.2.1.255 for Mozilla
> enabled.


Java plugin 10 is weird.  I see 6.0.290.11.  (Twice, once for the JDK 
and once for the actual plugin.)  Double check that "10" please, and 
check your Java again from the windows command line.  What does "java 
-version" say?

I'm on windows 6.1, I guess (that's what it prints when the command line 
window opens) and Firefox 11.0.

[toc] | [prev] | [next] | [standalone]


#13264

From"Nasser M. Abbasi" <nma@12000.org>
Date2012-03-28 17:55 -0500
Message-ID<jl04s8$ftm$1@speranza.aioe.org>
In reply to#13263
On 3/28/2012 5:38 PM, markspace wrote:
> It works for me.
>
> On 3/28/2012 11:37 AM, Nasser M. Abbasi wrote:
>> My configuration is this: windows 7, Firefox 11, Java 7
>> update 3. In the browser, I see Java plugin 10.2.1.255 for Mozilla
>> enabled.
>
>
> Java plugin 10 is weird.  I see 6.0.290.11.  (Twice, once for the JDK
> and once for the actual plugin.)  Double check that "10" please, and
> check your Java again from the windows command line.  What does "java
> -version" say?
>
> I'm on windows 6.1, I guess (that's what it prints when the command line
> window opens) and Firefox 11.0.
>

This is what I see enabled in my firefox Tools->Addon

JDK 7.0.20.255 10.2.1.255
JAVA SE 7 U2 10.2.1.255

screen shot:  http://12000.org/tmp/java_plugins/p1.png

command line:
-------------------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\me>java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

--------------------------------------------------------

ps. I started VBox, and installed linux Ubuntu, and using
firefox on linux (inside the VBOX), I can run some
of those applets that I can't run on windows. (one still
does not run, but all the others run).

My linux is running  firefox 11 with IcedTea-Web plugin 1.1.3.

thanks,

--Nasser



[toc] | [prev] | [next] | [standalone]


#13271

Frommarkspace <-@.>
Date2012-03-29 07:17 -0700
Message-ID<jl1qt6$sn9$1@dont-email.me>
In reply to#13264
On 3/28/2012 3:55 PM, Nasser M. Abbasi wrote:
> This is what I see enabled in my firefox Tools->Addon
>
> JDK 7.0.20.255 10.2.1.255
> JAVA SE 7 U2 10.2.1.255


That's Java 7, update 2.


> ps. I started VBox, and installed linux Ubuntu, and using
> firefox on linux (inside the VBOX), I can run some
> of those applets that I can't run on windows.


This to me suggests a problem with your installation, or the OS config 
in general.  Maybe delete the Java install, the run a registry cleaner, 
then re-install Java.


[toc] | [prev] | [next] | [standalone]


#13272

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-29 08:45 -0700
Message-ID<jl2020$qj7$1@dont-email.me>
In reply to#13271
On 3/29/2012 7:17 AM, markspace wrote:
> On 3/28/2012 3:55 PM, Nasser M. Abbasi wrote:
>> This is what I see enabled in my firefox Tools->Addon
>>
>> JDK 7.0.20.255 10.2.1.255
>> JAVA SE 7 U2 10.2.1.255
>
>
> That's Java 7, update 2.
>
>
>> ps. I started VBox, and installed linux Ubuntu, and using
>> firefox on linux (inside the VBOX), I can run some
>> of those applets that I can't run on windows.
>
>
> This to me suggests a problem with your installation, or the OS config
> in general. Maybe delete the Java install, the run a registry cleaner,
> then re-install Java.
>
>
>

They don't work for me under XUbuntu with Java 7 either.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13279

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-03-30 07:02 -0700
Message-ID<47fbn75jjk7qn7ej9142ar83u1h0324s4k@4ax.com>
In reply to#13259
On Wed, 28 Mar 2012 13:37:53 -0500, "Nasser M. Abbasi" <nma@12000.org>
wrote, quoted or indirectly quoted someone who said :

>http://www.jhu.edu/~signals/bandwidth/index.html
>http://www.jhu.edu/~signals/sensitivity/index.htm

I got the same error. I suggest you contact the author. 
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
When you were a child, if you did your own experiment
to see if it was better to put to cocoa into your cup first
or the hot milk first, then you likely have the programmer gene..

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web