Javaw running after closing application

676 byte By erikthered at 2007-9-26 2:38:22
I have noticed that after closing our application which we are running through JWS that there is a program/process still running called Javaw. We are running the application on Windows machines :(. While our app is running, the the list of running programs (when you press ctrl-alt-del) shows ...

Getting ints out of TextFields

538 byte By AnyoneEB at 2007-9-26 2:38:32
I need to be able to have the user write a number into a text field and then put that number into a int. Unforunately, as you probably know, TextFields only have GetString, no GetInt, so I was wondering if there was some soultion to allow me to take ints from TextFields or an objecct like a ...

Right clicking with MouseListener

280 byte By AnyoneEB at 2007-9-26 2:38:39
Is there any way to get MouseListeener to tell you wheather a click was right or left, it seems to treat them exacsly the same, but you can find out if Alt, Ctrl, or Shift is down, but finding out if it was a right-click would be much nicer than having to Alt-Click.

Mnemonics for TextField, Label, Combox

141 byte By ramareddys at 2007-9-26 2:38:43
Hi, Please advise me how to add Mnomonics for TextField, Label, Combox.Thanks a lot in advance.Rama Reddy.

charector encoding Problem while running servlet

1267 byte By sibijv at 2007-9-26 2:38:46
hi allI have a servlet which outputs some chinese content to the browser. The webserver i used is Tomcat3.2.3. if i try browsing chinese sites with chinese char encoding on a english version of windows 2000 the pages comes well without specifying any encoding. When i used the same servlet in ...

Signing jar files - did what I was supposed to but still

438 byte By zivosh at 2007-9-26 2:39:02
Hi all,I signed 1 jar file that has 1 class which creates a fileon c:\I signed it like this:keytool -genkey -keystore myKeystore -alias newKeykeytool -selfcert -alias newKey -keystore myKeystorejarsigner -keystore myKeystore classes.jar newKeyBut web start did not even prompt me for agreement ...

error on zipfile decompression (on method closeEntry)

1504 byte By ericjee at 2007-9-26 2:39:07
At 7/27/01 10:01 AM, ericdev wrote:>Hi,>> I am trying to unzip a file of images to be later processed by JAI. When>I Do a CloseEntry() method on a zip Entry it throws this exception. Any>ideas? Are the files too big? I would think that java can handle any size>zip file. Also, ...

How do you call a JavaScript function from a Java applet

1607 byte By jwatrous at 2007-9-26 2:39:10
I have an Applet that needs to run on the following platforms: Internet Explorer (Windows-NT, Windows -2000), Netscape (Windows-NT, Windows-2000, Sun(Solaris), RedHat(Linux), HP(11.0), IBM(AIX)).The Applet needs to call a JavaScript function that is included on the HTML page that contains the ...

Action evernt in applet

889 byte By kingfahad786 at 2007-9-26 2:39:47
hi,i have created an applet and when someone clicks a button i would like it to go to a frame i have created but i get the foloowing error can somone please helpC:\My Documents\logina>javac Login.javaLogin.java:240: cannot access logina.Frame15bad class file: ...

JAR file not running as I expect !!

592 byte By amnonm at 2007-9-26 2:40:05
I am using JDK 1.3.1 and have a bit problem running the JAR file.It seems what after making a jar file from all the classes in my project andrunning it ,all the problems that I had in 1.2.2 comes up.isn't the JVM that runs the jar simular to the one how runs the classes ?why the bugs heppens ...

Plug-in and Native Libraries

1029 byte By RTDog19 at 2007-9-26 2:40:17
I have an applet that runs in the 1.3.1 plug-in. It uses a native library for access to hardware. The applet works fine for 80% of my users, but in some cases I get the following exception: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\ServiceApps\Packages\myNative.dll already ...

full Unicode character listing?

151 byte By jmschrei at 2007-9-26 2:40:19
Where is a good place to get a complete listing of \u characters? Is there a reference book that would list these? jmschrei

Extension Mechanism for Java Comm API 2.0

335 byte By smay_gers at 2007-9-26 2:40:40
I would like to see what is the JNLP extension file for installing something like standard Java extensions, for example javax.comm has a dll (goes to jre/bin), a property file (goes to jre/lib), and a jar (goes to jre/lib/ext).Perhaps Sun could support a standardized way of installing their own ...

Graphics and Textfields

193 byte By AnyoneEB at 2007-9-26 2:40:57
I was wondering if you use Graphics and objects like Buttons, Labels, and TextFields are they all drawn on the same graphics layer or is one of them drawn on top, if so which one?

The need for java beans ?

345 byte By mmartinh at 2007-9-26 2:40:58
Hi all,I just began to look into java bean technology and began to wonder who is exaclty creating java beans ( is there a big demand for thier development) what types of applications are using them and are there examples of these to be seen...just looking for more of an ...

Can I get system enviroment variable values in Java Programm

185 byte By realwxd at 2007-9-26 2:41:32
Can I get system enviroment variable vlues in Java Programm.For example I set a enviroment variableMy_Home=c:\myhome.Do I have ways to get My_Home in Java Programm.

Closing a Dialog Box within a Frame

6109 byte By garbersb at 2007-9-26 2:41:37
When a user clicks a button I want them to see a Dialog Box pop up giving them a message saying "Debeg Mode is Enabled". I have a panel that has a label and a button that says ok. When the user hits ok I want the Dialog Box to go away. Unfortunately when I do that the box will go away but I get ...

Reading an included data (txt) file when JAR is executed?

1632 byte By sherlockazulu at 2007-9-26 2:41:42
This seems to be a pretty popular question. I've gone through the posts here all the way back to March though and am unable to find a suitable answer. I also checked through most of Sun's Java tutorials on the website and can not find any references to this particular issue with JAR files.I ...

Is JRE all I need?

493 byte By mghaught at 2007-9-26 2:42:37
I hope this question isn't too basic for the forums but I haven't found an answer after poking around.I have a linux (redhat7) webserver running Apache. I just installed Jakarta Tomcat and MySql today. I am now installing the java environment and I'm wondering if I only need to install the ...

java plugin1.2.2

130 byte By sanora at 2007-9-26 2:42:54
Hi java pluin 1.2.2 is not working with Navigator 4.5, but it works fine with navigator4.0.x? why?San.

An error occurred while launching/running the application.

386 byte By josphselvin at 2007-9-26 2:43:20
Hi,I am using jre1.4. When I am trying to download an application using JavaWebStart its getting downloaded.After finishing the download it giving the below error message.error: Title: SwingSet2Vendor: Sun Microsystems, Inc.Category: Launch File ErrorNo JRE version found in launch file for this ...

How to make blinkable to a minimised window when data updated init it.

424 byte By shaikkhaleel at 2007-9-26 2:44:29
Hi, When I am developing a chat application in AWT. The problem is the when the message is received into a window, think that the concerned window is minimised or inactive then how to get the blinkable focus on the taskbar to concerned window to get user attractin towards it.What I think is , ...

NEED HELP!!!How to make LINES Colorful--PLEASE HELP!!!!!!

265 byte By suchen11 at 2007-9-26 2:44:38
i want to draw a red line:Graphics g;g = b.getGraphics();g.drawLine(20,5,100,64);but the line is black, i want it red.the command g.setColor(color.RED) is not working....WHATS WRONG, please help, thanks thomas

Drawing a picture ?

440 byte By stfohr at 2007-9-26 2:44:48
Hi all, As a beginner I want to set up (create) a Bean able to create picture (using AWT) as a Pie Chart ?But anyway I don't know how to approach this kind of problem. I did a bean that return simple HTML bar chart (which is not using AWT classes), but it's more difficult to create oie ...

problems after JWS installation

914 byte By PapaChlob at 2007-9-26 2:44:53
Hi,I have just discovered JWS and simply love it, but since I have installed it my java class using XML just do not run anymore :(@ runtime:)Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationExceptionat WebTop.main(WebTop.java:28) orException in ...

Changing screen resolution

330 byte By mahlzeit at 2007-9-26 2:45:32
Hi Everyone,I'm quite sure that it is not possible to change the screen resolution from within a running java program. The problem is that my boss won't believe it until he reads it in the spec. Does anyone out there know where to find a anything about it the specs?Thanks in advancejan ...

search but result is not correct marked!

230 byte By testy2 at 2007-9-26 2:45:57
hello, when i try to search for e.g. button in my javahelpdatabase, the results are not correct marked,result e.g. for search buttonbu'tton p'laythe sequence between '' is marked, why?

how to add a jar file in the visual Age classpath

247 byte By marc_huhardeaux at 2007-9-26 2:46:00
I have to import a jar file in visual Age workspace, and don't know hox to doI tried several things, but didn't succeded at this point.I need to succed until tomorrow for completing my work.Please help, thanks.

custom shaped window

156 byte By 98028140 at 2007-9-26 2:46:09
i want to create a window with a spesific shape like a circle.is it possible to make windows or frames different shapesthanks!!!

Event handler design

193 byte By kkbb at 2007-9-26 2:46:24
If i have a Menu and a handler class for it. How do i design the handler class in such a way the addition of a new Menu item does not reqire any code edition in the Handler class?

Running an batch file under java

335 byte By seigot at 2007-9-26 2:46:27
HI- I created a batch file to do various commands. However, every time I try to run it using:Runtime.getRuntime.exec( BAT );BAT being the path name and batch file in a String.I get an IOException. Is there a way to run another command prompt in the VM so I can run my batch file? ThanksSeigot ...

Application hangs during class loading with no errors

1192 byte By nattress at 2007-9-26 2:46:35
Hi,I'm developing a large application that is spread across many jar files. At run time the application appears to hang immediately prior to the constructor of a class being called, with no errors or exceptions. This was discovered using a combination of the debugger and good old println... ...

Inconsistent UIManager

655 byte By jyuter at 2007-9-26 2:46:37
I am trying to change the UI of a frame which is called from an applet (not being run through a web page but through JBuilder). Some of the components accept the change, but others (the panel, and JLabel) do not. I've tried setting the UI in static blocks in various places, including the ...

JVM can't find my ResourceBundle !!!

1169 byte By chm_oxia at 2007-9-26 2:46:43
Hi !I got a strange behavior using ResourceBundle.getBundle("mypackage.MyResource").Here is my code :private static be.arci.cramfull.Cramfull resImgResource = (be.arci.cramfull.Cramfull)java.util.ResourceBundle.getBundle("oxia.mage.tools.ImgResources");When I execute this from VisualAge, it ...

Printing Applet graphics to hardcopy

401 byte By porterhouse91 at 2007-9-26 2:48:22
I have search the web for an answer to this problem and I haven't come up with one. Is it possible to send the graphics generated by an applet to an external printer. And if there is a way, would it be possible to have it not only print what is currently being displayed on the screen, but also ...

Applet performance issue

662 byte By bazhg2n at 2007-9-26 2:48:41
All,I have designed a dynamic matrix which creates text boxes according rows and columns. I used GridLayout and Panel to design this matrix. When I try to execute this applet with 20x20 (400 text boxes) it comes out in 7 seconds. But when I try to execute the same applet with 25x25, this takes ...

JComboBox in Plugin - does not paint its popup list

868 byte By schleute at 2007-9-26 2:48:54
Plugin 1.3.1 b24, ActiveX'ed java bean packaged by sun.beans.ole.Packager to beused as ActiveX Component. The bean (a JPanel) contains among othe things aJComboBox in a GridBagLayout.The combo box does not pop up its list of items when the ActiveX'ed is used ina native app (MFC) by the ...

Package Versioning

1142 byte By Botella at 2007-9-26 2:48:59
I get the following output:package josebotella.frAplicacion: nullVersion: nullAutor: nullwhen executing the following code:static void printVersion() {Package pac = Package.getPackage("josebotella.fr");System.out.println(pac);//for debuggingSystem.out.println("Aplicacion: " + ...

Maximing Window

116 byte By monteglenn at 2007-9-26 2:49:01
Is there a way to get a Frame to be the same sizeas the screen it's on when it is first shown?

Interesting Jar Signing Issue

1342 byte By terrarealm at 2007-9-26 2:49:21
I started out creating my key with:keytool -genkey -keystore myKeystore -alias newKeykeytool -genkey -selfcert -alias newKey -keystore myKeystore I then proceeded to successfully sign and verify 8 jar files using:jarsigner -keystore myKeystore MyClass.jar newKeyjarsigner -verify MyClass.jar On ...

making a splash screen

301 byte By criticalbilla at 2007-9-26 2:49:30
hi,i am trying to make a splash screen for my application. i want to make one executable file of all the files of the applicaiton and when we access it it should stary with a splash screen and than loading of files like in adobe photoshop please help on how can i accomplish this ...

Closing a Dialog Box correctly

219 byte By garbersb at 2007-9-26 2:49:37
Every time I try and close a dialog box I get runtime errors within my code. What I do is click a button which is suppose to close the dialog box. Can someone tell me the correct way to close a dialog box?

adding textfields to frames

278 byte By AnyoneEB at 2007-9-26 2:49:59
When I add a text field to a frame it breaks out of the method and never finishes as far as I've seen. am just adding them the same way I add labels (frame.add(labelName);) and the labels work fine, but the textfields make it never finish the method, please help!

exec() locks

613 byte By jcsf at 2007-9-26 2:50:12
I need to run an application from inside java.So, I wrote this code, but the first time I run it, I usedthe 'calc' instead of 'notepad'.Now, it always calls the calculator, not the notepad.Even after closing the application and rebooting de computer.Can anyone help me?Tanks. public static ...

How to center Dialog over Applet?

343 byte By Nordman at 2007-9-26 2:50:24
A quick question.... When I create a Dialog in an Applet, I have to create a "dummy" frame to be the parent/owner of the Dialog. As a result, when I display the Dialog, it shows up in the upper-left corner of the screen. How do I use a Dialog in an Applet so that it displays centered over the ...

Executable Jar is Not Executable!

567 byte By JpS42911 at 2007-9-26 2:50:46
It seems like I have tried everything to get this jar to work. My manifest file reads as follows:Main-Class: Calculator(extra line)My main class is Calculator which is in the Calculator package....does this change anything in my manifest? When I double click on the jar it says "Could not find ...

Jar file will not run on some computers

773 byte By abhimanyu31 at 2007-9-26 2:51:05
Hi Guys,I am facing a strange problem. I have been working on a Swing project which is about 1MB in size. After I have created a .jar file, I find that it works fine on some computers and not on others. In the computers where it will not run, it runs to the extent to opening the main window, ...

laoding an applet

306 byte By vnvravikumar at 2007-9-26 2:51:37
when iam loading an applet a message stating "Loading Java Applets" appears before the applet is loaded.how can i overrite this message.is thier any possiblity to remove this message with out displaying.if any Idea,Please help.Thanks and regards,Ravi ...

Copy files/folders from one location to another

245 byte By anand000 at 2007-9-26 2:52:03
How to copy 'n' of files and folders from one path like "c:/x/*.*" to "d:/y/*.*"?Please suggest me an idea...I gave Runtime.getRuntime().exec("copy c:/x d:/y");But it doesn't reflect anything...Thanks

How to convert a Windowshelpfile to Javahelp?

472 byte By Urmech at 2007-9-26 2:52:10
Hi, i'm searching for an easy way to convert an existing Windowshelpfile (*.hlp) to JavaHelp.Cause I'm developping an Applet I just can't use Runtime.getRuntime().exec("winhlp32 Somehelp.hlp" ); It's quit easy for a standalone application (under Windows), but contextsenitiv is been lost and ...