where is the application downloaded

450 byte By itucakov at 2007-9-26 4:47:09
Hello,I have tried out the demo's for web start.As I understand it, the applet is downloaded onto my computer before it is opened in the web browser. But I can't seem to find where the applet was downloaded. How does it know where to put the files? I thought it would first ask me whether and ...

sending an object to the applet through RMI

1494 byte By itucakov at 2007-9-26 4:47:19
Hello,this question might have lots of details but is really important for what I am trying to do. I was wondering if web start would have these features. This is what I'd like to do:I have a plotting applet to which I send (through RMI) an object called DataTable which contains all the ...

how do i get an OS environment variable from Java code?

212 byte By 6tr6tr at 2007-9-26 4:47:25
How do I get an OS environment variable from java code?An env. variable in unix: SET BLAH=BLAHIn Windows: SET BLAH=BLAHHow get this variable? (Java makes you set one: CLASSPATH)

jnlp mime type from a serlet, but what is the href for it?

611 byte By ggcampbell at 2007-9-26 4:47:57
I have developed a servlet which returns a text string with mime type"application/x-java-jnlp-file"this launches my application in web start, but it does not load the application becauseit needs a href="?.jnlp"but there is really no file to point to.I put the servlet reference in the ...

My browser can not find jdbc classes !!!!

859 byte By ireneesm at 2007-9-26 4:51:28
I am using jdbc database access with Plugin-in an JRE 1.3, the line that gives me the error is this: symantec.itools.db.beans.jdbc.QueryNavigator _C__DESARROLLO_INTERNO_HojaGastosSectores_Navigator = new symantec.itools.db.beans.jdbc.QueryNavigator(); What can I do? Thanks to all. ...

BDK Error

735 byte By johrik at 2007-9-26 4:51:46
Hi all...I was trying to link/connect 2 Beans in the BDK, the Juggler Bean and ourButton. When I tried everything was fine untill I tried pressing the button which resulted in the following error message in the DOS prompt, and no actionPerformed, thus nothing actually happens. The problem is ...

debug

234 byte By kim_pollock at 2007-9-26 4:51:48
I cannot find much information on debugging a java class. Could sombody help me with this. Just the command, step through, break points and examine and to get line numbers would be sufficient. Greatly appreciated. Thanks

MY BROWSER CAN NOT FIND ANY CLASSES !!!!!

310 byte By ireneesm at 2007-9-26 4:51:52
...Using Java Plug-in and JRE 1.3I have put my JAR file in the same place of the class (root of the Web Server). Why can?t it find the classes?I do the JAR file with the deploy option of Visual Cafe and it generates a folder called symantec with all classes, I don?t understand why. ...

char set conversion for UTF-7

331 byte By kilyas at 2007-9-26 4:52:53
Hi,I am working on Char set conversion to and from UTF-7. However I cannot find and ChatToByte classes for UTF-7 in i18n.jar .Any ideas as how to proceed further with this issue. I feel that there must be a way since UTF-7 is a pretty popular charset especially in emails.Thanx in ...

WebStart Security Warnings

597 byte By pantal at 2007-9-26 4:52:58
Is it posible to modify the JVM's security policy so that applications that run on webstart(which runs on the JVM) will not present the warning(i.e. "This application has requested read/write access to a file on the local filesystem. Allowing this action will only give the application access ...

Running different JRE on the same system to measure JRE Performance

818 byte By christma at 2007-9-26 4:53:19
Hey there,I want to run several java benchmarks on different runtime environments on the same system. Now, I need to know what I have to consider that those machines do not affect each other?What do I need to consider while installing those different runtime environments.How do I have to set ...

quick question

136 byte By McGuiganJ at 2007-9-26 4:53:20
If I create a jar file without a manifest, can I still execute that jar file from the command line.ThanksJim

Not able to download the Jar File in my local system

1680 byte By Kumar2001 at 2007-9-26 4:53:52
I am not able to download Jar File in my local System when the applet is executed. As per the specification it should download if that jar is not there in my local system. I am able to execute the applet but only thing is the jar is not residing in my local machine. I am using java plug in ...

Problem: Reloading Applet duplicates contents of page

782 byte By chadsw at 2007-9-26 4:54:34
Hello,In my applet, I have a JFrame that contains 4 JTabbedPanes inside it. When running my applet and if I hit the reload button on my browser, the applet reloads, but duplicates the tabs again.Thus, there are now 8 tabs, but the contents of the tabs are in the duplicated tabs (the orginal 4 ...

Tomcat installation

326 byte By haric at 2007-9-26 4:54:52
There seemed to be a problem with my Tomcat..I am unable to start the server as I am getting the following error..the system cannot find the file C:\jdk1.3.1\bin; \bin\java I have my jdk1.3.1 installed in the same path...and JDK runs fine with normal applications.Pl help ...

Netscape plugin recognition after plugin instalation

442 byte By jreis23pt at 2007-9-26 4:55:04
I got a web page with an APPLET tag modified by the htmlconverter. When i runned it in IE it the plug-in was sucessfully installed and the applet runs fine. In the same computer, i tried to run the same page in Netscape and the plug-in was asked to be installed again?!It shoud be that way? ...

To Verisign or not to Verisign my Code? (And which do I use?)

908 byte By TaxiMan at 2007-9-26 4:55:05
I have been using the netscape signing tools to sign my applet using a certificate from Netscape's Certificate Signer (in house). I am able to sign my applets and run them in IE (4.0 and 5.0) on Windows NT 4.0 without any problems. It also runs on Netscape 4.x but it does not have to run on ...

switch between 2 languages

378 byte By renno at 2007-9-26 4:55:24
Hi,I have a JFrame with a few menu items in each menu. I have a resource bundle properties file. I want to be able to switch between french and english using a button from the toolbar.I don't understand how to make all the menus and components change.What action should trigger the button?Have ...

file chooser

305 byte By renno at 2007-9-26 4:55:34
HiI am trying to get the file open/save dialog with webstart.My first question is, do I have to use the JFileChooser or can I rely directly on the FileOpen Service, provided with the webstart?And how can I set a file filter property in this way?ThanksRenno ...

JDK 1.3.1 and Linux Mandrake 8.0

531 byte By kkarski at 2007-9-26 4:55:36
I am a newbie and am installing jdk 1.3.1 on my mandrake 8. Mandrake already comes with jdk 1.1 installed.I have installed the jdk rpm and set my /etc/profile toexecute PATH=$PATH:/usr/java/jdk1.3.1/binhowever, when I check java -version, I still get the preinstalled jdk 1.1 and kaffe in ...

JWS and IE6 (Windows XP)

116 byte By weird at 2007-9-26 4:56:31
Anybody any idea how to update the javascript for autodetection of JWS so it'll work with IE6?

New to building Jars

2457 byte By jimscott at 2007-9-26 4:57:05
I am almost embarrased to ask this question of such an august body of experts.I have created an application containing several (15) jar files. All of the classes I have written (112) use a path. I have created them in Oracle Jdev, and they work just fine. I jar them using the deploy mechanism ...

javax.comm through j++ 6.0?

2042 byte By paulashton at 2007-9-26 4:58:17
Is there any reason why I can run my prog fine from command line (sends bytes to the modem, which flashes happily), but when I try and run the same code through j++ it can not find any of the ports and therefore does not connect to the modem. I have added comm.jar to the project, comm.jar to ...

Mouse right click

207 byte By linette at 2007-9-26 4:58:26
Hi,I would just like to know if there is a function for a right click mouse listener ?I want to right click in a JTree to get a popup menu, how do I do that ?Thanks Linette

Mouse right click

207 byte By linette at 2007-9-26 4:58:27
Hi,I would just like to know if there is a function for a right click mouse listener ?I want to right click in a JTree to get a popup menu, how do I do that ?Thanks Linette

Applet installation to use in a browser

318 byte By RousseauN at 2007-9-26 4:58:59
Is it possible to make a software to install an applet on a computer. So when the user go to the web page and want to see the applet, the browser does't download the applet but instead, use the installed applet?If it is possible, how to do it? Thanks in advanceNathan Rousseau ...

Instantiating LoginConfiguration0 for JAAS

1078 byte By nicolai at 2007-9-26 4:59:18
Hello I'm trying to distribute an application that needs a logon to an ejb server via webstart.Here issome sample code on how I am setting the system properties to use a file, auth.conf, to tell JAAS about the client's login configurationpublic UserLogon (String username, String password) ...

Applets in jsp

712 byte By jayanthin at 2007-9-26 4:59:32
how to pass values from jsp to applet class.i have a jsp where am getting values from database and i want to pass these to applet class.my coding is like this,// jsp coding// calling applet class<applet code="applet1.class" width=200 ...

The Number of characters in TextField

215 byte By reddyumamaheswar at 2007-9-26 4:59:42
HiHow do we know the number of characters in TextField and TextArea. How can we test that a textfield and a TextArea is not empty?Can any one help me?Thanksumajava@yahoo.com

Jar File caching in temp directory problem

808 byte By dhughes1 at 2007-9-26 4:59:53
Hello, I have a problem where the java plugin is caching jar_cache9999.jar (where 9999 is any number 0-9) files in the temp directory. I have tried following the directions for disk caching in the documentation, but these files are always created, never destroyed. I was wondering: 1. Is there a ...

Memory leak in Solaris - SunOS 5.7, jre1.3.1

848 byte By p_vidya at 2007-9-26 5:00:13
Hi,I hava a java application that spawns about 100 threads. Each thread sends a request to WebLogic server 6.1. We are using Oracle 8.1.7. They are all running in a Sun box, 2 CPUs and 6gig memory.JRE = 1.3.1SunOS = 5.7Weblogic = 6.1Oracle = 8.1.7(All running on the same box)When we start the ...

AWT Event Simulation

395 byte By dybarra at 2007-9-26 5:00:58
Is there a way to simulate the event that occurs when a person clicks on a minimized window/frame in the toolbar? My problem is there doesn't appear to be a way to unminimize a Frame automatically if the user has it minimized. I thought maybe I could simulate that event to do the trick. If ...

Java Speech

290 byte By rshields at 2007-9-26 5:01:24
I was wondering how many people have experience with Java Speech. I would like to incorporate it into an application and was wondering:1-What do I need in order to run it.2-How easy is it to distribute with a finished application.Any help is appreciated.

Can someone tell me if Lazy loading actually works?

780 byte By NDH at 2007-9-26 5:01:50
Hi folks, I'm trying to optimize download times of my application which relies on some huge applicationserver libraries (25mb). What I did is that I cut this big one jarfile into 80 small jarfiles, one per package and included them in the jnlp file with jar and package elements set to lazy ...

Applet > Email server ?

330 byte By reddyumamaheswar at 2007-9-26 5:03:09
Hi,On click of a button in an Applet, I need to get connected to some email server and post some message. example (umajava@yahoo.com).I have used URL and AppletContext.showDocument(url) to get connected to the server but it is not working. Any new ideas please?Thank you,umajava@yahoo.com ...

text editor too slow

579 byte By lachenmayr at 2007-9-26 5:03:52
Hi, I'm trying to create a text editor applet in Java 1.1.8. My way I go is:Every time a key is pressed, the character is added to an array and repaint is called. The pain method displays the text is displayed on a canvas by going through the array and calling drawString with the calculated x- ...

StringTokenizer error

619 byte By Dawn_rico at 2007-9-26 5:04:00
hi Experts,I've included these libraries but I still have still error. Do you have any solution? Thanks.import java.util.*;import java.util.Vector;import java.util.StringTokenizer;import java.lang.*;import java.lang.Object;import java.lang.String;C:\Folder\MyFileReader.java:60: Method ...

StringTokenizer error

619 byte By Dawn_rico at 2007-9-26 5:04:01
hi Experts,I've included these libraries but I still have still error. Do you have any solution? Thanks.import java.util.*;import java.util.Vector;import java.util.StringTokenizer;import java.lang.*;import java.lang.Object;import java.lang.String;C:\Folder\MyFileReader.java:60: Method ...

Can jar files "register" themselves with the webstart?

145 byte By khvenkin at 2007-9-26 5:04:04
Can downloaded jar files "register" themselves with the webstart so that other applications can use them (and update if necessary)?

Jar not able to execute.

720 byte By vbasarkar at 2007-9-26 5:04:06
Friends,My Main class is :==import java.io.*;====public class Test=={==public static void main(String args[])=={==System.out.println("Test program");==}==}My manifest file is :==Manifest-Version: 1.0==Main-Class: Test==Created-By: 1.3.0_02 (Sun Microsystems Inc.)====Name: Test.class==Java-Bean: ...

getInteger error

717 byte By Dawn_rico at 2007-9-26 5:04:09
hi Experts,Do you have any suggestions to this problem? Thanks.I've included the required libraries.import java.util.StringTokenizer;import java.lang.*;import java.lang.String;import java.lang.Integer;int cnt = 0;int id = 0;while ( st.hasMoreTokens() ){token = st.nextToken( );if (cnt == 0){id ...

Printing an image if you don't have ImageObserver?

1116 byte By jmschrei at 2007-9-26 5:04:28
Is there is a way to print an image if you do not have ImageObserver for it? I have a class called MyPrinter that takes in a ARecord and a String object (where Image file is located c:\\myProg\images\myImage.gif). class MyPrinter implements Printable {MyPrinter(ARecord record, String fileName) ...

Dispalying a message in Frame..?

918 byte By reddyumamaheswar at 2007-9-26 5:05:14
Hi,I wanted to display a message in a frame on click of a button in an applet. Here is the code that I have written for the Frame class and I am calling this class in the Applet on click of a button likeDrawString ds = new DrawString();It is displaying the Frame but the message is not getting ...

Executable Jars and Excelsior Jet exe's do not function properly

1947 byte By bubba64 at 2007-9-26 5:05:19
First of all, I use JDK 1.3.1 with JBuilder 4 professional on w2k laptop. I have been trying to distribute a beta copy of a program that I had previously written in VB that I have spent a few months writing in Java. Things are acting a little strange, and I hope some of you have suggestions.1. ...

Using FilenameFilter in FileDialog?

121 byte By eyaly at 2007-9-26 5:06:07
Hi there,Does someone has a sample of how I can openthe file dialog with file filters?

JNLP FileSaveService

567 byte By davesmithS at 2007-9-26 5:06:48
Hi - I am having trouble saving new (rather than already opened) files to the client machine. The only way I can see that it can be done in the sandbox is to create a muffin file using persistenceService and then pass that to the FileSaveService object to save in the correct place, then delete ...

clearing some files from the cache? lifetime?

292 byte By ggcampbell at 2007-9-26 5:06:59
I would like to clear some files from the cache automatically.Some applications run only once and I would like to clear out the corresponding.jar files.Is there some way to set the lifetime to 0. ?Is there an explicit way to clear a .jar or a muffin?

Jar Compatability Across VMs

248 byte By mike_allen3 at 2007-9-26 5:07:01
Are jar archives compatible across the different Java versions? Specifically, if I prepare an archive with the 1.2 jar utility, will 1.1 users be able to use it like they would have if I created it with the 1.1 jar utility?Mike

LayeredPane in a JApplet?

998 byte By Frumple at 2007-9-26 5:07:08
Hi, my problem is that the LayeredPane in my applet doesn't seem to appear. Basically my code starts with this:JLayeredPane layeredPane = getLayeredPane(); Then when a certain button is pressed, I want the layered pane to display a component, a JList in this case:JList list = new ...

a simple question about event

174 byte By chestnut at 2007-9-26 5:07:59
Suppose I have a processEvent method inside my frame, how can I judge the event it catched is a keyevent or mouseEvent, how to write the statement?Thanks