Problem in choosing Encoding at runtime.

2024 byte By kapil_ji at 2007-9-26 3:12:42
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 ...

Turning JavaCode into JBeans

245 byte By johrik at 2007-9-26 3:13:16
Hi all...I am trying to take as input some BASIC java code and upon some user interaction i.e. clicking a JButton to convert the Java into JBeans code. Any comments/direction or help, much appreciated.Thanks...

Java Plugin1-3

96 byte By BarkatzD at 2007-9-26 3:13:19
Does the Java Plugin 1-3 functionate with IE4.0 ?Thank you for your answer.

Applet-Applet communication

91 byte By guptaamit1 at 2007-9-26 3:13:21
does any one know how an applet can communicate with other Applet?Amit

how to force the utilisation of a plug in

114 byte By pimousse_cerise at 2007-9-26 3:13:37
hi,In my applet i need to obligate the client to use le plug in 1.3 ....how can i do ?

installation and runtime (memory crash) issues with bridge

1299 byte By schleute at 2007-9-26 3:13:43
in my limited experience with the activeXBridge i have encountered two issues and i would like to know how others have worked around them.1) the right runtime for my machine. i have nt4 workstation sp6a with ms visual studio c++ (if any of this helps i dunno). i could NOT make the bridge work ...

Access to data in JAR

1051 byte By MagDy at 2007-9-26 3:14:03
Using jar files, it's quite common to access data in the .jar file with [cod]URL url = getClass().getResource("file");[/code]Then you use the URL as the data source. Now this is quite simple, but my issue is concerning the: getClass(). part.As many, I use a folder called /images to access ...

Tomcat and J2SDKEE

388 byte By siew_edward at 2007-9-26 3:14:16
Hi,I would like to know what's the difference btw tomcat and J2SDKEE....Is the J2SDKEE suitable to be used for production site for serving the jsps and servlets...? I've just installed the J2SDKEE1.2.1. What web server does of running on right after the installation ? As for performance ...

WAR deployment to IBM WebSpherer (jnlpdownloadservlet)

641 byte By de102933 at 2007-9-26 3:14:37
I want to deploy a self-created WAR file (created e.g. with Venus Application Publisher) to IBM Websphere (3.5.4). The WAR-import process itself works fine. But the web application does not work.Clicking/launching a JNLP-File over the download-servlet causes an response (on the browser) "The ...

veriifying jar file

50 byte By spacys at 2007-9-26 3:14:40
how can we verify a signed jar file?

Installing Java Runtime Enviroment

335 byte By mcemce at 2007-9-26 3:15:14
Normally this is an selfextracting and selfinstalling EXE-file.But the security in our house does not allow something.Also there is no unattended mode (or I didnt found it)Anyway, I should be able manually to install the content of "j2re-1_3_1-win-i.exe."Any hints ?regardsCharly ...

Panel in applet

1554 byte By vimaljain73 at 2007-9-26 3:15:27
HI,We have created an applet which uses Panel to display images. This applet works fine in netscape but fails in IE.Please suggest.This is the code :/* * Class : DispImage * * Modification History : *July 23, 2000 *File Created. * */import java.awt.*;import java.awt.event.*;import ...

Editing a Modified Applet

653 byte By seanmcgurk at 2007-9-26 3:15:34
Hi all!I have modified an Applet using the HTML converter and have then tried to add a javascript function to the HTML code. However, when I try and load the applet in the web browser, I get an error message stating that the program has performed an illegal operation and will be shut down. What ...

Images(.gif/.jpg) from JAR.

234 byte By ramareddys at 2007-9-26 3:15:52
Hi,Is there any way to load images from JAR file?I am not able to get images to Java application (GUI) from JAR file. If I extract JAR file it is working. Any help is appreciated. Rama Reddy.

Unload DLL from Java application?

95 byte By ramareddys at 2007-9-26 3:15:53
Hi,Is there any way to unload DLL from Java application?Rama Reddy.

distributing javahelp with an app

718 byte By stcampbe at 2007-9-26 3:16:00
HiI have an application which uses JavaHelp and this works great on my development workstation. I wanted to distribute my app at this point and wondered if anyone could tell me what i'm missing to get the JavaHelp system working on another machine. I haven't packaged anything separately, it ...

Binary Jar file?

278 byte By chadorbaf at 2007-9-26 3:16:47
How can we create binary Jar file in order to hide the code from the client?Note that: The .xml and .html files are accessible/understandable in Jar file. I need somehow hidden this codes when deploy it. Or a way to prevent from opening the Jar file.

Does current JWS work with JRE 1.4.0 beta?

718 byte By mishaVB at 2007-9-26 3:16:56
I'm trying to use new JRE features (SSL and encryptionclasses included) along with Java Web Start technology.The current JWS 1.0.1 is bundled with JRE 1.3.0-03 andseems to ignore all other JREs installed on the machine.The application I try to start via JWS dies with the messages: Java Web ...

JAWS and JTextField

331 byte By k2caron at 2007-9-26 3:18:06
I'm creating an application with Accessibility for JAWS 3.7. I have a lot of the JTextFields that have setEditable(false) However, when I tab through these non-editable JTextFields JAWS reads them as editable, which will be confussing to Users.How do I make JAWS treat this field as ...

Jaas classloading problems with web start

649 byte By chrisg_1 at 2007-9-26 3:19:03
I am having trouble using Jaas with java web start. The javax.security.auth.Subject class fails to load, giving a ClassNotFoundError on the javax.security.auth.SubjectDomainCombiner class. This problem does not occur if the jaas classes are installed in the java extensions directory of the jre ...

How to check the double byte character fall in 'A'..'Z' and 0..9?

231 byte By airqq at 2007-9-26 3:19:51
hi all,Is there anyone experienced with how to check the double byte character fall in 'A'..'Z' and 0..9?example, read a char then compare with \uFF21..\uFF3AThanks,regards,Elvis

How to retrive all available disk drive ID from windows OS?

295 byte By modelart at 2007-9-26 3:20:15
I plan to design a "file chooser" by myself becausethe one provided by JDK1.3 has a serious bug: when the signed applet open a file chosser, the program will crash.I want to list all available disk drive ID.Does anyone know how to do this?Thanks

j2ee installation problem on windows ME

559 byte By fitzgerald29 at 2007-9-26 3:20:31
I have downloaded the j2sdkee1.3 and have set all of the variables but when I type in j2ee -verbose or j2ee.bat -verbose ( as I have read about in peoples past problems ). I get the linesout of environment space *2syntax error * 3exception in thread 'main' java.lang.NoClassDefFoundError: / ...

Signing Jar Files

236 byte By jensn at 2007-9-26 3:20:32
Hi,I'm using Ant to build my application from source and scramble it. The only question is, which sign task I could include tio sign the whole application.Did someone have a good and easy example?Jens

Right align text in a textfield

176 byte By samitr at 2007-9-26 3:21:06
Hi !How do i right align text in a text filed. i need to do it in such a way that it works with java 1.1.thanks in advancesamit

content-type for jar file upload

290 byte By agreif at 2007-9-26 3:21:07
Hi,can anybody tell me what the correct content-type for uploading jar files is?I found several versions like - application/java-archive - application/x-jar - application/octet-streambut which one is the right one?Thanks, Alex.

Java(TM) Commmunication API

769 byte By ashoktaru at 2007-9-26 3:21:55
Hi All,Just now I have installed the Java(TM) communication API.The JDK that I have been using is JDK1.3 and OS is WindowsNT 4.0 .I have gone through the installation instructions and have followed them:1.win32com.dll has been placed in <jdk>\jre\bin2.comm.jar has been placed in ...

Changing language in JFileChooser

185 byte By ndrw198 at 2007-9-26 3:22:06
Is there any way that I can change the language of the text in JFileChooser, ie, where it says File name and File type and such.Thanks for any help you can give me.

height of "Choice" in AWT.

532 byte By shasidharreddy at 2007-9-26 3:22:12
I have used a choice box in my Application Login Dialog.I mentioned the height of the choice box as '25'.and i was using jdk1.1.8 for my application.Everything was working fine.Now my client wanted me to port the application to jdk1.3.1. when i tried to run the same application in 1.3.1, i ...

distributing JavaHelp with an app

764 byte By stcampbe at 2007-9-26 3:22:26
HiI have an application which uses JavaHelp and this works great on my development workstation. I wanted to distribute my app at this point and wondered if anyone could tell me what i'm missing to get the JavaHelp system working on another machine. I haven't packaged anything separately, it ...

JRE 1.3.1 EXCEPTION_ACCESS_VIOLATION 4F530E43505002CC

5344 byte By humesr at 2007-9-26 3:22:43
Aug 8, 2001PROBLEM:Randomly the applet and browser will literally shutdown and disappear from the screen. This occurs after a servlet communicationhas successfully occured and then the JFrames window is closed(the X button is selected). It generates the attacheddesktop file afterwards.The ...

Cannot access methods in converted applet

893 byte By seanmcgurk at 2007-9-26 3:23:01
Hi all!I have used the HTML converter to convert an applet so that it can run using Sun's Java 2 Runtime Environment, Standard Edition (JRE) instead of the web browser's default virtual machine by using the Sun Plug-in. The converter seems to work by converting the applet to an Active X ...

Having problem running an application

418 byte By delislec at 2007-9-26 3:23:19
I have recently installed jdk 1.2.2 and i have no problem running applet but when i try to run an application i get the message 1 error can't find<filename> . java.The path in autoexec.bat is fine. JRE File is include in my file jdk1.2.2.I have installed and deinstalled it a couple of ...

Is there a way for java plug-in to get the browser login authentication

1093 byte By joacL at 2007-9-26 3:23:55
I have an applet that is loaded from a password protected html page. I use java plug-in with the applet.When I try to read this page I get the browser window asking for password and username. So far so good.Then I log in successfully and starts using the applet.If the applet wants to access ...

JWS 1.0.1 Bad MIME type

1224 byte By butchj at 2007-9-26 3:23:58
I am confused about the whole Bad MIME type issue. We have an application that worked for 6 months using JWS 1.0 without any MIME type problems. However with JWS 1.0.1 we can download our application only if we do not request caching. If we use the following format:spec="1.0" ...

How to configure Netscape 6 to an existing Java 1.3 Plug-in

527 byte By tbelfiore at 2007-9-26 3:25:12
I am developing an RSA self-signed applet on Windows 2000. I was able to get IE 5.5, with Java Plug-In 1.3.1, to work with my applet. I then wanted to see if I could get Netscape 6 to also work. I installed Netscape 6 but when I select any applet, it does not recognize the Java Plug-In, even ...

GridBagLayout spacing

154 byte By shaiw at 2007-9-26 3:25:17
Hi,Is there a way to set the horizontal and vertical gaps in GridBagLayout as it can be done in GridLayout?Thanks,Shai

How can I draw a function ?

429 byte By JAgus at 2007-9-26 3:25:18
I am new in Java and I am doing an application in the statistic area. How can I draw someting like:y=f(x). for example:f(x)= ( (1/(3*Math.sqrt(2*Math.PI)))*Math.exp(-0.5*Math.pow((x-5/3), 2))); ? You get double values, and you can only use pixels for drawing.I don't Know how to convert then.Is ...

detecting Java applets with a screen reader program

690 byte By btomasz at 2007-9-26 3:26:18
I am testing a web based application for Section 508 compliancy with the JAWS for Windows screen reader program. The application contains two Java applets which I cannot detect with speech. I was told by the developers that they used the swing class, and followed the accessibility guidelines. I ...

Application specific JRE

1092 byte By lewislm at 2007-9-26 3:26:34
We are considering using Java Web Start to deploy our **internal** applications. Currently we are using Install Shield to install our application and the JRE that our application depends on. We install the JRE in a specific application directory and therefore it is essentially part of our ...

Java Beans and Visual Basic

261 byte By gurmeet_bhatia at 2007-9-26 3:26:41
My Client has a Visual Basic application running and he wants to create a Java application on top of it (Some EJBs ), i would like to know how i can i start with that.Please let me know...if anyone out there has an answerit is urgent

trouble loading a grayscale PNG with JDK1.3

485 byte By JWD1 at 2007-9-26 3:26:56
I am working with an application that displays images of checks in PNG format. It works fine with the b/w images of the check fronts, but when I try to load the grayscale images of the check backs, the images seem to load as very dark and inverse - i.e. what should be dark is light and vice ...

How to change fonts?

643 byte By dmw73 at 2007-9-26 3:26:58
The plain Dialog font looks really bad on the X Server display using the Java Plug-in 1.3.0 runtime for Linux.I thought that I could specify which font that Dialog should use by changing the font.properties file. However, that appear to do nothing; I tried changing Dialog to all sorts of ...

Java Plug-in 1.3.1 & JSObject

365 byte By tapodaca at 2007-9-26 3:27:08
I need to know if the JSObject works with Java Plug-in 1.3.1 and earlier versions. I have an applet that works perfect with the new plugin, but cannot do everything it's needed to do with plugin 1.3.0...We are useing the call_javascript() currently, but this does not work with plugin 1.3.0 and ...

JSObject and Java Plug-in 1.3.1

626 byte By tapodaca at 2007-9-26 3:27:11
I need to know if you can use JSObject in place of the call_javascript() and if it is compatable with the Java Plugin 1.3.0 and earlier versions. We are currently running an applet that will print one document, but if you try to print muliple document, it crashes. We need to have the applet ...

How to Measure The Amount of Leaked Memory?

1279 byte By cherylhu at 2007-9-26 3:27:13
I am writing codes to measure approximate how muchmemory is leaked when I call some methods. But I am not sure which method I should use for that in Runtimeclass.My codes are like:Runtime rtStart = Runtime.getRuntime();rtStart.gc();//total memory at starting timelong tmemStart = ...

Hazel - free JNLP to HTML converter released

725 byte By geraldb at 2007-9-26 3:27:18
Hi, I released Hazel today. Hazel is Venus Application Publisher's JNLP to HTML converter. Hazel extracts all JNLP links from an HTML document and creates an informative, neat looking HTML document listing all JNLP applications along with their vendor, version, description,homepage and more. ...

Accessing JAR files from JSP

260 byte By amadab at 2007-9-26 3:27:27
Can anyone tell me if it is possible to access class files from a JAR file viajsp. For example, say I want to create an instance of a class found in the JAR file.Any help is greatly appreciated!!Thanks in advance,Amada

Using a specific JRE

1023 byte By RTDog19 at 2007-9-26 3:27:55
I'm attempting to deploy an application that performs poorly with 1.3.0_02, but ok with 1.3.1. Whenever I specify <j2se version="1.3" /> in the jnlp file, it seems to only accept a "Platform Version" and not a "Product Version". Since the default JWS install comes with 1.3.0_02, I have ...

Are there any tools to do Pseudotranslation of resouce bundles?

437 byte By gboza at 2007-9-26 3:28:06
I want to test if the Java code for one of our products is internationalized. For that, I would like to use a dummy translation or pseudotranslation of the resource bundle. Are there any free/cheap tools to do the pseudotranslation? I also looked at machine translation tools but for this I need ...