Images
Hello all I would like to add an image (jpg) to a JPanel, but I cannot figure out how to do it. How would I do this. Shafiek
Get You FREE CD-ROM today
http://www.free-cdrom.com welcomes you to get your very own Windows 95, Windows 98, and Windows NT enhancement CD-ROM. This CD-ROM contains backgrounds, screen savers, Animated Cursors, Icons, Fonts, and much more. It's packed with 600MB of goodies. Stop by http://www.free-cdrom.com and get your own copy today!
Loading images from JAR.
What is the meaning of url.toExportedForm() from image contained in JAR called something like this? systemresources://FILE1/+/images/new.gif I had a lot of trouble reading image file (GIFs) from JARs. I keep get a stack trace: Have a FuNkiNG good time Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" -+=+- Thank FuNk it's FriDAY -+=+- Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: Loading images from JAR.
I wrote:
> What is the meaning of url.toExportedForm() from image contained in JAR
> called something like this?
>
> systemresources://FILE1/+/images/new.gif
>
> I had a lot of trouble reading image file (GIFs) from JARs.
I had a long look at the FAQ (www.afu.com) and applied the getResourceAsStream()
example there.
This normally results in stack trace, which I forget to add in the last post:
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java)
at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:117)
at sun.awt.SunToolkit.getImage(SunToolkit.java:129)
at com.sun.java.swing.ImageIcon.(ImageIcon.java:64)
at com.sun.java.swing.ImageIcon.(ImageIcon.java:83)
at xenon.jsql.editor.JsqlEdit.(JsqlEdit.java:173)
at xenon.jsql.editor.JsqlEditList.createNewFrame(JsqlEditList.java:101)
at xenon.jsql.editor.Jsql.(Jsql.java:144)
at xenon.jsql.editor.Jsql.main(Jsql.java:592)
Here is some code:
/** retrieves the image (GIF/JPEG) data from URL.
* implements performs URL.
*/
protected byte[] getImageData( String url_image )
{
byte[] imageBytes=null;
if (debug) System.out.println( "getImageData("+url_image+")" );
//
// First try reading the resource as a system file.
//
InputStream imageStream=null;// Reset this
try {
imageStream = new FileInputStream( url_image );
}
catch ( FileNotFoundException fe ) { ; }
if (imageStream == null) {
//
// Well that didn't work
// Second, Try to opening the resource as an URL specification.
//
try {
URL url = new URL( url_image );
// Try creating a socket which connects to the
// int port = (url.getPort() == -1) ? 80: url.getPort();
// Socket s = new Socket( url.getHost, port );
imageStream = url.openStream();
if (debug) System.out.println("*opening stream URL*");
}
catch (IOException ioe ) { ; }
}
if (imageStream == null)
//
// Well that also didn't work
//
// Third, Try to opening the resource as as CLASSPATH specification.
// e.g. It may be part of JAR or ZIP
imageStream = getClass().getClassLoader().getSystemResourceAsStream(url_image);
Image img = null;
try {
if (debug)
System.out.println("imageStream:" +
((imageStream==null) ?"NULL!!":"EXISTS") );
imageBytes = new byte[imageStream.available()];
imageStream.read(imageBytes);
}
catch (IOException ex) {
System.err.println( getClass().getName()+".getImageData: failed to load image
from URL: " + url_image );
}
if (imageBytes != null)
System.out.println( "imageBytes.length =" + imageBytes.length );
return (imageBytes);
}
Solution?
BTW: linux-jdk1.1.6-libc5 .tar.gz swing-1.1beta.zip
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!"
Peter Pilgrim Dept:OTC Derivatives IT,
Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX
Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
SIGSEGV 11 in JDK 1.1.6 4a!!!
Hello. I recently downloaded JDK 1.1.6 4a in the belief that it would go very smoothly, but I haven't got it running here whatsoever. I get he following message when for example trying to run a demo: SIGSEGV 11* segmentation violation Full thread dump: Monitor Cache Dump: Registered Monitor Dump: Monitor IO lock: Child death monitor: Event monitor: I/O monitor: Alarm monitor: Monitor registry: Thread Alarm Q: I am using Linux 2.0.35, XFree 3.3.2 patchlevel 3, libc 5.4.44, ld.so 1.9.9. What's more? Well that's what most important I guess :) Thankful for any help, Mats Petersson
V4a crashes on startup
Hi, I've never had any problems with the previous ports. Now I install v4a and the thing crashes :-( What happened? I use S.u.S.E. 5.1 and chose the libc-version. Here come the libs: ldconfig: version 1.9.2 /usr/X11R6/lib: libXtst.so.6 => libXtst.so.6.1 libXt.so.6 => libXt.so.6.0 libXp.so.6 => libXp.so.6.2 libXmu.so.6 => libXmu.so.6.0 libXi.so.6 => libXi.so.6.0 libXext.so.6 => libXext.so.6.3 libXaw.so.6 => libXaw.so.6.1 libXIE.so.6 => libXIE.so.6.0 libX11.so.6 => libX11.so.6.1 libSM.so.6 => libSM.so.6.0 libPEX5.so.6 => libPEX5.so.6.0 libICE.so.6 => libICE.so.6.3 /usr/i486-linux/lib: /usr/i486-linuxaout/lib: /usr/local/lib: /usr/lib: libsnmp.so.3.1 => libsnmp.so.3.1 libopcodes.so.2.8.1 => libopcodes.so.2.8.1 libbfd.so.2.8.1 => libbfd.so.2.8.1 libgpm.so.1 => libgpm.so.1.11 libtermcap.so.2 => libtermcap.so.2.0.8 libcurses.so.1 => libcurses.so.1.0.0 libpthreads.so.1 => libpthreads.so.1.60.4 libgnumalloc.so.5 => libgnumalloc.so.5 libpanel.so.3.0 => libpanel.so.3.0.970515 libncurses.so.1.9 => libncurses.so.1.9.7a libmenu.so.3.0 => libmenu.so.3.0.970515 libform.so.3.0 => libform.so.3.0.970515 libstdc++.so.27 => libstdc++.so.27.2.1 libg++.so.27 => libg++.so.27.2.1 libgdbm.so.1 => libgdbm.so.1.7.3 libdb.so.1 => libdb.so.1.85.2 /lib: libm.so.5 => libm.so.5.0.9 libc.so.5 => libc.so.5.4.33 libncurses.so.3.0 => libncurses.so.3.0.970515 libdl.so.1 => libdl.so.1.9.2 ld-linux.so.1 => ld-linux.so.1.9.2 Thanx, Gerald
Re: Loading images from JAR.
On Mon, Sep 07, 1998 at 11:06:22AM +0100, [EMAIL PROTECTED] wrote: > I wrote: > > > What is the meaning of url.toExportedForm() from image contained in JAR > > called something like this? > > > > systemresources://FILE1/+/images/new.gif > > > > I had a lot of trouble reading image file (GIFs) from JARs. > > I had a long look at the FAQ (www.afu.com) and applied the getResourceAsStream() > example there. > // Third, Try to opening the resource as as CLASSPATH specification. > // e.g. It may be part of JAR or ZIP > imageStream = >getClass().getClassLoader().getSystemResourceAsStream(url_image); > Image img = null; Drop the ".getClassLoader()" imageStream = getClass().getResourceAsStream(url_image); -- Louis-David Mitterrand - [EMAIL PROTECTED] - http://www.aparima.com Which is worse, ignorance or apathy? Who knows? Who cares?
Re: SIGSEGV 11 in JDK 1.1.6 4a!!!
Hi, Did you by any chance read the release that Karl posted that announced the JDK116_v4a? It talks about seg-faults and points people to the FAQ which has lots of things to try to help sort out old/new/incompatible system shared libraries. The FAQ talks about ld.so 1.9.9 and some problems it seems to be causing. There are some simple solutions (try removing the system shared library copies from jdk116_v4a/lib/xxx/green_threads) so that your own system libraries are used in place of those). Please read the FAQ, and if it doesn't help solve your problems, re-post to the list. Thanks Kevin Hendricks Blackdown JDK Porting Team [EMAIL PROTECTED] -- Kevin B. Hendricks Associate Professor, Operations & Information Technology School of Business, College of William & Mary Williamsburg, VA 23187, [EMAIL PROTECTED] http://business.tyler.wm.edu
jdk rpm
hi, I'm just upload to ftp.redhat.com's incoming jdk-sbb-1.1.6-4a.glibc this is Sun's Java Development Kit port to Linux. more info on java-linux http://www.blackdown.org/java-linux.html about java rpms http://anna.inf.u-szeged.hu/java/java-rpm.html. -- Levente -- E-Mail: Levente Farkas <[EMAIL PROTECTED]> Homepage: http://www.inf.u-szeged.hu/~lfarkas/ PGP public key & Geek Code: [EMAIL PROTECTED] --
Installing Beans
__ Syed Mubeen National Centre For Biological Sciences, [EMAIL PROTECTED]TIFR Centre, P.B #1234, 80-334-5615 or 4062 or 3035 IISc Campus, Bangalore - 560 012. INDIA. ___ Hi Everybody, I've recently downloaded BDKJul98.zip,I'm running JDK 1.1.6 on Red Hat Linux 5.1, As far Java programmes are concerned they are running without any problem. I want to install BDK (Beans Development Kit) also on this please kindly tell a step by step procedure of installing BDK . Bye Syed Mubeen
Re: Installing Beans
Syed Mubin wrote: > Hi Everybody, > > I've recently downloaded BDKJul98.zip,I'm running JDK 1.1.6 on Red > Hat Linux 5.1, As far Java programmes are concerned they are running > without any problem. > I want to install BDK (Beans Development Kit) also on this please > kindly tell a step by step procedure of installing BDK . if 97nov is good for you just install the rpm from redhat's contrib/noarch/bdk... -- Levente -- E-Mail: Levente Farkas <[EMAIL PROTECTED]> Homepage: http://www.inf.u-szeged.hu/~lfarkas/ PGP public key & Geek Code: [EMAIL PROTECTED] --
and where is v4a?
I'm lost... With the announcement of JDK1.1.6v4a I cannot find this release. I've been to these US ftp sites: ftp://ce.usu.edu/pub/mirror/linux/JDK ftp://ftp.connectnet.com/pub/java ftp://ftp.infomagic.com/pub/mirrors/linux/Java ftp://ftp.tux.org/pub/java and to the appropriate directory (for RH 5.0): /JDK-1.1.6/i386/glibc and only find v1/ v2/ I assume that it would be jdk1.1.6-v4a-glibc.tar.gz and that it would be in a v4 directory. (The FAQ says the latest version is v2, but I wouldn't expect the FAQ be updated). Did I miss something here? Thanks for the directions. smb -- Visit my home page at http://zembee.home.ml.org [EMAIL PROTECTED]
RE: and where is v4a?
It's there now; took a while to mirror. e.g. ftp://ftp.tux.org/pub/java/JDK-1.1.6/i386/glibc/v4a/ - Dan > -Original Message- > From: zembee [SMTP:[EMAIL PROTECTED]] > Sent: Monday, September 07, 1998 10:06 AM > To: [EMAIL PROTECTED] java; [EMAIL PROTECTED] > java > Subject: and where is v4a? > > I'm lost... > > With the announcement of JDK1.1.6v4a I cannot find this release. > I've been to these US ftp sites: > > ftp://ce.usu.edu/pub/mirror/linux/JDK > ftp://ftp.connectnet.com/pub/java > ftp://ftp.infomagic.com/pub/mirrors/linux/Java > ftp://ftp.tux.org/pub/java > > and to the appropriate directory (for RH 5.0): > > /JDK-1.1.6/i386/glibc > > and only find > > v1/ > v2/ > > I assume that it would be jdk1.1.6-v4a-glibc.tar.gz and that it would > be in a v4 directory. (The FAQ says the latest version is v2, but I > wouldn't expect the FAQ be updated). Did I miss something here? > > Thanks for the directions. > > > smb > > -- > Visit my home page at http://zembee.home.ml.org > [EMAIL PROTECTED] > >
JDK 1.1.6v4a SIGSEGV 11 and fix
JDK 1.1.6v4a give me SIGSEGV "out of the box". Dump from java_g: SIGSEGV 11* segmentation violation Full thread dump: "../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443: assertion failure *** panic: Internal error dumping threads! My config: jdk1.1.6-v4a-i386-libc5.tar.gz Linux 2.0.35 libc.so.5.4.44 ld.so.1.9.7 libdl.so.1.9.7 (Notice I'm NOT using ld.so.1.9.9) Solution: Remove libc.so.5 and libdl.so.1 from $JAVAHOME/lib/i686/green_threads/ Everything seem to work ok now. Cheers, Paul
Re: Installing java115 on linux Alph
On Mon, 7 Sep 1998, Uncle George wrote: > ur missing the path pointer to alternate shared libs - LD_LIBRARY_PATH > > so > try: > export LD_LIBRARY_PATH=/usr/local/lib > > presuming that /usr/local/lib is where the libXm.so is stashed. > ga Thankyou very much. Your advice worked. Kerry
Questionable files
Hello, I am rather new to Linux Java and when downloading and installing jdk1.1.6-v2-glibc.tar.gz I noticed the below files in the same ftp directory: i18n1.1.6-v2-glibc.tar.gz jre1.1.6-v2-glibc.tar.gz rt1.1.6-v2-glibc.tar.gz Are these files included in jdk1.1.6-v2-glibc.tar.gz? And what are they? TIA Jason [EMAIL PROTECTED]
RE: Questionable files
Perhaps the README in that FTP area should contain a link to the FAQ. http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-2.html#ss2.3 should answer this question - but it doesn't seem to! FAQ author, take note... The answer is- just grab the JDK. You don't need the others. - Dan > -Original Message- > From: Jason William Jones [SMTP:[EMAIL PROTECTED]] > Sent: Monday, September 07, 1998 1:59 PM > To: [EMAIL PROTECTED] > Subject: Questionable files > > Hello, > > I am rather new to Linux Java and when downloading and installing > jdk1.1.6-v2-glibc.tar.gz I noticed the below files in the same ftp > directory: > > i18n1.1.6-v2-glibc.tar.gz > jre1.1.6-v2-glibc.tar.gz > rt1.1.6-v2-glibc.tar.gz > > Are these files included in jdk1.1.6-v2-glibc.tar.gz? > > And what are they? > > TIA > > Jason > [EMAIL PROTECTED] >
Re: JDK 1.1.6v4a SIGSEGV 11 and fix, worked for v2, too.
BTW, I am using ld.so.1.9.9 R. Paul Warriner wrote: > I was having the same trouble in jdk1.1.6v2. > Your solution worked for me, too. > > Thanks, Paul, > R. Paul Warriner > > Paul Ho wrote: > > > JDK 1.1.6v4a give me SIGSEGV "out of the box". > > > > Dump from java_g: > > SIGSEGV 11* segmentation violation > > > > Full thread dump: > > "../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443: > > assertion failure > > > > *** panic: Internal error dumping threads! > > > > My config: > > jdk1.1.6-v4a-i386-libc5.tar.gz > > Linux 2.0.35 libc.so.5.4.44 ld.so.1.9.7 libdl.so.1.9.7 > > (Notice I'm NOT using ld.so.1.9.9) > > > > Solution: > > Remove libc.so.5 and libdl.so.1 from $JAVAHOME/lib/i686/green_threads/ > > > > Everything seem to work ok now. > > > > Cheers, > > Paul
Re: Questionable files
see the Java-Linux-1.1.1-HOWTO.txt in the /JDK/JDK-1.1.1 directory peace, Marc On Mon, 7 Sep 1998, Jason William Jones wrote: # Hello, # # I am rather new to Linux Java and when downloading and installing # jdk1.1.6-v2-glibc.tar.gz I noticed the below files in the same ftp directory: # # i18n1.1.6-v2-glibc.tar.gz # jre1.1.6-v2-glibc.tar.gz # rt1.1.6-v2-glibc.tar.gz # # Are these files included in jdk1.1.6-v2-glibc.tar.gz? # # And what are they?
RE: Questionable files
Where is that file? I don't see it linked to from www.blackdown.org! http://www.68k.org/sysdocs/java/Java-Linux-1.1.1-HOWTO.txt is one of the only two .org hosts that has it... IMHO blackdown should put a link to the HOWTO right next to its link to the FAQ - either that, or merge the two... - Dan > -Original Message- > From: Marc Evelyn [SMTP:[EMAIL PROTECTED]] > Sent: Monday, September 07, 1998 3:54 PM > To: [EMAIL PROTECTED] > Subject: Re: Questionable files > > see the Java-Linux-1.1.1-HOWTO.txt in the /JDK/JDK-1.1.1 directory > > peace, Marc > > On Mon, 7 Sep 1998, Jason William Jones wrote: > > # Hello, > # > #I am rather new to Linux Java and when downloading and installing > # jdk1.1.6-v2-glibc.tar.gz I noticed the below files in the same ftp > directory: > # > # i18n1.1.6-v2-glibc.tar.gz > # jre1.1.6-v2-glibc.tar.gz > # rt1.1.6-v2-glibc.tar.gz > # > #Are these files included in jdk1.1.6-v2-glibc.tar.gz? > # > #And what are they? >
Joining the dev. team
Hi. I am interested in joining the porting effort. I would like to start by just doing some basic bug fixing. I have already read the license agreement from Sun. Is there anything else that I need to do? Any info would be helpful. Thanks, Brad P. Crochet +===+===+ | [EMAIL PROTECTED] | "One damned minute, Admiral." | | [EMAIL PROTECTED] | Spock, Star Trek IV | | http://www.efn.org/~bcrochet | 'The Voyage Home' | +===+===+
Re: Installing java115 on linux Alpha
ur missing the path pointer to alternate shared libs - LD_LIBRARY_PATH so try: export LD_LIBRARY_PATH=/usr/local/lib presuming that /usr/local/lib is where the libXm.so is stashed. gat Kerry Boguszewski-Odom wrote: > Hi, > I am trying to get Java running on an AlphaStation 200 running > RedHat linux 5.1. I downloaded the lesstif-0.85 and compiled and installed > them in the proper directories. Then I unzipped the alpha version of java > 115. So far so good. Javac seems to be working okay. I can make a simple > class to say Hello World. But when I try to do anything with awt, I get > the error message libXm.so.1 can not open shared object file: No such file > or directory (libawt.so). The message goes on about an unsatisfied link > error. Does awt work for the Linux/Alpha? Could some kind soul give some > pointers or direct me to a FAQ for this. > Thanks, I'd really like to get this working on my Alpha. > > Kerry
Re: Loading images from JAR.
Here is a little class that I wrote that might be helpful . . . enjoy.
Carl
[EMAIL PROTECTED] wrote:
I wrote:
> What is the meaning of url.toExportedForm() from image contained in
JAR
> called something like this?
>
> systemresources://FILE1/+/images/new.gif
>
> I had a lot of trouble reading image file (GIFs) from JARs.
I had a long look at the FAQ (www.afu.com) and applied the getResourceAsStream()
example there.
This normally results in stack trace, which I forget to add in the last
post:
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java)
at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:117)
at sun.awt.SunToolkit.getImage(SunToolkit.java:129)
at com.sun.java.swing.ImageIcon.(ImageIcon.java:64)
at com.sun.java.swing.ImageIcon.(ImageIcon.java:83)
at xenon.jsql.editor.JsqlEdit.(JsqlEdit.java:173)
at xenon.jsql.editor.JsqlEditList.createNewFrame(JsqlEditList.java:101)
at xenon.jsql.editor.Jsql.(Jsql.java:144)
at xenon.jsql.editor.Jsql.main(Jsql.java:592)
Here is some code:
/** retrieves the image (GIF/JPEG) data from URL.
* implements performs URL.
*/
protected byte[] getImageData( String url_image
)
{
byte[] imageBytes=null;
if (debug) System.out.println( "getImageData("+url_image+")"
);
//
// First try reading the resource as a system file.
//
InputStream imageStream=null;
// Reset this
try {
imageStream = new FileInputStream(
url_image );
}
catch ( FileNotFoundException fe ) { ; }
if (imageStream == null) {
//
// Well that didn't work
// Second, Try to opening
the resource as an URL specification.
//
try {
URL url = new URL( url_image
);
// Try creating a socket
which connects to the
// int port = (url.getPort()
== -1) ? 80: url.getPort();
// Socket s = new Socket(
url.getHost, port );
imageStream = url.openStream();
if (debug) System.out.println("*opening
stream URL*");
}
catch (IOException ioe )
{ ; }
}
if (imageStream == null)
//
// Well that also didn't
work
//
// Third, Try to opening
the resource as as CLASSPATH specification.
// e.g. It may be part of
JAR or ZIP
imageStream = getClass().getClassLoader().getSystemResourceAsStream(url_image);
Image img = null;
try {
if (debug)
System.out.println("imageStream:"
+
((imageStream==null) ?"NULL!!":"EXISTS") );
imageBytes = new byte[imageStream.available()];
imageStream.read(imageBytes);
}
catch (IOException ex) {
System.err.println( getClass().getName()+".getImageData:
failed to load image from URL: " + url_image );
}
if (imageBytes != null)
System.out.println( "imageBytes.length
=" + imageBytes.length );
return (imageBytes);
}
Solution?
BTW: linux-jdk1.1.6-libc5 .tar.gz swing-1.1beta.zip
Cheers
Peter
--
import java.std.disclaimer.*;
// "Dontcha just love the API, baby bop!"
Peter Pilgrim Dept:OTC Derivatives IT,
Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX
Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
* ---
Carl Hewitt
CTO / oop.com
Tools and training for enterprise
business object development
* ---
JBOT - business object toolkit for Java
www.oop.com
* ---
/*
* this source file is part of the JBOT - the business object framework for Java(tm)
* and can be used only in accordance with the terms of its license. Please read
* license details for more information.
*
* Copyright 1998 oop.com and Carlton D. Hewitt
*
* for more information, contact [EMAIL PROTECTED]
*/
/**
@Author Carl Hewitt
@Version 1.0
The image extractor is to encapsulate the getting of images from
ZIP/JAR files. The constructor must either have a zip or a jar
file name in it. This will enable image files to be distributed
in a compressed format and then extracted on the fly as nessasary
You will note a couple of things about this object.
The object takes a constructor of either a URL or a JAR file.
This allows the utility to be used either in an applet over the
web or in an application.
It keeps a list of all of the input streams and does not destroy
them until the final version release of the application is done.
this is to save overhead of regetting the images. Note: this object
object now also caches images that need to be accesed multiple times. The
default behavior is to cache them, but you can choose not to cache one
by calling the extract image method with a false parm
*/
package com.oop.util;
import java.awt.*;
import java.util.*;
import ja
Re: Images
> I would like to add an image (jpg) to a JPanel, but I cannot figure out
> how to do it. How would I do this.
import com.sun.java.swing.*;
import java.awt.*;
ImageIcon oMyImage = new ImageIcon("some.jpg");
JPanel oPan = new JPanel(new BorderLayout());
oPan.add(new JLabel( oMyImage ), "Center");
// Easy. Is't it? ;-)
// You can put .jpg/.gif files to JButton/JRadioBut/etc as good as to
JLabel
Re: Get You FREE CD-ROM today
This is a java - linux mailing list. Did you really notice? [EMAIL PROTECTED] wrote: http://www.free-cdrom.com welcomes you to get your very own Windows 95, Windows 98, and Windows NT enhancement CD-ROM. This CD-ROM contains backgrounds, screen savers, Animated Cursors, Icons, Fonts, and much more. It's packed with 600MB of goodies. Stop by http://www.free-cdrom.com and get your own copy today! -- Dimitrios Vyzovitis Information Processing Laboratory Aristotle University of Thessaloniki [EMAIL PROTECTED] or [EMAIL PROTECTED] http://egnatia.ee.auth.gr/~dviz begin: vcard fn: Dimitrios Vyzovitis n: Vyzovitis;Dimitrios org:AUTH adr:142 V. Olgas Avenue;;;Thessaloniki;;54645;Greece email;internet: [EMAIL PROTECTED] tel;work: ++30-31-996359 tel;home: ++30-31-817780 note: Orientation in space and time is the framework of cognition. x-mozilla-cpt: ;0 x-mozilla-html: TRUE version:2.1 end:vcard
Re: Get You FREE CD-ROM today
I hate MS-Windows in any way
JDK 1.1.6v4a SIGSEGV 11 and fix
Paul Ho writes: > JDK 1.1.6v4a give me SIGSEGV "out of the box". > > Dump from java_g: > SIGSEGV 11* segmentation violation > > Full thread dump: > "../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443: > assertion failure > > *** panic: Internal error dumping threads! > > > My config: > jdk1.1.6-v4a-i386-libc5.tar.gz > Linux 2.0.35 libc.so.5.4.44 ld.so.1.9.7 libdl.so.1.9.7 > (Notice I'm NOT using ld.so.1.9.9) > > Solution: > Remove libc.so.5 and libdl.so.1 from $JAVAHOME/lib/i686/green_threads/ Interesting! I had thought that ld.so.1.9.8 worked, and that 1.9.9 was a regression, but this shows that that wasn't the case. Thanks for diagnosing this and sharing your solution! Steve
Re: JDK 1.1.6v4a SIGSEGV 11 and fix, worked for v2, too.
I was having the same trouble in jdk1.1.6v2. Your solution worked for me, too. Thanks, Paul, R. Paul Warriner Paul Ho wrote: > JDK 1.1.6v4a give me SIGSEGV "out of the box". > > Dump from java_g: > SIGSEGV 11* segmentation violation > > Full thread dump: > "../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443: > assertion failure > > *** panic: Internal error dumping threads! > > My config: > jdk1.1.6-v4a-i386-libc5.tar.gz > Linux 2.0.35 libc.so.5.4.44 ld.so.1.9.7 libdl.so.1.9.7 > (Notice I'm NOT using ld.so.1.9.9) > > Solution: > Remove libc.so.5 and libdl.so.1 from $JAVAHOME/lib/i686/green_threads/ > > Everything seem to work ok now. > > Cheers, > Paul
Re: [ANNOUNCE]: JDK-1.1.6v4a
Many thanks for this release! I have some problems with understanding the diffs strategy this time. I have not found any information on this in the release notes (README-1.1.6v4a.html). So far the patches where cumulative. Now '.in.jdk1.1.6-v4a.diffs.gz.' (note the strange dots around the name) are 8Kb and the previous jdk1.1.6.v2.diffs for v2 where 120Kb. I take the patches are no longer cumulative but incremental. Can you confirm or deny? - Peter Karl Asha wrote: > > NOTE: The JDK may take a few hours to appear on the mirror sites. Please > be patient. > > Announcing: Java Development Kit 1.1.6 Version 4a for Linux > --- > > Your Blackdown Linux JDK porting team is pleased to announce > its Version 4a port of Sun's Java Development Kit 1.1.6 for > Linux x86. > > New in this Release > --- > * This is our v4a port of Sun's JDK 1.1.6 final. > - fix for removes from choice list (a Sun bug) > - new fix for set frames non-resizable > - fix for mwm based window manager frame positioning > - fix for disappearing frames problem (a Sun bug) > - fix for open sockets causing poor GUI performance > - fix for kernel accept() bug, which caused slow Java Web Server > - turn-off by: export JDK_NO_KERNEL_FIX=true > - improvements in Russian font properties > - fix for CET to be Central European Time > - fix for Button 1 modifier values > and many many more fixes since Version 2 > > You can find a download site via http://www.blackdown.org/java-linux.html > "Download the JDK for Linux" link. > > **Other Notes** > > - Most, if not all, troubles with the JDK seg-faulting or > aborting on Linux x86 are really the result of old/incompatible > sets of shared libraries being used. If you run into these > troubles, please check out the FAQ available from: > http://www.blackdown.org/java-linux.html > > - The libc5 version of jdk116_v4a was built on a Debian 1.3.1 > machine running Motif 2.0.1 with gcc-2.8.1, and the glibc > version was built on a RedHat 5.0 machine running SWiM > Motif 2.1 with egcs-2.91.41. > > - Some problems with Motif and TextFields can be worked around > by pre-Loading libBrokenlocale.so before invoking java. See > the Blackdown Java-Linux Mailing list archive for more info > > - Please check out the README.linux release notes. For help, > see the FAQ and the Java-Linux mailing list: > mailto:[EMAIL PROTECTED] > > - Please report all bugs to the Jitterbug Java-Linux Bug > Database at: http://www.blackdown.org/java-linux.html > > Thanks especially go to: > > Steve Byrne, Karl Asha, Stephen Wynne, Juergen Kreileder, > Johan Vos, Michael Sinz, Scott Hutinger, and Kevin Hendricks > > Have Fun! > Java-Linux Porting Team -- Peter Ziobrzynski, http://www.pzi.net <[EMAIL PROTECTED]> work: +1 650 336-7454, work fax: +1 650 336-0635 home: +1 925 552-7128
