Signed script & Netscape 6/j2se 1.3.1

1540 byte By migG at 2007-9-26 4:25:47
According to Netscape 6.1 release notes, LiveConnect now works: http://home.netscape.com/eng/mozilla/ns61/relnotes/61.html#javaI have verified that this is true with several standard LiveConnect applets I have authored.However, I have not been able to get *signed* scripts working,either alone, ...

Applet with a swing componet can not be Instantiated ? Help

286 byte By lml919 at 2007-9-26 4:26:41
In my Apple ,I user a swing componet such as JButton,However , when I brow a page include the applet ,A error message occured: applet can't be Instantiated.(If i use a AWT componet in my applet ,it works well !)Any help would be greately appreciated!

any can help me in java applet...(accessing button lable).

69 byte By prabu_karan at 2007-9-26 4:27:39
how do i access button lable in action method..

JAVA ENCODING PROBLM

2024 byte By kapil_ji at 2007-9-26 4:28:01
Hi I have a problem in detecting the encoding of content of any file at runtime.to genrate the problem please follow the steps:1. create a text file with wordpad(Windows) with just 1 or 2 line for example: JAVA PROBLEM2. save this file with name test1.txt by selecting save type as Text ...

Passing JavaProxy object from VB to Java (CAS COM Bridge))

849 byte By jacekgebala at 2007-9-26 4:28:17
I have the following problem. I can't pass JavaProxy object (or Java object; I really don't know how CAS COM Bridge works. I thought that I know, but I don't know) to java object from Visual Basic.When I try I get this error."Could not use object as JavaProxy"And now I explain how I get this ...

Netscape installed AFTER plug-in. Can I configure it?

180 byte By shayl at 2007-9-26 4:29:03
Hi. If Netscape is installed AFTER the plug-in, Is it possible to configure it to recognize the plug-in (WITHOUT re-installing the plug-in)?Thanks.Shay.

how to listen to an event without windows

149 byte By wilmort at 2007-9-26 4:29:22
Hi all,I would like to listen to key events, but my application doesn't use any Window component. How can I do it?Thanks

Please help: Writing Chinese from Java 1.1 Applet to Server.

750 byte By carlosnf at 2007-9-26 4:29:41
My applet has a chinese string such that:String text = "\u5B57";I am trying to get the Applet to post the Chinese String. By the time the String reaches the server it is already "?" - so I gather the encoding problem is occuring on the client (the applet). How do I ensure that this works ok?My ...

BasicService showDocument problem

828 byte By mgladdish at 2007-9-26 4:29:43
My application uses HTML for its help pages, and loads them into the local system's web browser with the following code: BasicService bs = ...

Runtime.freeMemory() and Runtime.totalMemory() questions

1064 byte By ragnor at 2007-9-26 4:29:51
OK, can someone verify my assumptions about these two methods and memory allocation in general. My assumptions are as follows, please tell me if they are correct or not:totalMemory() should return the total amt of memory the JVM currently 'owns'. Some of this memory will be already allocated ...

List of JRE Return Codes to UNIX ?

319 byte By BurnsC at 2007-9-26 4:30:09
Hi,I am trying to get a list of JRE return codes that are sent back to UNIX when it Runs a JAR file, through triall and error I have only come up with return codes of 1,2 and 255, if anyone knows of any others or where a list exists I would greatly appreciate your help.Regards,Colin. ...

GridBagLayout column size

519 byte By walrux at 2007-9-26 4:30:47
I have a stupid question, but hopefully i won't get stupid answers. :-)Is there anyway we can change the size of the column of a GridBag Layout? I have this Pane layed out using a GridBag. The first column contains an Icon, the next column contains some text. If the text is too sort, both ...

Problem with running jar

337 byte By r.fox at 2007-9-26 4:31:05
I'm using the JDK from WebObjects 4.5 on a WinME machine.And everytime I try to jar, I keep getting an error message saying: Can't find class /sun/tools/jar/MainI checked the paths leading to the jar.exe and everythingis set correctly, but I still can't get it to work.Can anyone help? ...

Seems like there is something obvious I cant find.

528 byte By carlosnf at 2007-9-26 4:31:51
Hi,As you people on this forum know - There can be a many reasons why a character/String appears as "?" - it could be because of the absence of a font, improper encoding, whatever ...In order to debug ... is there any function like the one below.String ...

setting javaws.cfg.* options automatically for users

761 byte By wareagle3 at 2007-9-26 4:33:10
We want to use Java Web Start for seamless deployment to our users, who, although they may be brilliant engineers, are not computer experts. We want to avoid having them do anything beyond double clicking on a setup file to get Web Start/JRE installed. The problem is that we need to have the ...

ResourceBundle using HashMap

783 byte By dadarya at 2007-9-26 4:33:36
I have a where I don't want to use PropertyResourceBundle class to read the properties file because it uses Properties type object to hold the values and its methods are syncronized. I don't want to convert properties files into classes since same files are used for the client side script. ...

getMember() return null

2539 byte By DeltaY at 2007-9-26 4:33:59
I have some difficulties in applet communicating to javascript.I use IE5 and sun plug-in1.3. The html file is: <objectname="sign" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" mayscript width = 80 height = 16 ...

AWT Labels with Action Listner

351 byte By jasankama at 2007-9-26 4:34:42
Hi ,I'm doing some programming for parm pc using java 1.1.8, I have use some labels to act as http links by anabling the mouslistener (mouseClick() -> Event) but in palm this mouse click is not working perfectly but the actionlistner for buttons are running as in PC , SO can anyone know how ...

chosen keyboard setup "stickyness"

1187 byte By null_bock at 2007-9-26 4:35:30
I'm programming using a German version of Windows (in Germany), tho using an American keyboard. The program I'm working on seems to pay no notice...whenever the program starts, the keyboard is set to German (ie, the default language). If I switch to an American keyboard during program run, ...

Netscape wont show my applet

5935 byte By JohnLoughran at 2007-9-26 4:36:17
Can anyone help? I cannot run the applet I have written in netscape. The applet reads data from a text file, parses it and prints out results on a graph. It works fine in Internet Explorer 5.5 but refuses to show in Nescape Navigator 4.7 when I see the following exception in the Java console. I ...

About cursors, urgent!

313 byte By luismahou at 2007-9-26 4:36:29
Hi programmers!I'm trying to change the default cursor to crosshair cursor in W2000. When I do it I get the text cursor. My code is the following:setCursor(Cursor.getPredefinedCursor (Cursor.CROSSHAIR_CURSOR));Fdo. LuismahouP.D.:Sorry for my English, I'm Spanish ...

utf8 & database problems

1204 byte By marko_k at 2007-9-26 4:36:34
I'm working on software wich must support all possible languages. We have UTF-8 database wich is accessed via jdbc80520 driver, problem is that when fetching Strings they are UTF-8 encoded and need to be converted back to 'java strings'. Some examples suggest using following technique:String ...

Can't see applet changes without reopenning browser

336 byte By ranchi at 2007-9-26 4:37:10
Hi,The problem is that when I make some changes atthe applet ,I can't see them after reloading theHTML page (converted of course) containing this applet ,unless I close the browser (IE5 ,Java plugin 1.3.1,win95)and open it again.What can be the problem? Thanks,Simon ...

Java.net.UnknownHostException Urgent

615 byte By dearamjath at 2007-9-26 4:37:20
Java.net.UnknownHostExceptionI got this exception in my system, when trying to fetch the contents of a web site for example, yahoo.com. But the program running in another system fetches the website contents successfully. In both the systems JDK version is 1.2.2 . But I don't know why this ...

Java Web Start does not start properly in windows 2000

954 byte By jfmorin at 2007-9-26 4:37:25
Hi everyone:I am using Java Web Start (JWS) on my NT 4.0 workstation (JDK 1.3.1, Netscape 4.78), and everything works fine. This morning, I installed it on a colleague's Windows 2000 station (JRE 1.3.1, Netscape 6.01). The install process worked fine but JWS does not start.To determine where ...

Imports

253 byte By lupe306 at 2007-9-26 4:37:32
I'm having a problem with my imports... the compiler is not finding the .class. I don't know what is going on, because not long time ago it was working normaly...Does anybody know what may be causing this problem?Thanks....

appending to TxtArea from another class

784 byte By leiko73 at 2007-9-26 4:38:32
I have a class that creates an instance of my panel that contains my txtarea, and calls a method to the panel to append the string that i am passing.Class 1:CreateDisplayPanel cdPanel = new CreateDisplayPanel();cdPanel.setCreateDisplay(szTransaction.toString());In my Panel Class I have a method ...

zip file creation problem

1093 byte By marc_huhardeaux at 2007-9-26 4:38:34
I have to add two files in a zip archive.I get this message error and i can't resolve itjava.util.zip.ZipException: STORED entry missing size, compressed size, or crc-32 here is the part code i use to create the zip file :FileOutputStream tempo = new FileOutputStream(temp);JarOutputStream ...

Plug-in under Win 2K

1314 byte By vw5342 at 2007-9-26 4:38:36
I've read conflicting messages regarding the Java plug-in under Win 2K. Here is our situation:1) We currently use the 1.2.2 version of the plug-in. Everything works fine under Win NT.2) When installing the 1.2.2 plug-in under Win 2K (not logged in as an administrator, or with the proper ...

comprehesive list of acceptible jnlp contents?

883 byte By ggcampbell at 2007-9-26 4:38:59
Does anyone know where I can find a comprehensive list of useful parametersin the .jnlp file?Things that web start usesI know about these: are there others?<?xml version="1.0" encoding="UTF-8"?><jnlp codebase=" http://my.x.com/my"href=anything else?> ...

An unexpected exception has been detected in native code outside the VM.

6513 byte By tapodaca at 2007-9-26 4:39:45
Can anyone tell me why I am getting this error? My browser closes without warning and places this error file on my desktop: An unexpected exception has been detected in native code outside the VM.Unexpected Signal : unknown exception code occurred at PC=0x77f1d642Function ...

Help! about Menu(not MenuItem):how to listen it's ActionEvent ?

230 byte By johnhappen at 2007-9-26 4:39:58
Dear all:I've tried it out, but nothing happens!I set the shortcut of a Menu,I add ActionListener to it, all in vain!WHY? WHY?Can anyone tell me the reason why?Thanks a lot!

accessing a japplet method from javascript using plugin

430 byte By benazeer at 2007-9-26 4:40:31
Hi,I am currently trying to invoke a public method coded in a swing applet from my javascript.As per the documentation and discussion at this site,tried to workaround by using document.AppletName.MethodName.I am using Javaplugin 1.2.2 and an Object tag (not an applet tag)I am getting "object ...

help: send unicode text using sockets

1006 byte By nallamos at 2007-9-26 4:40:38
Hi,I am trying to send unicode text to a native app using sockets. My test code looks like thisSocket socket = new Socket(m_serverHost, m_hostPort);OutputStreamWriter out = new OutputStreamWriter(socket.getOutputStream(), "UTF-8");InputStreamReader reader = new ...

Java.lang.NoClassDefFoundError : org/xml/XMLReader

1209 byte By AnnieA at 2007-9-26 4:40:40
Hi, I have a XMLClient.java and it compiles but it has a runtime error that says "Java.lang.NoClassDefFoundError : org/xml/XMLReader"I have the xerces.jar and jaxp.jar files in jdk1.2.2\jre\lib\ext\. Also I've set the CLASSPATH to that directory. Here is the code:import ...

MissingResouceException even when the resource exists

2879 byte By kurienmathew at 2007-9-26 4:41:08
ResourceBundle.getBundle() throws MissingResourceException when resource files are available and were created at runtime just before the call.The method works the second time around when the files are already available.Here is a sample program that does just that. The program creates a dummy ...

FileDialog usage - having general problem

629 byte By jmschrei at 2007-9-26 4:41:44
I have a class that extends FileDialog in my application. I have a working File dialog box that opens, I set it to FileDialog.SAVE type.I would like the FileDialog to initially display the String"Whatever.txt" in the filename field. The setText() command for this class isn't what I want, but I ...

coping with a weird document base

662 byte By luked at 2007-9-26 4:42:35
Hi,I'm getting this exception when the java plugin tries to load my applet:java.net.MalformedURLException: unknown protocol: myprot at java.net.URL.<init> at java.net.URL.<init> at java.net.URL.<init> at sun.plugin.ocx.ActiveXAppletViewer.setDocumentBase(..This is probably ...

Can I install Forte on Windows98?

297 byte By K.Tomono at 2007-9-26 4:42:56
Hi there.Please let me ask a newbie question...Can I install Forte on Windows98?I would try it. (Forte release 2.0 Community Edition)But the install guide shows requirement of WindowsNT/2000. I can't use Forte on Windows98..., really?

Transparent window

603 byte By pwjorgen at 2007-9-26 4:42:59
Hi,I am developing a product and need to have a transparent window. What I want to do is to make an image fly across the screen, appearantly outside any of the window. I thought that if The window was transparent and the image was painted on that window, it would look as though the image is ...

Version based download instead of Basic download

678 byte By johanvdv at 2007-9-26 4:44:07
Hello,I'm new at WebStart and I have a question. I've read that normally Webstart uses the basis Download functionality to get the JAR'S from the Web server. I read that WS just checks the timestamp of the JAR files to see if there is a newer version available. We do not want this check to ...

Window Event

388 byte By javanewcomer at 2007-9-26 4:44:20
hi all,How can I use "enableEvent(AWTEvent.ACTION_EVENT_MASK)"and "processActionEvent(Event e)"to implement Window destroy.You know,old java use handleEvent method: public boolean handleEvent(Event e){ if(e.id==Event.WINDOW_DESTROY){ System.exit(0); } return true;}I want to have the correct ...

internationalization of exception's text message

171 byte By ko.srinivas at 2007-9-26 4:44:24
How to internationalize Exception's text messages ?If there are any examples on this, it would be a plus.Thanks in advance.K.Srinivasan

How to get the system properties

470 byte By siv-viv at 2007-9-26 4:44:35
My problem: i need to get the client's "user name" by using javascript , is it possible?The problem is in my jsp page if i say<%=System.getProperty("user.name");%>it gives me the root user name, but what i need is the username of the client (if a person opens my jsp page then ...

Event Handling in an Array of TextField

353 byte By apurva_uca at 2007-9-26 4:44:55
I have created an array of textfields (say t[0],t[1],t[2],....) and want to implement the FocusListener Interface.I want to use the method focusLost() to get the name of the textfield in the form t[x] whenever the event occurs in the field.Can I do it? if yes, how?p.s.- getting back the array ...

"Checking for update"--hangs!

663 byte By smcstravick at 2007-9-26 4:45:32
I'm using Windows NT, IE 5.5, JRE 1.3.0, JWS 1.0.1.Java Web Start is generally working fine, getting updates successfully, launching, etc., however, there have been several occurences where it hangs on various user PCs.The application is already downloaded and there is no updates for it to ...

displaying an array of int as rectangles

860 byte By kslimk at 2007-9-26 4:45:42
helloi am a novice to java and would very much appreciate help from people. I am trying to develop a little educational programme as part of a personnal project. The project i am trying to do will try to be a little animation to help aid learning for children. What i am having difficulty with ...

AWT Components without Border

315 byte By Georgi_Kirtchev at 2007-9-26 4:45:47
I've made subclasses of all awt components and overwritten pain() metod so that the component don't have border. But this technik don't work with TextField and TextArea ( Button, Choice, List is working fine). Does any body kwno what should I do to have components with NO border or with 2D ...

URGENT!! I can not see swing classes -:((((

949 byte By ireneesm at 2007-9-26 4:46:03
I am using Plug-In 1.3 and JRE but I do not see the swing classes.In addition there is an error InstantiationException when I use other applet with AWT. Microsoft (R) VM for Java, 5.0 Release 5.0.0.3234==============================================? helpc clearf run finalizersg garbage collectm ...

rading input from a dialog box

655 byte By kharkarr at 2007-9-26 4:47:02
This is what I am trying to do/ need to do.I have a JFrame with a button and a label on it. When the button is pressed I need to disply a dialog box with a JList. I am going to populate this JList reading a text file (storing the text file in vector and so on). Now the dialog box has a OK ...