File IO exception from the security manager

1999-04-24 Thread Joel McCarty
I'm trying to set up jButtons with different images like such - h t m l --- . - h t m l the images are read in like thus

Re: drag'n'drop with jdk 1.2-pre1?

1999-04-24 Thread Juergen Kreileder
> Pete Wyckoff writes: Pete> [EMAIL PROTECTED] said: >> I'm trying to do drag'n'drop with Swing in JDK 1.2 pre1. However, all >> the examples I've managed to find (well, all two of them, from >> MiningCo and JavaWorld) give me this when I try to drag something: >> >>

Re: drag'n'drop with jdk 1.2-pre1?

1999-04-24 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > I'm trying to do drag'n'drop with Swing in JDK 1.2 pre1. However, all > the examples I've managed to find (well, all two of them, from > MiningCo and JavaWorld) give me this when I try to drag something: > > java.awt.dnd.InvalidDnDOperationException: The operation reques

Re: I/O to HTTP url

1999-04-24 Thread Jchart Staff
You would need to have the Java code call a cgi script or servlet that resides on the remote host. The cgi or servlet could then write to its local machine. You are correct about the java.io.*. You would need to use the java.net.* api. to run the script. Michael Holst wrote: > Hello, > > I'm no

NullPointerException

1999-04-24 Thread Joel McCarty
Help, I keep getting a NullPointerException when trying to load the following aplpet. Can someone please help - it's 1 of 6 programs I'm writting for my final in an intro to java class and I haven't been able to track down the problem. Below is the output of the java console and the applet and ht

I/O to HTTP url

1999-04-24 Thread Michael Holst
Hello, I'm not a Java newbie, but I am not too familiar with the networking classes of our dear "write once, run anywhere" language. The problem is the following, I need to let an applet write a file to a specified http address in order for it to work correctly. How do I acomplish this? If I am c

drag'n'drop with jdk 1.2-pre1?

1999-04-24 Thread Juri Pakaste
I'm trying to do drag'n'drop with Swing in JDK 1.2 pre1. However, all the examples I've managed to find (well, all two of them, from MiningCo and JavaWorld) give me this when I try to drag something: java.awt.dnd.InvalidDnDOperationException: The operation requested cannot be performed by the Dn