Where does System.out go on W2K?

424 byte By anthonys2 at 2007-9-26 3:28:14
I have built an executable jar file, which writes to System.outOn Solaris, I can run either of:java -jar foo.jarfoo.jarand see the output in either case. But on W2K,I can see the output only if I runjava -jar foo.jarIf tryfoo.jarI see nothing. Is there a way to get output sent to the cmdwindow ...

Urgent - Unable to launch application using webstart

660 byte By whitematter at 2007-9-26 3:28:47
Hello,I installed webstart a few days ago, and got it to work fine.Suddenly I find today that when I try to launch webstart from my IE browser, the browser shows me a popup saying "you have chosen to download this jnlp file from so-and-so location. Would you like to [1] open the file [2] Save ...

Setting memory heap size

321 byte By gkumarc1 at 2007-9-26 3:29:20
Hi,I would like to know how to set the default memoryheap size to 128 MB while installing the Java Pluginitself.Is there any environment variable available for settingthis?I dont want to use the Control Panel option for settingit.Thanks for your help. ...

HELP ME guru this is third time

467 byte By josh_a at 2007-9-26 3:29:51
when i am using <applet> tag in ie5.5. My applet communicate with servlet engine( tomcat ) and respond mebut when i am using plugin( yes i converted that applet file using html converter ) it does not calling my servletprogram even more it doesn't show any error in my plugin console ...

running C++ application from Runtime.exec

178 byte By waellena at 2007-9-26 3:30:11
Hello everybodyI am trying to run a c++ executable file(myap.exe) using Runtime.getruntime().exec("myap"), nothing happend!.Can anyone help me please.

What is the JavaBeans ActiveX Bridge?

451 byte By shusseina at 2007-9-26 3:31:13
I am guessing it is a way to develop in Java, but deploy in Windows without Java (i.e. no JRE needed), am I correct?I am developing a small Java bulk mailer program which will be deployed in a Windows environment. Could I use this bridge to wrap my Java program in ActiveX and possibly build the ...

Require both 1.2 and 1.3 jre to run applets

939 byte By bwinspur at 2007-9-26 3:31:44
We use a mission-critical third-party (applet) product that works on the 1.2 jre, but it does not run under jre 1.3. Our latest in-house apps, and other third party products, use jre 1.3. Not being able to deploy our new apps on the same workstations as the 1.2 application, is a major ...

wrapped exception from Method.invoke()

798 byte By wjw_c at 2007-9-26 3:31:50
invoke() method within Class java.lang.reflect.Method may throw InvocationTargetException if the underlying method throws an exception. java1.1 API says,"Control transfers to the underlying method. If the method completes abruptly by throwing an exception, the exception is placed in an ...

Input Dialog Box

657 byte By JPatapin at 2007-9-26 3:32:13
Hello.I wish to design a Dialog to get String from a TextField component (a prompt box).I would like this object to be totally independant from the parent frame :The parent frame could create an instance of this object ex: PromptDialog thisBox = new PromptDialog( this, ...And then the parent ...

JSSE support

2388 byte By izhidov at 2007-9-26 3:32:27
I gave up on trying to deploy JSSE library with the app and settled on installing JSSE staticaly by uploading the jars into ext directory and changing the java.security file.I can run the application just fine with the runtime installed by JWS from the command prompt but it does not work if I ...

Panel Preview

404 byte By dcumberl1 at 2007-9-26 3:32:29
Hi everyone, I am developing an Applet (and have to use Java 1.1). The Applet shows slides to the user and each slide is an instance of a class that extends Panel. I would like to create a preview of the slides, sort of like the power-point slide preview. Is there a way to have a panel draw ...

Arabic letters are boxes

509 byte By seastallon at 2007-9-26 3:33:13
Hi,I have this app that loads a ResourceBundle and reads from a properties file for all of the properties that map to the GUI widgets. The GUI widgets' text are extracted from this prop file. I am having a problem with this in that when I try to display these values then some of the Arabic ...

Applet doesn't retrieve classes using plugin

283 byte By mnutty at 2007-9-26 3:33:16
If I run my applet from a dialup it works. If I run it from behind a proxy it won't. I can run the SwingSet2 demo and it prompts me to login.Mine just stalls after trying to connect to the first one right about where it should prompt me to login. Any Ideas?Mark

zh_TW.Big5 in Linux

2612 byte By goask at 2007-9-26 3:34:00
Hi,I am running a Mandrake 8.0 with Traditional Chinese setup. Chinese can display in native apps. However, when I run any Java apps with a GUI the console has the following message:Font specified in font.properties not found [-tlc-song-medium-r-normal--*-%d-*-*-c-*-gbk-0]Font specified in ...

Applet - Sending Key-Events to another Application (i.e. Explorer)) !

259 byte By stokey1 at 2007-9-26 3:34:02
I wrote an Applet for communication and typing withouta keyboard, but i don't if and how it is posssible tosend an keyEvent to another application, especiallyI.E. or another .exe programplz. help me !!!

gifs from a jar & Java Plugin

342 byte By ragude at 2007-9-26 3:34:15
I've a bunch of GIFs in an JAR that load perfectly when running in an application using the JRE. However when I try to run the same with the Java Plugin in Netscape or IE, some of the images show up incorrectly with white patches in 'em. Anyone else see this problem and know how to counter ...

Hello,ereryone .I'm a Chinese.I Want to make friend with you.

127 byte By China_yukuang at 2007-9-26 3:34:51
Sorry,my English is very poor.I have a question:Where can I get the Doc about com.sun?Thanks

Display and Input Chinese conflict? +other qs.

1132 byte By carlosnf at 2007-9-26 3:35:57
I have a Swing Application - and I want to have part of the GUI in Chinese. (List boxes etc.) In order to do this, I use Bitstream Cyberbit font and it works fine.In order to Input data in Chinese in a TextField, I use NJstar to do the data entry. This works fine on its own as well.- Now, when ...

Inserting Applets (plugin 1.3.1)

496 byte By Mracka at 2007-9-26 3:36:00
I've inserted my applet into HTML via HTMLConverter 1.3.The Applet works fine both in MSIE 5.5 and NN 6.0 (according to console output).The problem is, that I can't see applet's methods in Netscape. It says, that document.embeds["myapplet"] has no properties, or the method I call doesn't ...

JRE redistribution and msvcrt.dll

331 byte By floweb at 2007-9-26 3:36:27
I would like to known if it it necessary to copy the file 'msvcrt.dll' in the system directory of windows in case of redistribution of the JRE packaged in my application....What happens if the file already exist ? Is this files the same for all version of JRE ? ThanksFloweb ...

DnD between java apps - help!!!!!!

675 byte By hitry at 2007-9-26 3:36:55
I'm implemeting drag 'n' drop within my application using custom Transferable imlementation and my own data flavor:DataFlavor ownDataFalvor = new DataFlavor(MyOwn.class, "My Own Class"); Inside one application it works fine. However, when I'm trying drag data to the second app of this kind ...

JWS and Java CommAPI: any working examples please?

3643 byte By pgl1606 at 2007-9-26 3:37:16
Hi all,(sorry for the length of this post, but I hope that the completeness will help)I have tried for some time to get the Java Communications API to work with JWS,but have failed in all my attempts. First, I am hoping that someone posts a reply that he/she has a working configuration, andis ...

Where JNLP file be placed on the server or on the client machine

173 byte By jii3 at 2007-9-26 3:37:43
Hi all,I have downloaded java web start enabled my web server. Now I need to know where should I place JNLP.Please adviceThanks Jii

cacerts import question

886 byte By beausoleil at 2007-9-26 3:37:55
Hi,I am running on win2k, jre 1.3.1-c java2 applet. My applet is signed accordingling. I am using a self signed certificate for testing and have imported this into my only existing cacerts file. I have dumped the file and have seen my certificate. I do realize that as soon as I purchase a ...

Problem with parsing date strings

855 byte By nilspedersen at 2007-9-26 3:38:16
I'm trying to handle dates in different formats, but I'm not even able to get Java running the following example:DateFormat df = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, Locale.getDefault());Date date = null;try {date = df.parse((new ...

ALT_GRAPH_MASK

553 byte By frisco_steve at 2007-9-26 3:38:20
I'm having a strange problem with the alt_gr modifier on win98 using sun jdk1.3. Shift, ctrl and alt are working fine, but the alt_gr doesn't seem to correspond to its value in class InputEvent.KeyEvent.ALT_GRAPH_MASK in InputEvent (and KeyEvent) has this value:32d (or 100000b)When the alt_gr ...

Problem with WebStart & applicaton parameters or properties..

903 byte By xanatos387 at 2007-9-26 3:38:37
Ok. I have a WebStart application which is supposed to be launched from a website only (not offline-allowed - even though you seem to be able to launch it offline! grr) and the application needs to take TWO parameters from the website. I am currently using Properties to accomplish this. The ...

JWS / JavaScript communication

660 byte By mrarick at 2007-9-26 3:38:56
I need a way to communicate between the Java application launched by JWS and the Web page that launched it. Specifically, I want to close my application if the user navigates to a different page on my site.My only workaround so far is to launch a "dummy" JNLP file that passes an argument, via ...

Cannot read foreign characters!!!

2760 byte By pratimdas at 2007-9-26 3:39:20
Requirement: Read a text file containing foreign characters and print it/ store it in string bufferProblems: Doesnt work, and throws exception whenever Reader.read() or BufferedReader.readline()method is envoked...How do i get arround this?Here is a sample text from the file...Angende ...

java.exe crash on P4 machine

482 byte By shpet at 2007-9-26 3:39:39
Is anyone aware of issues with running jdk1.2.2_008 or later on Pentium 4 machines?I installed a app server on Windows 2000 on my home machine and when I try and start it, a Windows popup window appears saying java.exe has generated errors. Where should I look for a more detailed error ...

Access files from another machine by using Java Swing

363 byte By supervia at 2007-9-26 3:40:31
Hi Guys,I have a tough problem. I am working on a java swing basis project. I face a problem that I have to list all file from another machine by using java swing.Right now, I use JFileChooser. It only can display local machine files, not remote machine. If you have any ideas, let me know ...

Exception_Access_Violation exception thrown when application exits

574 byte By michiko72 at 2007-9-26 3:41:35
HelloI am developing server/client application. The client side is swing/calculation intensive application and it also decodes and renders images. I am using Win 98 and jdk1.3. My problem occurs when the application exits. I get the following error.An EXCEPTION_ACCESS_VIOLATION exception has ...

gifs in jars; I keep getting a null url

931 byte By marklawford at 2007-9-26 3:41:50
Okay, I have a jar file with the package com.marklawford in it. I also have a folder called icons holding the particular image new16.gif.I have tried:public ImageIcon loadIcon( String location ){ URL imgURL = ClassLoader.getSystemResource(location); System.out.println("image url = "+ imgURL); ...

TextArea User Response

331 byte By johrik at 2007-9-26 3:42:26
I have a basic TextEditor application. My aim is to add a button on which was once pressed pops up a dialog box allowing the user to input some text. Once the user presses OK on the button, the users input text is then displayed on the Text Area. Any help/advice/samples much appreciated :)Kapil ...

Custom Property Edtor

447 byte By SuperMMX at 2007-9-26 3:42:33
I know most of java beans are based on gui, but, now I want to ask a question about property editor of a bean which is notbased on gui.If I use Introspector to load my bean dynamically, is it possibleto set the property using a property editor by geting the setterMethod and calling ...

mouseMove not working appropriately

929 byte By 92025 at 2007-9-26 3:43:15
Can any one tell me what is the problem with the following code. I am trying to reposition the mouse cursor at the (0,0) co-ordinate of mouseTest frame, when mouse is dragged within it. But surprisingly mouse cursor goes to the (0,0) co-ordinate of the parent frame.public class mouseTest ...

quickie..JAR file not working

448 byte By deanhiller at 2007-9-26 3:43:17
I have a JAR which I used to compilejavac -classpath panes.jar MainFrame.javaand my MainFrame.class is created as expected,BUT then I try to runjava -cp panes.jar MainFrameand it gives me a NoClassDefFoundError: MainFrameIf I extract the jar file out, and runjava -cp . MainFrameThe program runs ...

How do I make BDK work?

1554 byte By bbutyn at 2007-9-26 3:43:45
Hello,I have Sun's jdk1.3 installed (along with Forte 4 java).Then I downloaded BDK1.1 for Windows and it doesn't work having the following problem:When I interconnect two beans by pointing one to invoke a method from in response to an event in another, BDK doesn't generate an "adaptor ...

classpath Windows 2000 Pro

190 byte By Chadrick at 2007-9-26 3:44:01
I want to make sure my classpaths are setup right to get the J2EE installed corectly. Can someone please show me how to do this...I am running Windows 2000 Professional.

JarDiff errors

1093 byte By jrp at 2007-9-26 3:44:28
Hi,I was testing the Version-based downloading using the JnlpDownloadServlet. Downloading initial version worked fine. I then wanted to test the jardiff functionality, so I tried copying one jar file, x__V1.0.jar to x__V1.1.jar. The files are identical in size. When the servlet tries to ...

Follow Up Post - Input Methods Win2K

1266 byte By carlosnf at 2007-9-26 3:44:30
Just a quick note - I discovered that Windows 2000 (English version) does support input methods in Chinese AND it works with Swing. :)There was some talk of using third-party software like njstar, but I guess it seems to be only needed in NON-Windows 2000 environments.To activate Chinese Input ...

I always get -1?Why

596 byte By China_yukuang at 2007-9-26 3:44:40
This my Code:import java.awt.*; import java.awt.image.*; import java.io.*;public class image extends java.applet.Applet{Image image;public image() throws IOException{ image=Toolkit.getDefaultToolkit().getImage("CLOUD.GIF"); System.out.print("The width is:"); ...

Few questions on webstart

966 byte By carlosnf at 2007-9-26 3:45:04
Hi all,Im trying to figure out if I should deploy my client interface with Webstart. Personally, I like the concept behind it, but I'm apprehensive of putting another technology in and then having a whole new can of worms to deal with. Hence, the following questions:1. Are there new problems ...

Catch 22 problem - Chinese Input OR Chinese File Read

1082 byte By carlosnf at 2007-9-26 3:46:01
NJStar: Can't enter Chinese but can pull Chinese programmatically.I have tried using NJStar, but somehow, the input methods dont work (suddenly) and I cant enter any information in Chinese into text boxes.That said, I can read a txt file created by njstar and pull out all the data in Chinese. ...

specifiying a local installer

645 byte By geneman at 2007-9-26 3:46:03
Hi,I am deploying a java extension as described in http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html Part of this procces calls for an "<extension>-Implementation-URL" in the jar file's manifest which specifes the URL to find the jar file of the installer. The problem is ...

Path and Classpath Windows98

218 byte By gsbanluta at 2007-9-26 3:46:32
Hi to everyone, I am new to JAVA.Please... anyone could help and show me how to set myPath and Classpath to make sure JDK 1.3 installed correctly.I am using WIN98 2nd. Edition.

TextArea Background Color

495 byte By sas00 at 2007-9-26 3:46:33
I wrote a piece of applet code which has a TextArea. The TextArea's background color can be changed by RGB codes provided by user. I run the applet in IE5.0/Netscape 4.7 on NT workstation 4.0 and Win2K professional. The problem is, with the same RGB code, the background color in an editable ...

Finding closest Match

691 byte By jeetendradassani at 2007-9-26 3:47:14
Hello All,I need to find the closest match given an array.The array may not be sorted.If the search string "abcd" and the results array is {"abc", "abce", "abx"}, we should have the result sorted as {"abc", "abx" and "abce"}. At the same time, I need to highlight the record "abc" since it is ...

fast 3D graphics

463 byte By swingfreak at 2007-9-26 3:47:40
Hello to everybody,Is there anyone out there in java-community who can help me?I need graphic-routines for a fast 3D, very fast and it should run in an applet. That means I want to show businessdata in charts, especially in rotating candle, pie and barcharts.You will say: no problem, BUT it is ...

Init script for J2EE in Redhat Linux

276 byte By Donaldm at 2007-9-26 3:47:47
I've successfully installed and run J2sdk & J2EE on my Redhat 7.1 Linux machine but I would like to start the J2ee server when my machine boots. Can anyone point me a suitable init script (for Redhat) to start the j2ee program at boot time?Tx.