Re: Jar file Access to images

1999-10-18 Thread schen
On Mon, 18 Oct 1999, Robert Simmons wrote: > I have an application that I intend to package as a jar, with its images in > the Jar. How do I construct a URL object to load those images into IconImage > instances from the LOCAL jar file (ie, the file the program is running in.) >

Re: Jar file Access to images

1999-10-18 Thread Ted Neward
<[EMAIL PROTECTED]> Date: Monday, October 18, 1999 4:36 AM Subject: Jar file Access to images >Greetings, I cross posted this to about 3 newsgroups and havent gotten a >reply yet so I figured I would post here because i need it answered. So dont >flame me for posting a general questi

Jar file Access to images

1999-10-18 Thread Robert Simmons
Greetings, I cross posted this to about 3 newsgroups and havent gotten a reply yet so I figured I would post here because i need it answered. So dont flame me for posting a general question. I have an application that I intend to package as a jar, with its images in the Jar. How do I construct a

Re: Problem Loading Images

1999-08-22 Thread Timothy Parthemore
Well,       I changed it to 16bpp and now it "seems" to be working fine. Most excellent!  Of course I would like it to run at a better color depth, but I'll take what I can get.       Tim

Problem Loading Images

1999-08-22 Thread Timothy Parthemore
    Hello All:         I'm trying to run the JDK1.2, but unfortunately it eludes me.  I installed the necessary fonts. javac works fine..seems to correctly compile all of my source.  However, java and the appletviewer crashed with a segmentation violation everytime programs tried to load an

Re: draw images

1999-07-22 Thread Rick Sanders
> i want to draw a image in my applet and i used the code > below. but it is not loading. i think there is a small mistake. > > public class GetImage extends java.applet.Applet { > > Image img; > > public void init() { > > System.out.println(getCodeBase()); > t

draw images

1999-07-22 Thread R MUTHUSWAMY
hi, i want to draw a image in my applet and i used the code below. but it is not loading. i think there is a small mistake. thanks in advance MUTHU. import java.awt.*; import java.lang.*; import java.net.*; public class GetImage extends java.applet.Applet { Image img; p

Re: Images 1-bit colour models

1999-03-19 Thread zun
On Fri, 19 Mar 1999, Nick Bailey wrote: > We are having trouble with our "fonts". They are not real fonts: they > are images created by a memory image source which was created by reading > a TeX pk file. The fonts are read from the pk file to generate a pixel > map with

Re: Sounds [was: Images 1-bit colour models]

1999-03-19 Thread dog
eme and protocol implementation for your memory images, and access the sounds through that mechanism. a bit ott, perhaps. dog -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Sounds [was: Images 1-bit colour models]

1999-03-19 Thread Nick Bailey
But the applet class can only /play/ sounds already in /files/, right? We want to synthesise them on the fly, whcih means having lower-level access to the sound hardware. Sounds get generated in response to user actions, so I'm not sure it'd be possible to write a file, then use the applet metho

Re: Images 1-bit colour models

1999-03-19 Thread Stephen Pitts
On Fri, Mar 19, 1999 at 11:40:18AM +, Nick Bailey wrote: > Most of the conversation on this list seems to be about jdk1.2, which is > ?2. Sound and MIDI isn't there yet, even in so far as it's in the 1.2 > spec. We might as well code with JNI and go native. Check on the java.applet.Applet cl

Images 1-bit colour models

1999-03-19 Thread Nick Bailey
sons, but because I like the design, documentation capacity etc etc, and it's enough like c++ that the community could offer bug fixes in the open-software spirit. We are having trouble with our "fonts". They are not real fonts: they are images created by a memory image source whic

Off topic: Displaying/Saving images in an application.

1999-03-18 Thread Karthik Vishwanath
Hi All, Can anyone guide me to a place/ tell me how to display an Image in an application and how to save it bcak to a file? Pardon the "javaness" of this question. -Karthik. +-+ | Karthik Vishwanath, Junior Research Fellow,

Re: Images

1998-09-07 Thread Paul V. Drobnich
> 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 ), "Ce

Re: Loading images from JAR.

1998-09-07 Thread Louis-David Mitterrand
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

Re: Loading images from JAR.

1998-09-07 Thread Carl Hewitt
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

Re: Loading images from JAR.

1998-09-07 Thread peter . pilgrim
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.co

Loading images from JAR.

1998-09-07 Thread peter . pilgrim
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

Images

1998-09-07 Thread Shafiek Savahl
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

Q: Extracting compressed images in java

1998-08-25 Thread Matt Zagni
I have a .gz compressed file that contains .gif images How can I uncompress these files using java/javascript ? Is there an example of java code that I could use for this ? If so please could someone mail it to me. Many thanks Matt

Re: color problems viewing images from Linux jdk1.1.5 via Exceed

1998-05-19 Thread Paul Ho
At 11:00 AM -0400 05/19/98, Geoffrey S. Knauth wrote: >If I recall correctly, 32-bit color is [Red][Green][Blue][Alpha]. If >some layer were confused and just masked off the lower 24-bits, you'd >lose [Red]. Switching to 24-bit color would make the problem appear >to go away. It all depend on t

color problems viewing images from Linux jdk1.1.5 via Exceed

1998-05-19 Thread Geoffrey S. Knauth
Linux output on an SGI box having a truecolor visual. This eliminates any server peculiarities. The problem is that all images have no red in any of their colors. Only images are affected; lines, polygons, etc. are ok. The problem appears in three different versions of jdk for Linux