Oracle JVM crashes(also reported to Oracle)

353 byte By uma_var at 2007-9-26 3:48:49
Hi All,When I try to install any oracle downloadable product(personaloracle and oracle-9i-lite), it crashes even while setup.exe runs, with the error message:"Jrew has caused an error in JAVAI.DLL, Jrew will now close. Restart th computer if you have any problems".Is there any download/patch to ...

plugin not working the proxy

415 byte By dave23 at 2007-9-26 3:49:03
I am working on a swing applet using the current version of the java plugin. Now everything seems to work when I run locally. But when I run of a client, the plugin is never loaded. Even the demos on the sun site do not load the plugin. We are on a intranet behind a firewall. All of the clients ...

adding components onclick of button

279 byte By smt123 at 2007-9-26 3:49:04
I have a Tab Panel on which i have 2 textfields using GridbagLayout and a add button.On click of the button i have to add the same 2 textfields below the first twoie gridx will be same gridy will change.Can anyone help.pleasethanx

Have a look at code!!

3471 byte By ramya4java at 2007-9-26 3:49:18
I want to draw a rectangle in an applet and trace the mouse pressed action only inside that rectangleTo achive this i have created 2 classes 1.Class RectThis class extends Component and used to draw the Rectangleusing drawRect() method and used to trace the action performed in side the Rect ...

Opera 5.12 and JRE 1.3.1?

652 byte By john060257 at 2007-9-26 3:50:30
Has anyone been able to get applets to work using Opera 5.1.2 and JRE 1.3.1?To try to understand what's going on, I have tried explicilty coding my HTML to test each of the <APPLET>, <OBJECT>, and <EMBED> tags.<APPLET> and <OBJECT> apparently load the JRE 1.3.1 ...

using reflection within Jar

711 byte By sthiyaga at 2007-9-26 3:50:57
Hi,I have a class that dynamically loads one of many classes (read from a properties file) for parsing. The code works fine when I run it as unbundled class files with the class path set to the directory containing the classes. When I package the application as a jar, add the jar to the class ...

interaction between multiple applications (possible?)

538 byte By ggcampbell at 2007-9-26 3:51:11
I have in mind a couple of different applications to run under web start.First is there a way for appONE to see if appTWO is running?Second can there two applications interact.In applets on 1 web page, there is only one JVM and the two appletscan exchange information via static variables. Is ...

JComboBox - How to use the selectedItemChanged() method

572 byte By petrospp17 at 2007-9-26 3:51:40
I am trying to find a way to call a specific function (that I wrote) when I select an item from a ComboBox. The following method came to my attentionJComboBox.selectedItemChanged()which is called when the selected item changes. Its default implementation notifies the item listeners.This method ...

read japanese char from oracle

482 byte By ulukb00 at 2007-9-26 3:52:19
I have a database column stores japanese char in Shift-JIS encoding. Aperl script can read the database and display the result on browser.But If i try the get the japanese string in Java using JDBC. I got anexception:String text = resultset.getString(1);Exception in main(): ...

deleting unwanted classes from JDK....

508 byte By jinijug at 2007-9-26 3:52:40
we are implementing a swing application. the client need the deployment package in floppy(can number upto 4 numbers) , not CDROM. How can i possibly pack the JDK into this size. Is there any way by which i can find out all the classes that need to be used in my application so that i can remove ...

urdu fonts support in java

197 byte By asifqz at 2007-9-26 3:53:47
how can i use the urdu font in java?secondly after using how the character is calculated to be printed.. suppose you pressed 'a' and the program prints 'c'? is it possible?

Apache, Cocoon and Tomcat

547 byte By siew_edward at 2007-9-26 3:53:48
Hi,I've set up the apache and tomcat 3.2.2 working together. The JSPs work fine with both "localhost:8080/index.jsp"and "localhost/index.jsp". And the URL "localhost:8080/cocoon/samples/index.xml" also works fine with tomcat web server. However, the URL "localhost/cocoon/samples/index.xml" is ...

problem with getCodeBase()

730 byte By mjuteau2001 at 2007-9-26 3:54:04
I have a problem with the deployment of a 'jarred' applet. Here's my directory structure (in a web module);appletsmyjar.jardata.txtwebpagesmypage.jspmyjar.jar contains an applet.mypage.jsp has an applet tag that includes this line:archive="../applets/myjar.jarThis works fine. The problem ...

seeking volunteer for Spanish translation

1004 byte By joefk at 2007-9-26 3:54:07
Hi,I am developing some educational software with our local high school on a volunteer basis (no fees, just satisfaction and appreciation). In about 10 days we will be giving a demo of the program. One of the features of the program is the ability to switch languages. In our demo, we'd like to ...

zoom the selected area in an image!!

357 byte By sangeeta_bg at 2007-9-26 3:54:36
hi all,i heve created a an application in which user can select an area and on an image and then zoom that particular portion but when i zoom it the image keeps on going to the right bottom corner of the screen.I want my zoom to keep the selected area in the center of the screen.can anybody ...

adding scrollbars to canvas!!

688 byte By asheet at 2007-9-26 3:54:40
hi everybody,a have a simple ?i'm working on a chat application. my message displaying area is a canvas.i have added scroll-bars to it using scroll-pane"sp = new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);" now what i want is the scrollbars should adjust automatically to display the last message ...

How to display Chinese in Applet.

286 byte By jerntat at 2007-9-26 3:54:46
Hi, Can anybody tell me step by step what i need to do to display chinese in my Java Applet.I have currently try to output some chinese on JOptionPane.showMessageDialog() and also the paint() method but both only show the unicode but not chinese.Please Help.

How to display Chinese in Applet.

286 byte By jerntat at 2007-9-26 3:54:47
Hi, Can anybody tell me step by step what i need to do to display chinese in my Java Applet.I have currently try to output some chinese on JOptionPane.showMessageDialog() and also the paint() method but both only show the unicode but not chinese.Please Help.

JWS silent installation

815 byte By gtz1 at 2007-9-26 3:54:53
According to the Nullsoft Installer's (the JWS installer) manual there is a /D=<dir> command line parameter to specifiy the installation directory.Was anybody successful to utilize this option for a silent install ? I wasn't (I tried the parameter, it did not work, JWS installation ...

Java runtime

472 byte By waellena at 2007-9-26 3:56:09
HiI desperately need help.I am trying to execute a .exe file(c++ file) and also a java.class file using Runtime.getRuntime().exec("myfile.exe"), but nothing happened. I tried to put myfile.exe on the same directory as calc.exe and notepad.exe(because these works perfectly when using ...

HTTPS and a Proxy server?

263 byte By mnutty at 2007-9-26 3:56:51
Does the plugin-in still not work with HTTPS and a proxy server?From plug-in docs -"Java Plug-in supports http, ftp, gopher and SOCKS v4 protocols through the proxy server. Currently, Java Plug-in does not support https (SSL). "

Parameters - From Applet to Web Start

618 byte By keith_a_barker at 2007-9-26 3:57:30
Hello AllI have a working applet that is distributed as a signed JAR. The users add parameter names and values to the html file.If I want to move this to a Web Start Application (not Applet) what would be the best way to handle these parameters.Note that the user's do not have the capability ...

Java Plugin 1.3.1 on RedHat Linux 7.1

901 byte By rihim at 2007-9-26 3:57:44
I downloaded and installed the Java SDK 1.3.1 for linux.When I try to view an applet written in Netscape I get the following error message on the bottom left corner of the browser window: ClassdefError javax.japplet not found. However, I can see the applet in the appletviewer. In order to ...

HELP!!! (java.library.path)

1268 byte By jags_yaar at 2007-9-26 3:57:49
Hi Friends,I have a problem with java.library.path settings.I am using a weblogic6.0. when creating connection pools I get a very strange error like the one I given below. When I checked the log file(weblogic.log), there is a logging entry for this java.library.path but the driver path is not ...

A lot of JRE's installed...

579 byte By EricSchultz at 2007-9-26 3:58:08
Good morning...here's something a bit wierd, but at least it doesn't involve pvc.i installed sun's jre1.2.2 and ibm's jre1.2.2. then i installed netscape 6.1 with it's jre1.3.0.now i have two plug-in control panels, 1 from sun and 1 from ibm and neither shows the same list of jre's. the ...

Ran j2eeide but "Out of Environment Space" Error

305 byte By itzhong at 2007-9-26 3:58:12
After installing J2SE, J2EE, FORTE & IDE & setting the right HOME_PATHs, I ran the j2eeide in the /forte4j/bin, it showed "Out of Environment Space" error and stoped. My computer has 64M memory and Windows98.Could anyone advice me this problem. Cheers,Leo ...

Java Runtime Environment 1.40 - Status says

583 byte By fbord2 at 2007-9-26 3:58:45
I am brand new to Java, and recently installed J2se 1.40. When I checked into Internet Explorer-Tools-Internet Options-Temporary Internet Files-Settings-View Objects to examine the "Java Runtime Environment 1.40" icon properties, I noted that the status line showed "Damaged". In the same icon ...

Certificates installed dont Show in control panel

207 byte By dnoyeB at 2007-9-26 3:58:46
Why does the control panels tab not show any installed certificates? Does this only show non-root certificates? and you need a chain to show certificates?How does one make a chain if so?

How to access files in a jar file?

455 byte By cfoster2 at 2007-9-26 3:58:53
Can anyone tell me how to access a file contained in my jar file?I have about 15 classes jarred and deployed as an applet. I want to include in the jar file some .gif files to be used as icons in a tree view. Rather than trying to access them locally with all the security headaches this brings, ...

Live Connect Problems

371 byte By bigdaddyT at 2007-9-26 3:59:16
I have been experiencing what I think is a LiveConnect problem with version 1.3.1 of the JRE/SDK. I was using version 1.3.0-C. When I tried to upgrade to any 1.3.x vresion other than 1.3.0 my LiveConnect code seems to not work any more.Were there some changes to the code that would of cause ...

How can I prevent the MediaTracker waitForID method from blocking?

3293 byte By jfmorin at 2007-9-26 4:00:07
Hi everyone:I am writing an application that deals with various image file formats with the help of the JIMI package (available at http://java.sun.com/products/jimi/). Everything works fine except for the Targa format. When I generate an Image object as follows (url is a valid URL object):Image ...

JComboBox selection actions on mouse and enter only

794 byte By jnaue at 2007-9-26 4:00:24
I am driving some processing off of selections in a JComboBox.The ItemListener goes into action when the user mouse clicks on an item (this is good), but also when an item is arrowed through (bad).I want to wait until the person hits enter before starting my processing.Ideally the JComboBox ...

How to write a program to automatically install a certificate file in IE?

602 byte By modelart at 2007-9-26 4:01:41
I've developed a signed applet and have a "x509.cacert" certificatefile. During developing and testing the software, I manually install the file in IE. Thus, I enter"Internet option-->Content-->Certificate" and import the "x509.cacert" file manually.Now I'm going to release the software ...

I can't run an applet

168 byte By tedlarock at 2007-9-26 4:01:49
When I run the sample applets that come with jdk1.4, the HTML code displays OK, but the applet part only shows a solid grey box.Have any ideas why?

The Differences of JWS and Sun One?

241 byte By houdajun at 2007-9-26 4:01:53
I am quite confused on the difference between JWS and SUN one? Is JWS part of Sun One?And, I am also confused on J2EE and JWS? Can JWS utilize the backend of J2EE, that say, ejb?Your help will be much appreciated.

can I catch system event without any gui component

362 byte By dhirajdeshmukh at 2007-9-26 4:02:12
Hi all!I wanted to trap different event like key pressed or mouse clicked, but not on a particular awt or swing component. I want to listen a mouse event when mouse is clicked on desktop and not on any java frame. Can Itrap these events. If yes, how ?Please help me if u know how to do this? ...

Urgent! encoding problem with traditional chinese chars

1644 byte By yilmazay at 2007-9-26 4:02:13
hi everybody, i am having trouble with character encoding i almost memorized jason's book's internationalization chapter. but none of those solutions work. see the code below: String name = req.getParameter("name");name= new String(name.getBytes("ISO-8859-1"),big5); though this looks quite ...

Which list item is selected ?

836 byte By Miihkali at 2007-9-26 4:02:21
Hi there !I have this really basic question: How can I find out which list item is being selected in another function ?In one function I have this list, and also a submit button:<pre>public void MainMenu{ ... List functions = new List(); functions.addItem("Toiminto 1", 0); ...

Can't run servlet or applet

2109 byte By tedlarock at 2007-9-26 4:02:27
Hi, I am new to Java servlets, so please bare with me and help if you can.First I will tell you what I have and done to this point.Running Win2000 Professional on D driveInstalled IIS and www servicesInstalled jdk1.4installed FreeJava to compile code.Added %SysstemRoot%\jdk1.4\bin to PATH in ...

InputDialog Box

802 byte By johrik at 2007-9-26 4:02:33
Hi all...I wrote the following which upon a button being clicked brings up an input box prompting the user to enter some info. This user input is then appended to the TextArea. String str = JOptionPane.showInputDialog(null,"Please enter text here","New ...

Drawing Line to connect canvas components

500 byte By paul_sun at 2007-9-26 4:02:41
I have drawings on canvas components which I have added to a frame. I would like to connect the drawings in the canvas components using a line to connect the drawings inside the canvas components together. If I draw a line in a new canvas and add this component to the frame, the rectangular ...

GRID

502 byte By smt123 at 2007-9-26 4:02:58
I need to design a grid for my application using awt where i have 6 columns and rows can be added on click of a button.The grid cells may be simple textfields or combobox(choice box)Let me know how can i do it.I have done one using GridBagLayout .But the components are not aligned .The ...

a simple problem

932 byte By yilmazay at 2007-9-26 4:03:22
hi all,i know it is a simple thing, so that is why i couldn't find a solution(since it is tooo simple) :)i want to insert current time into hte database as well as other data. My problem is how to get current date (and time ) in java?i tried java.sql.Date Time=new java.sql.Date.Date(); ...

Need help: Mysterious initialization behaviour

1475 byte By sschroeder1 at 2007-9-26 4:03:53
I subclassed a class UI_ProgressDialog with the classUI_MultiProcessProgressDialog.This class defines the following constructor:public UI_MultiProcessProgressDialog(Frame owner, String title, String header,boolean showTextArea, boolean showProgressLabel,boolean autoClose){super(owner, title, ...

How to change Boardercolor of awt.Button?

449 byte By SirRazeMD at 2007-9-26 4:04:13
Can someone Help me? (I am new and i do not know if in an other thread is an answer posted)I want to make a Button display in my own colors. As I know in awt.Button there is just the possibility to change the backgroundcolor. But I also need to change the Boarder in thickness and above all in ...

Vanessa - free multi-schema validator for JNLP released

776 byte By geraldb at 2007-9-26 4:04:39
Hi,I released Vanessa today. Vanessa is Venus Application Publisher (Vamp)'s multi schema validator for JNLP. Vanessa loads your JNLP file, checks if it is well-formed, validates it against built-in DTD and W3C XML schemas and collects all warnings and errors. Vanessa also creates a tree ...

How to ban popup menu on right click inTextField or in TextArea

155 byte By shahidjava at 2007-9-26 4:05:26
Love ..................when i use setEditable false for TextArea , not able to stop popup menu to display , How can i get this.

Accented character encoding in JNLP files

919 byte By jfmorin at 2007-9-26 4:05:37
Hi everyone:Maybe I am missing something trivial, but I am having trouble encoding French accented characters in my JNLP files. For example, I tried to encode the name "Québec" as follows:- Québec: the file is not parsed completely and the application-desc tag appears to be ...

JAR Files and Applets with Java Plug-In

1198 byte By PaulRice at 2007-9-26 4:05:39
This seems to be a basic question, but I can't figure it out! I have a jar file that contains all my class files for my applet. The jar file is in the same directory as the following html file:<html><body><OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"WIDTH = 700 ...

Launching activation.jar and mail.jar from JWS

1441 byte By eshynal at 2007-9-26 4:05:44
Hi there. I'm running into a problem accessing JAR libraries from Java Web Start.I'm using the Netscape signtool to sign my JAR application file that I want to be able to download from a web server using Java Web Start. My application jar file requires activation.jar and mail.jar as ...