1213 byte By
tinca at 2007-9-26 6:03:23
Dear All,In an earlier thread I described a case when our jws app (on mashines with dial-up connection) starts despite what is in jnlp. According to the Developer's Guide: ".. JNLP file will not be able to be launched through the Application Manager (AM), if the offline checkbox is checked. ...
261 byte By
dgk_goa at 2007-9-26 6:04:19
Hi everybody,I am writing a application which makes use of mouse. My difficulty is like how to capture the right and left double click of mouse?Please guide its urgent.Any reply will really appreciateThank youdgk
493 byte By
darkPsy at 2007-9-26 6:05:02
hi,i watched the forum but didn't find an answer to my problem. what i want is that after a klick on a button the FileDialog should appear. then i want choose a directory and enter the name for the new file.then after clicking the ok button of the filedialog frame, i want to get the file name, ...
Hi Everyone,I have a class importing two packages:import java.rmi.* ;import javax.ejb.* ;I'm working with Visual J++ but it doesn't recognize the package. I have the jar file containing those packages but I don't know how to add them to the known packages of Visual J++!I know how to do it ...
589 byte By
Ssimonj at 2007-9-26 6:06:07
Hi, I'am writing a AWT Applet GUI which works perfectly upto a point where I have to create a thread to perform a task similar to what the GUI does. I have created another class for the thread and this is working initially. The problem is that when the thread has got the information ...
hi,can i use 2d API with out using JRE 1.3 .please replyravi
674 byte By
paioro at 2007-9-26 6:06:24
Excuse me, does anybody know what it means and what is the solution?java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)at ...
188 byte By
outtake7 at 2007-9-26 6:06:36
the Installation hangs after unpacking the files. I recieve a message, about a missing SETUP.EXE or some Components(?) . Did anyone knows something about this?Thanks..
872 byte By
mitcho2 at 2007-9-26 6:06:38
I wish to rotate a JPG image in Java 2D and redisplay theimage with the new dimensions. The problem I have is that when the image is rotated it does not display in thenew dimensions. For example I have a 20 x 10 image,rotated 90 degrees I should see the image in 10 x 20 format. What I see is a ...
276 byte By
nguinto at 2007-9-26 6:06:53
In the file j2eeide.bat, it stops at this line:if not exist %_FORTE4J_HOME%\lib\developer.jar goto NO_FORTE4JI don't have this jar file on my installation. My installation consists of:jdk1.3.1j2sdkee1.3forte4j Early Access 3.0
206 byte By
6tr6tr at 2007-9-26 6:06:59
Anyone figured out a way to use JWS without needing the MIME type preloaded on the client's computer?Why is it not server-side loading? How can I force a load of JWS and the MIME-type?
Hello,Is it harmful of using java.sql.*; package with its methods in an Applet? Can't I use JDBC in an applet to get connected to a database?What could be the problem if I do so? Netscape with this type of applet works fine, but IE5.5 disposes by itself without loading the applet. Can any one ...
214 byte By
froy007 at 2007-9-26 6:07:09
Hi all,I'm trying to execute a dos program using:runtime.exec("dos_prog.exe")THE PROBLEM : in this way I can run onlyWINDOWS programs and NOT DOS progs.What to do ?
I'm having a problem with the download of a large applet (approx. 1MB) getting cut short.Everything appears normal. The Java Extension Installation progress window comes up. But when it tries to run the applet it gets "load: class <className> not found" where <className> is the ...
249 byte By
stricch at 2007-9-26 6:07:54
I don't want to use the Java2 plugin. I'm geting a ClassNotFoundException.I even tried extracting the java.awt.geom classes and putting them into a jar file, then I get the security exception errors.Thanks for any help.
When I try to access a device, through a VPN tunnel, that has an applet to run, I get access denied messages in the console. I am using JRE 1.3.0_2 on both IE6.0 and IE5.5....Here is the text of the message:java.security.AccessControlException: access denied (java.net.SocketPermission ...
1096 byte By
jreich at 2007-9-26 6:08:10
I have a question about calling or not calling the pack() method on Dialog (and JDialog). I always use it, but I am working with some code that does not pack() and I think it is causing problems. However, I can't find any "official" statement that says that pack *must* be called.The problems I ...
589 byte By
MattPico at 2007-9-26 6:08:49
Downloaded jdb1.3.1_01 onto my Win '98 machine, and everything worksfine from the command line (I updated the PATH environmental variable "byhand", and didn't bother with "CLASSPATH). But the neither the JDB nor theJRE appear when I use the control panel to look at installed applications. ...
753 byte By
winit at 2007-9-26 6:08:56
Hi there !Running the same applet in different browser windows (Netscape 4.72 - Plug-in 1.2.2) appears to use the same JVM. When I see the process list from the OS (Windows Task Manager) I see only one Netscape Process.This is causing me a lot of problems, because the applet opens a socket ...
1248 byte By
flawlor at 2007-9-26 6:09:01
I have some Japanese text being retrieved from a property file by a JSP:<% java.util.ResourceBundle bundle = java.util.PropertyResourceBundle.getBundle("Messages", new java.util.Locale("ja", "")); %>...<P> <%= bundle.getString("Message1") %>I tested this on my local system ...
157 byte By
kilyas at 2007-9-26 6:09:10
hi,Does anyone have any idea as how to write a ByteToChar and a CharToByte Class for a particular encoding?regards,Khurram
I get a problem which results in the browser which is running the plug in (and the plugin itself) close down suddenly. No error. No warning, they just vanish.I am using IE5 and JRE1.3 for the plug in.The code when it occurs is KeyPairGenerator keygen = ...
108 byte By
sellare at 2007-9-26 6:10:33
hi I changed proxy configuration in my plugin, but no effect. why?thanks
254 byte By
trupek at 2007-9-26 6:11:01
Hi there,Is there a Method to let the Plugin (1.3.1) be installedfrom a intranet address? The Object-Tag created with the HTML-Converter points to sun! How can I configure the Plugin-Installer to load from intranet location ?
126 byte By
eleshm at 2007-9-26 6:11:59
If I am using the MouseOver procedure in a Mouselistener, how can I query which object currently has the focus ?
1587 byte By
paioro at 2007-9-26 6:12:05
Excuse me, but I have again the same problem. Now I expalin better the question.I have a server UNIX where run a servlet. This servlet have tu send a GIF to any browser on any OS. For create my GIF I use the ACME package.class graphCreator extends Applet {private Font fntc = null;private Font ...
Hi, I am trying to start the jndi registry via code.my code is as followsRuntime r = Runtime.getRuntime();try{Process p = r.exec("start tnameserv");try{p.waitFor();}catch (InterruptedException ie){System.out.println("caught "+ie);}}catch(Exception e){System.out.println("caught "+e);}but it is ...
323 byte By
nokis at 2007-9-26 6:12:57
HiMy application has 2 jar files that are both needed. To use classes in the 2nd jar file I think I need to load it with a classloader. Does anyone know how to load a complete jar file using a class loader, or does anyone have any other suggestions for ways to solve this problem.CheersSS ...
I've installed j2se version "1.3.1" on my win2k box successfully. I am currently having a problem though when installing Forte 3.0. Specifically I get a warning message on install saying that the version of java detected was only 1.3 and that Forte only has full support on 1.3.1. When I do a ...
Hi allI have a web app that accepts text that can be in many languages.I build up a http string and send the text as parameters to another webserver. Hence, whatever text I receive i need to be able to represent on a http query string.The parameters are sent as urlencoded UTF8. They are decoded ...
We've just begun using the new Java Plug-in 1.3.1 version. There are some new features with the Control Panel that comes with this Plug-in. One thing I'm curious about is the 'Recycle Classloader' option. What does it mean if I turn it on and what does it mean if I turn it off?We've got an ...
441 byte By
Ssimonj at 2007-9-26 6:13:55
Hi, i need to disable a button that when pressed disables itself untill the process accociated with the button press has finished i.e.Public actionPerformed ( ActionEvent etc..)if(e.getSource() == button1){(code that goes here to disable button1)//rest of the process (code to enable ...
441 byte By
Ssimonj at 2007-9-26 6:13:56
Hi, i need to disable a button that when pressed disables itself untill the process accociated with the button press has finished i.e.Public actionPerformed ( ActionEvent etc..)if(e.getSource() == button1){(code that goes here to disable button1)//rest of the process (code to enable ...
804 byte By
flawlor at 2007-9-26 6:13:57
I have some Japanese characters in a property file which I display with a JSP. When the encoding for the page is set to "8859_1" (or nothing) I can see the Japanese text fine.If I change the encoding to "shift_jis" then strings I retrieve from the property file with bundle.getString() come out ...
361 byte By
skode at 2007-9-26 6:14:12
hi there, I Downloaded Java2.0SDK and Installed it. when ever i am executing "javac" command in bin directory it is running, but when i execute the same command in Different directory, it is giving some error "bad command". i want to know how to set the path such that i can compile and execute ...
1212 byte By
emyhre at 2007-9-26 6:14:37
My project has a requirement to support multiple currencies as our first internationalization feature. However, I've come across something with the Locale class that doesn't really make sense to me, and I'm wondering if anyone else has any best practices or insight.Why can't you create a ...
108 byte By
pgahuja2 at 2007-9-26 6:14:55
How do I capture the RETURN VALUE from the Unix process (executable) invoked from java program
588 byte By
itucakov at 2007-9-26 6:15:05
Hello, I have installed the jdk1.3.1 plug in un my unix machine and innetscape I set the preferences | advanced | enable java Plugin to true.Then I tried to load a java applet and got this error:Exec of /usr/bin/i386/native_threads/java_vm failed: 2Plugin: Plugin is not enabled or java VM ...
Is there anyway to detect that a browser has the Java Plugin for both IE and Netscape? What I want to do is detect if the browser has the java plugin if so then then display the applet else display a message about the plugin that they are going to be installing and to give the user an option to ...
I am currently working on a project that requires me to allow right click menus on screen components. It does not appear that java.awt.Label triggers MouseEvents.Am I missing something, does java.awt.Label accept MouseEvents, if not, is there a compativle component that does.Any help would be ...
6140 byte By
bokonan at 2007-9-26 6:17:28
Hi,When I make an updated JAR file available, it gets downloaded and verified correctly (it's signed), but then nothing. The progress dialogue simply says that scanning has reached 100%. There have been a couple of threads along these lines, but nothing that seems to jump out as a solution. ...
345 byte By
randy-e at 2007-9-26 6:17:37
We always receive an error by dr. watson (Win NT 4.0 Server) on jrew.exe similar to the following:The application, , generated an application error The error occurred on 8/27/2001 @ 10: 0:19.871 The exception generated was c0000005 at address 1f4a3845 (SQLFetch)We badly need help on ...
Hi everyone.I have a big problem. I have a Java application who creates directories and files. These files are created with ObjectOutputStream on top of FileOutputStream and they are closed correctly. The directories are created with File.mkDirs().I'm working on Windows 2000 Pro with JRE SE ...
668 byte By
froy007 at 2007-9-26 6:19:28
I'm running an old dos (16bit) program from my javaapplication ,and I wan't to use this program's output in my application .I'm using this code :...String readit = "";Runtime rt=Runtime.getRuntime();Process proc=rt.exec("command /c file_name");// rt.exit(1);DataInputStream dis = new ...
1247 byte By
skanberg at 2007-9-26 6:20:14
Hi!I can't get the DownloadService to work as I wan't it to work.I have 30 resources in my jnlp-file who has the download property set to "lazy". When I start my application none of these resources are downloaded, which is correct. But when I want to download one of these resources using the ...
1350 byte By
tbraun at 2007-9-26 6:20:24
I'm trying to dynamically load a truetype-font in an applet with Font.createFont(...) .Unfortunately I'm always gettingjava.lang.SecurityException: Unable to create temporary file And, surprise, surprise, Font.createFont() requires a temporary file wich I found not to be documented in javadoc ...
1239 byte By
dewittsc at 2007-9-26 6:21:53
I am running into a problem as follows.Our product depends on using the most recent versions of Xerces & Xalan so we prepend the path to ours using -Xbootclasspath. Xerces provides the ability to specify a custom document factory to create custom implementations of the DOM classes.I have a ...
Hi there,I'im working on an applet which is supposed to be used by Polish people (encoding iso8859-2), but I have absolutely no idea about how I could make it display correctly polish characters : The applet downloads a properties file, by calling Properties.load(URL)The file the url points to ...
436 byte By
robli73 at 2007-9-26 6:22:08
I guess everyone now knows Micro$oft will no longer support Java in their new release of Windows XP. Does this mean that the users need to manunally change the default setting in IE and manually download the JRE from SUN? Will this keep our users away from enjoying WebStart(or applet)?Right now ...
4834 byte By
ipolevoy at 2007-9-26 6:22:24
I created a new topic because the questions abouthow to detect Java Plugin in browsers are scattered thoughout this forum.Basically you need to employ two approaches for IE and NS.In IE you need to try to instantiate a small applet(not your production applet) in order to see if browser can do ...