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 ...
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 ...
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)
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 ...
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. ...
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 ...
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
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. ...
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 ...
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 ...
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 ...
If I create a jar file without a manifest, can I still execute that jar file from the command line.ThanksJim
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 ...
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 ...
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 ...
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? ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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
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
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 ...
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) ...
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 ...
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
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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- ...
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 ...
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 ...
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)?
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: ...
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 ...
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) ...
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 ...
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. ...
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?
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 ...
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?
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
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 ...
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