User experiencing strage problem

696 byte By dfulton10701 at 2007-9-26 4:07:14
Hi guys,First of all mucho kudos to the JWS Engineering team. I'm really impressed by the app., its performance and the way it deals with the problems it was designed to solve.A couple of questions:I've deployed my app. on the internet - most of my users can get to it without any problems. ...

Will Java Plug-in suffice if Windows comes w/o Java?

239 byte By safir at 2007-9-26 4:07:27
Just wonder if the new version of Windows comes w/o Java as it is being declared, will Java Plug-in be enough for an average user to be able to use Java applets in one's browser? Thanks for any feedback,Reshat.

Class loading from /lib/ext questions

903 byte By swaller2 at 2007-9-26 4:07:29
I have two JAR files in the /lib/ext directory when using the Java Plugin 1.3.1. Both the JAR files contain a class with the same name and package name. And my classpath is set to whatever the default is for the Java Plugin.1. Which class will the Plugin use, the one in jar1 or in jar2 (call ...

Plugin 1.2.2 java.security.AccessControlException

430 byte By rjchazhoor at 2007-9-26 4:07:33
I am trying to load an html file through http on a JEditorPane loaded from a JApplet. It works fine with Java Plug-In 1.3.0_02, but when tried with Plug-in 1.2.2, it failed to load the file by throwing the following exception on the Java Console:-java.security.AccessControlException: access ...

getImage() throws nullpointerException in Netscape (but not IE)

2165 byte By rakhisaxena at 2007-9-26 4:08:26
1. Does getImage work on Netscape Navigator? When I load pictures to my applet, NN's java console doesn't say anything. After creating a new Panel that actually uses the Images, applet gives a nullPointerException because of the images. The same code works in Internet Explorer and ...

How to access .properties file outside the current folder?

212 byte By vladshtr at 2007-9-26 4:08:54
Hello,I am interested in accessing an .properties file which is located outside of the folder that contains the application. If any one can help me please answer:))Thank you in advance

Packages and lazy download

1385 byte By fbehrens at 2007-9-26 4:08:57
I tried to use the lazy download feature for our application, but I had no success. The JAR files marked for lazy download are not loaded before application start, but shortly after start, although no class contained is referenced.It seems Java Web Start is loading all jars if there is a ...

Trigger with keyboard and mouse inactivity

766 byte By carlosnf at 2007-9-26 4:09:32
Chat software like MSN Messenger often have a facility to detect the users "away" status. This is basically done by when there is no keyboard/mouse input for a pre-specified period of time. I have no professional Windows programming experience, and I want to know if there are ready made APIs ...

read a configuration file

286 byte By dragan-sassler at 2007-9-26 4:10:21
Hello,have somebody an idea:1. How can I read a configuration file for an jnlp client?2. Where can be located the configuration file?3. It is posible to read a configuration file packed in the jar file?Thanks.Dragan-Sassler

JApplet ... where are you?

352 byte By mlorena at 2007-9-26 4:10:54
hii've the following problemi'm developing an applet based on JApplet. When i try to load it from a tomcat server nothing happen except that on the server stdout, where happenCtx (/opm) : 404 R(javax.swing.JApplet.class)...looks like i doesn't find swing librarycan somebody help me?thanks ...

Java Plugin and GIFs from Jar file...

1663 byte By jwilleke at 2007-9-26 4:11:26
This used to work and I haven't looked at it for a while. First thing I did is run the old java applet web page with the old jar file, kinda just to lay eyes on the thing again. It had to download a new plug-in from Sun, and upon doing so, reports a new error indicating that the value for the ...

Get ur Duke Dollars Fast

125 byte By sameera_cmca at 2007-9-26 4:11:40
how to allow a applet to create a file in the local machine . examples and codes pleaseThanks in advance

Applet not displayed in Browsers

1477 byte By adnan 027 at 2007-9-26 4:11:55
Hello!I am using JDK1.2.2 and developing applets that are using the Swing components that were introduced in JDK 1.2. When I run the applet in applet viewer it runs fine but when I try to run it in the Browsers (Netscape 4.7 or IE 5.0/5.5) the applet is not displayed. Netscape shows this ...

Applet not displayed in Browsers

1477 byte By adnan 027 at 2007-9-26 4:12:01
Hello!I am using JDK1.2.2 and developing applets that are using the Swing components that were introduced in JDK 1.2. When I run the applet in applet viewer it runs fine but when I try to run it in the Browsers (Netscape 4.7 or IE 5.0/5.5) the applet is not displayed. Netscape shows this ...

java.io.ByteToCharConverter

446 byte By kilyas at 2007-9-26 4:12:36
hi,the following link mentions java.io.ByteToCharConverter class as a base class to convert characters to an external encoding : - http://java.sun.com/products/jdk/1.1/intl/html/intlspec.doc7.htmlHowever I can't find this class in the java.io package. Howcome. Is it deprecated or something or ...

Running java from Userinit in Windows 2000

669 byte By pafkac at 2007-9-26 4:12:44
Hello all,I am developing an application that runs on windows2000 client. I would like the application to start on bootup and was considering using the USERINIT registry key to startup my application. On the Microsoft website it says that if this method is taken then the program in USERINIT ...

How to pass a boolean parameter from VB to Java?

422 byte By t_a_chen at 2007-9-26 4:13:29
Does anyone know how to call a java method with a boolean parameter from VB?I have a Java object returned from a method invocation on the packaged JavaBean. This Java object has a method that takes a boolean. I get a type mismatch error when I call this method in VB and pass in a Boolean ...

view content of a WAR file

70 byte By fengericjiang at 2007-9-26 4:14:54
Is there an unitility to view the content of a WAR file?

JSP doesn't work

2871 byte By santwon at 2007-9-26 4:15:37
I downloaded jakarta-tomcat-3.2.3 and ran successfully with my servlet-centric application. But when I ran the jsp I got the error, please help. my jsp is <html><body> Testing </body></html>Result:Testing Error: 500Location: /examples/jsp/Test.jspInternal Servlet ...

Swing doesn't work with RMI?

1130 byte By huayuli at 2007-9-26 4:15:40
I got a problem in my FBN assignment. The RMI remote call only works for stand alone application without the Swing. If I try to call the same methods such as getRecord(int)... in my event handler, there will be Exceptions like :java.rmi.UnmarshalException: error unmarshalling return; nested ...

Unable to launch application from my machine:Bad MIME Type

534 byte By satish1975 at 2007-9-26 4:16:40
Hi, The following error message was printed when I tried to access the SwingSet2 demo from the Java Web Start site. An error occurred while launching/running the application.Title: SwingSet2Vendor: Sun Microsystems, Inc.Category: Download ErrorBad MIME type returned from server when accessing ...

WebStart vs Applets

200 byte By Siggeman at 2007-9-26 4:16:49
Hi.Is WebStart supposed to replace Applets ?!If not, what advantages has Applets except some interaction with the underlying webbrowser?regards/Andreas

Display Asian HTML pages in Swing components?

413 byte By yijunwu at 2007-9-26 4:17:17
Dear AllDoes anyone know how to use swing components to display HTML pages that contain Asian characters? I have tried to use JEditorPane to display a html page which contains some Chinese characters, but it shows square boxes instead of Chinese characters, I wonder how I can correctly display ...

Downloaded JARs location

348 byte By jext at 2007-9-26 4:18:37
In order to put a webstart enabled release of Jext 3.0 (www.jext.org), I need to make Jython (www.jython.jar) be able to load the classes from jext.jar. But Jython cannot load'em since it cannot find jext.jar in the classpath when started by Java WebStart.How can I programmatically determine ...

Java Web Start and SSL on Tomcat

2077 byte By guilleH at 2007-9-26 4:18:51
Hello !!I have the following problem:I'm starting an application with JWS. This application asks for a file to a servlet which is executed in a Tomcat Web Server. The client application writes the file's information in the client hard disk so I had to sign the code. The sign isn't the ...

accessing main class embedded in a package

436 byte By ashuman at 2007-9-26 4:18:57
I am having trouble accessing the main class of my application that is embedded in a package, several directories down (within a jar). I have several questions:How do I set the class path?How do I invoke the embedded main class? The developers guide does not discuss the JNLP file resource ...

JWS and IE5 SP2/IE6

449 byte By bennett10 at 2007-9-26 4:18:58
Folks,Over on the Jini users list, folks have been noting that the new service pack for IE5.5 cuts off support for browser plug-ins? The article sited http://news.cnet.com/news/0-1005-200-6881773.html?tag=owvsays that Microsoft will no longer be supporting plugins in IE6. Will this affect our ...

Using Class-Path to access jars within a jar

831 byte By cwhalen at 2007-9-26 4:19:03
Our team has several jars which get deployed to several servers. To ensure that the latest copy of each has been deployed (and only have to check one place if something doesn't work), we'd like to package them all within a single jar and deploy that. I have tried setting the Class-Path in the ...

Frame freezes for no reason

637 byte By SAOJ at 2007-9-26 4:19:27
Hi,This must be a windows or java bug.My application works fine, but from time to time when I open a AWT FRAME it FREEZES... (not the application but the frame)I cannot click anywhere with the mouse, i cannot close it, and it does not show up in the Windows control bar. It is like it does not ...

Calling jar -xvf

567 byte By seigot at 2007-9-26 4:19:34
Hi - I am trying to unjar a jar file by calling the jar command "jar -xvf". My code is calling the jar command but is not unjaring the jar file. This is my code:try{Runtime r = Runtime.getRuntime();Process p = r.exec("jar -xvf " + jardirectory + jarfile);}catch(Exception ...

jre plugin not working with IE5.5

767 byte By KeithSM at 2007-9-26 4:19:46
SystemWindows2000 version 5IE 5.5Netscape 4.08 & 6.1jdk1.3.1jre1.3.1My applet loads fine with netscape 4.08 & 6.1, but as soon as I try it with IE 5.5 it hangs unless i put the mouse pointer over a little black square that appears on the web page. This starts a download of the plugin ...

msgtool - produces unix-style newlines

170 byte By sfrenkiel at 2007-9-26 4:20:10
Any idea why, when saving a source file in JILKIT 2.0's msgtool (in a windows env), the file gets saved using unix-style newlines?thanksScott

Will Java 1.1 applets work?

520 byte By carlosnf at 2007-9-26 4:20:58
Hi,I will be receiving chinese input from a browser window. This chinese input is then passed to an applet using Javascript-Java communication. Will a Java 1.1 applet be able to convert this Chinese input into unicode?If not - can I leave the string as it is and pass it (via applet-servlet ...

problems importing class

626 byte By geministar at 2007-9-26 4:21:07
the code is fine.import java.awt.*;import java.awt.event.*;import java.io.*;import java.swing.*;import java.TicTacDlg;Error i get is:TTacToe.java:12: '.' expectedimport TicTacDlg;^1 errorTicTacDlg.java is in DIR is in '/root/java' along with the rest of the classes.I have tried setting ...

problem with sockets on different platforms

638 byte By virelay at 2007-9-26 4:21:15
I have a GUI/code that sets up and acts as server for my and GUI/code that sets up and acts as a client to my server.I've set it up so that if the server goes away unexpectedly, the client code should catch the SocketException thrown and handle itself accordingly. This works great on my NT ...

To change Java cup Icon with custom icon in the dialog box ?

4377 byte By keku25 at 2007-9-26 4:21:41
Here is the code which is working, please let me know how can i change the Icon ?**********************************/import java.awt.*;import java.awt.event.*;import java.util.*;import javax.swing.ImageIcon;public class MessageDialog extends Dialog implements ActionListener{private static final ...

Unable to load resources using JNLP

1920 byte By prabhakark at 2007-9-26 4:21:54
I was browsing through the tech-tip dated May 30th 2001 dealing with JNLP. After building the jar file I deployed it on BEA weblogic server 6.0 makingsure I followed all the instructions listed on pg 3. I get the following error while downloading the resources and would appreciate if you could ...

How to use exec() twice?

574 byte By wonjeon at 2007-9-26 4:22:03
Hi,I'd like to invoke two execution files with the command, exec(), but it's not working correctly. For example, I'd like to execute a1.exe and a2.exe at the same time, but the second one is not executed.public class Hello {public static void main(String argv[]) throws IOException {Process p ...

weblogic 5.1 installation problem on winNT server4.0

352 byte By jptiwari at 2007-9-26 4:22:20
while running weblogic executable file on CD to install weblogic on NT Server4.0, following message is appearing-"the decompression of %s failed.There may not be enough space in the temp directory."I tried putting the temp system variable in my own directory with 1 GB space , but to no avail. ...

I don't start J2EE server too

1122 byte By levin_lihaiqiang at 2007-9-26 4:22:28
I an using JDK1.3.1 and J2SDKEE1.2.1 on Windows 2000.After runningj2ee -verboseand get the following output:J2EE server Listen Port: = 1049java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.at ...

How to make Jar files in JBuilder

286 byte By abhimanyu31 at 2007-9-26 4:23:18
I would like to know how to make jar files using JBulider. I have a problem with a project that I am working with in Swing. I have made the project on JBuilder and when I make a jar file it will not run upon clicking. Any body with an answer, please helpAbhi

Java 2 on Server Side

226 byte By agdownes at 2007-9-26 4:23:42
I dont want my visitors having to download the plugin which is 5mb. That would probably scare them away.Is there a way that my applets can be processed on the server side instead of the client side?

threading a GUI(awt) class

391 byte By vkey111 at 2007-9-26 4:23:59
HiIm using JBuilder2 for creating GUI to my network programs, which uses a lot of classes which are not in jdk1.2. So I have to run my all programs on JBuilder everytime which is cumbersome & inefficient.Im not able to get those classes directly from JBuilder library.What can I do ...

Jar creation from JBuilder file structure

770 byte By p0e08 at 2007-9-26 4:24:03
Hi,I've got a program written in jBuilder 4. It does not have the jar creation feature.So I've created a jar manually, but I'm having problems finding the main class from the manifest.I've created the manifest with no problems:Manifest-Version: 1.0Main-Class: Application1Created-By: meWhere ...

java.exe in c:\winnt\system32?

4210 byte By admiralspb at 2007-9-26 4:24:35
Hi,I have installed J2SE1.3.1 and J2EE 1.3 b2 on my win2000pro machine and was experimenting with my environment.In J2SE1.3.1 installation instructions it was said, that for convenience you can set path to point to your j2se1.3.1\bin dir... Ok. Did that. I had a path like ...

Help with the MenuBar (bug?)

717 byte By sberardi at 2007-9-26 4:24:36
hello, im having some trouble with the MenuBar (AWT) control in JavaForte..ok, this one is really annoying. i have these menus on a form and on the same form, i have buttons and text boxes. now, when i click one of those menus, the menu appears UNDER the text boxes and all the other controls on ...

Help me! This is a fireAction question.

2000 byte By ycwubin at 2007-9-26 4:25:08
This is my source code. But i clicked the lightweight , it doesn't work . Who can tell me why? thank you!import java.awt.*;import java.awt.event.*;public class Lightweight extends Component {private String title;private ActionListener actionlistener=null;public Lightweight(String title) ...

Problems running on Linux

2578 byte By Ziedrich at 2007-9-26 4:25:17
Hi,Anyone know why does this message always appear when I run sources which has some awt.* classes in it?These runtime messages actually happens in my University machines, which is running Redhat 7.1 with Java version 1.3. It happens also in Mandrake 8.0I'm grateful if someone can point to ...

Graphics

184 byte By smt123 at 2007-9-26 4:25:18
I have drawn a rectangle using drawRect(xstart, newy, width, height);can i have a textfield component inside this rectangle.please help urgentlythanx

web start and mozilla 0.9.3

390 byte By mporta at 2007-9-26 4:25:32
i'm not able to use mozilla 0.9.3 to download a java web start application. i followed the instructions to install a new mime type in the helper applications menu. however everytime i click on a jnlp file the browser asks me to safve the file, instead of launch the web start.(the web start and ...