On Wed, 17 Mar 2004 17:13:53 -0500, Québec wrote:
> When I was talking about making thing fixed I was thinking about relative to
> the applet size.... at least.
> I have only one label to put on. I use it because it permits me to create an
> emboss text in 1.1.8
> So, I need to create a Lyout Manager.
> The 1.1.8 appletviewer does not gives these informations.
>>java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
My apologies! I was using the applet viewer
provided by Sun (albiet from a much later
java version) myself, but it certainly explains
why you did not report those errors if they
did not appear for you.
Is that what you are saying?
> I will use it as a debugger from now on.
'It' 1.1.8?
No, please. If it is not giving detailed
and useful messages, update to a Java version
from _this_ millennium! 1.1.8 is _way_ old!
> ================
> Winhelp doc by Frank Allimant jdk1.1.8 for
> Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
> Java is a trademark or registered trademark of Sun Microsystems, Inc. in the
[quoted text clipped - 6 lines]
> Creates a graphics context for this component. This method will return null
> if this component is currently not on the screen.
But.. I am still not sure we are on the same wavelength,
that is saying WinHelp.. There is no mention of the
print out of '1' by your applet.
When I run your applet example in TextPad (ctrl 3)
I get the applet viewer and a DOS window in the
background. The '1' prints in the DOS window,
then the stack trace I mentioned, it is, literally..
"
1
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at
java.awt.image.DirectColorModel.createCompatibleWritableRaster(Direct
ColorModel.java:999)
"
Are you saying you do not see that on your machine?

Signature
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
Qu?bec - 18 Mar 2004 12:37 GMT
> > I will use it as a debugger from now on.
>
> 'It' 1.1.8?
No.: I will use 1.4.2 I have the twi of them.
The double buffer works nice and the funny applet too will be on the web
someday.
http://www.jeanpierredaviau.com/Class/Applets.html
The Label too. I found a RowLayout in my notes that I included in a
BorderLayout using a Panel. Fine.
I found using DirectColorModel as a parameter for
i = createImage (new MemoryImageSource (
abswidth, absheight / 4, new DirectColorModel((255 << 16) , (255
<< 8), 255, (255 << 24)), pixels, 0, abswidth));
makes quite a difference in 1.1.8
> > ================
> > Winhelp doc by Frank Allimant jdk1.1.8 for
the winhelp version of the Sun's doc, here:
http://www.allimant.org/javadoc/javadoce.html
> There is no mention of the print out of '1' by your applet.
Yes my 1 is printed by 1.1.8
> java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
Yes. It is printed by my 1.4.2
> When I run your applet example in TextPad (ctrl 3)
I am using EditPlus 2
>from _this_ millennium! 1.1.8 is _way_ old!
Yes, I would prefer using 1.4. My problem is the 65 megs of Sun download of
JRE 1.4
I was not believing in fast download web design, and small plugins. I must
be getting old. I see myself 'zapping' any slow websites or plugin dowloads
has Real Player, Flash, etc. Canned design in steel or grids. Canned
thoughts. All the same lookin. Sunsets fullfill my saoul and all the rest
seems uninteresting. What will it be in ten years? If I still can think.
The I (57) and is gang (baby boomers) will be the clients of the next 20
years.... probably....
The download of the JRE only (PLUGINj2re-1_4_2_03-windows-i586-p.exe ) is
15 Megs. But I needed to log on has a developper using password etc. Sun
does not care.... of the user I think. There they complain with Microsoft
and tries to force the users at a 65 Megs download. Thats almost windows
2000 size. But the cable, big machines. We dont need all this. Anyway, I
wont make money out of that, I mean out of controversy.
Putting it on my web sites, I would have to switch to another bracket of
prices with my provider and pay 100$ a year more for the sake of art.
Blah,
thats all folks,
Jean
==========================
http://www.jeanpierredaviau.com/feedback.htm