Run a Swing application withouth an opened DOS window

326 byte By wilmort at 2007-9-26 4:42:46
Hi all,I'm producing a Swing application, but when I make a .bat file with the java statement to run the application, it opens a DOS prompt window and then executes the bat file. Is there a way to run my application directly from Windows, without having an opened DOS window opened? Thanks, ...

SDK 1.3.1 and mm.mysql

361 byte By tapesorcdz at 2007-9-26 4:54:50
Hi, I'm having trouble installing the jdbc driver for mysql. After I set the class path, my simple hello world program doesn't work and neither does a load driver program. I'm on a Windows 2000 machine. What driver do I need to get i.e. (.jar)? then I just unzip and set the classpath to the ...

Where can I found the English document for package sun.net?

69 byte By wwwlff at 2007-9-26 5:03:16
I need this package in my program.Where can I found it.

documenting packages with javadoc

376 byte By EVA_02 at 2007-9-26 5:03:36
We're trying to use javadoc to document our packages.We use javadoc namePackageBut it gives us the errorjavadoc: No package, class or source file found namednamePackage.We're sure namePackage is the correct name, but we don`t know if it's necessary additional options or an specific path for ...

How to send mail thru jsp or java ?

270 byte By avanish_ks1 at 2007-9-26 5:08:28
How to send mail to a person thru jsp or java code.I can not use mailto of html,i need to do thru jsp or java code.waiting for your urgent response.....Please let me know if i can be of your help.....Thanks........Avanish

GIF ENCODING (URGENT)

239 byte By colinbarrett at 2007-9-26 5:09:52
HiI was wondering if there is any other convienient way of encodeing an image to a GIF format without using the ACME package? I'm not sure but I think that JAI doesn't support GIF encoding. Is this true? Colin

New Beta version of JDK1.4

463 byte By Migwel at 2007-9-26 5:11:58
Where can we download the new beta 2?The SUN home page says :--J2SETM 1.4 Beta 2 Now Available!A Beta 2 release of the JavaTM 2 Platform, Standard Edition version 1.4 software for Microsoft Windows, Linux, and the SolarisTM Operating Environment is now available. (August 27) -But the link goes ...

covert html file to any image file using java

112 byte By krishnakanth_b at 2007-9-26 5:16:04
HiHow to convert html file to image file using java.Please could you send solution for this

Graphics Libraries

409 byte By jviper1 at 2007-9-26 5:18:49
I have just started taking a class Programming and Problem solving with JAVA. My first project involves using Turtle Graphics to write my initials. I have JBuilder 4 and for this class I am having to use JDK 1.2.2. Being a beginner I am not sure where this turtle graphics comes from. The only ...

How to get how many hours of day light saving time at the current TimeZone

303 byte By lipzhong at 2007-9-26 5:19:25
Usually the dayLightSaving time is 1 hour, but I heardthat it is possible that it might be 2 hour or some other times,How can I get that time. I checked the TimeZone classat Java, I didn't find any information about how to get it.Thanks,Pingzhong ...

View an HTML file within an application

343 byte By oriolcivit at 2007-9-26 5:23:51
I'm programming an application in Java 1.3I need to view the HTML local files within my application. I've downloaded Hotjava but I don't know what I have to do to use, if it's possible, Hotjava HTML Component. Can I use the classes of Browser.jar to create a container for viewing HTML ...

batch printing

135 byte By skmanam at 2007-9-26 5:24:20
How to do batch printing of some persistant file with out swing component in java.awt.print. Can anyone help. Needs help.

Drag and Drop woes driving me up a creek!

508 byte By AltheaLS at 2007-9-26 5:26:09
Hello:I went the the following link and downloaded the many samples for DnD. http://www.rockhoppertech.com/dndsrc-beta-1.0.jarMy problem is that I do not know how to run any of the samples.Can someone please, please, please tell me how to run even one of the examples with step-by-step ...

keytool error: KeyPairGenerator not available

183 byte By brady.edwards at 2007-9-26 5:28:22
keytool -genkey -alias tomcat -keyalg RSAEnter keystore password: changeitkeytool error: KeyPairGenerator not availableI received this for jsdk1.4.0

Can a server handle threads?

613 byte By zekke at 2007-9-26 5:28:23
I have a server that a) recieves data b) updates a database c) sends data to clients I tried putting the database update into a separate thread : Runnable task = new Runnable() { public void run() { //i have a print statement here //which is not reached //database update in here } }; so now ...

The Java source for TEA (Tiny Encryption Algorithm)

348 byte By noris67 at 2007-9-26 5:30:37
Hi,I'm looking for the Java implementation for both encode and decode routines for TEA.I did them in C but I used "unsigned" modifier for data because I have to perform the left shift.Of course, I'll be happy if someone can give me a solution for the simulation of an "unsigned" int in ...

Creating cookies

463 byte By bravu at 2007-9-26 5:30:44
Hi:I want to create a cookie to store some data (only a name) for loading that data into a html file using Javascript. That's why I need to create a cookie because is the only accesible file from a javascript function.I have been lloking for it but the only thing I found is a class called ...

Retrofitting system classes to earlier JDK

481 byte By Lenbok at 2007-9-26 5:37:49
I need to do logging in my current project, and would like to use the apis introduced in merlin. However, I also need the code to run with earlier jdk's such as 1.3. I have managed to compile the logging src code such that it works when I add it to a 1.3 rt.jar, but would like to know if there ...

JDK1.4 Compiling error

233 byte By newcomer1 at 2007-9-26 5:38:21
I down loaded JDK1.4 and installed it OK. I also set the PATH for the application.However, I keep getting a msg said "bad command or file name", what does that mean ?Please help me to resolve this problem.

Getting line #'s with the JIT compiler

278 byte By t_milburn at 2007-9-26 5:47:11
When I specify that I want to use the JIT compiler, and an exception occurrs and the stack trace prints, I get "compiled code" where I should get a line number. When I use the standard compiler, i see the line #. Is there any way to use the JIT AND see line #'s?

Java Serial Port Program

247 byte By mpangrekar at 2007-9-26 5:59:20
Hello,I would like to write a Java program to write to a serial port of a PC.Does Java 2 SDK, version 1.3 support Java COMM API?Which JDK versions are best suited for Java COMM API?Thank You !!Mayur

compiling with jdk1.3

557 byte By DOON at 2007-9-26 6:00:32
I have not been able to compile test programs with jdk1.3. Mostly I get "Bad Command or File name".E.G., "C:\J21work>javac Ellsworth.java Bad command or file name "among quite a number of attempts to set AUTOEXEC.BAT rightare"PATH C:\jdk1.3\bin; %PATH%@SET CLASSPATH=;C:\jdk1.3\lib\tools.jar; ...

Java Port Programming

132 byte By mpangrekar at 2007-9-26 6:01:02
Hello,Can anyone suggest any site for Java serial port programming tutorial?Thanks !!Mayur

APPLETS jdk1.4 not Working?

498 byte By cdml at 2007-9-26 6:02:13
I recently installed the new JDK1.4. I make applets constantly for my websites but I found that when I compile them now they don't work when I try to view them through a web browser. They work fine in the appletviewer though...What has changed?When I try to view them in say Internet Explorer I ...

Simple java compiler for win

290 byte By ciro5 at 2007-9-26 6:04:04
I used the javac command in dos mode to compile my .java files , but in my recent program i have so many errors that they dont fit into the dos screen(in dos mode i cannot move up and down!). Is there any simple compiler for windows(or GUI) that could solve my problem?

How to get all the Threads running in the current application ?

602 byte By aisacnewton at 2007-9-26 6:04:07
Hi,In JDK 1.3.1 , We would like to know the detailed information of all the threadsrunning in our application . We tried using VirtualMachine of JDI package which contains a method allThreads().This function has to be invoked from inside the Java application for which the details of the threads ...

JDK1.4 schedule

75 byte By uniblue at 2007-9-26 6:06:32
Can anyone tell me the schedule of JDK1.4 proudction release?

Java Port Program !

641 byte By mpangrekar at 2007-9-26 6:07:32
Hello,I have run 2 programs SimpleWrite.java & SimpleRead.java seprately. These programs are available in Java COMM API for writing to & reading from a serial port.Then, I tried to run both programs on the same machine, first SimpleRead.java & then SimpleWrite.java, it seemed that ...

Oracle JDBC Drivers and SDK1.3.1

498 byte By jonhammer at 2007-9-26 6:09:23
A little help please...I'm having a problem configuring JDBC drivers for Oracle with SDK. I have entered the C:\oracle\ora81\jdbc\lib\classes12.zip into the class path as directed by the oracle docs, but this seems to stop java programs functioning... and I still cannot connect to my ...

Can I get an Applet to work without the Plugin?

216 byte By cdml at 2007-9-26 6:24:51
I have applets that I've written and I want people to be able to view them without downloading the plugin. Can I compile them differently or something? I am running the JDK1.3.1_01. Please help. Thanks

I have jsdk2, but I can't compile servlet program

333 byte By ranjande at 2007-9-26 6:30:08
I have jsdk2 version. which create in my c:\ dirve a folder jdk1.3. I do all the program from that. But I found that some of the class files of Servlet (servletRespose etc ) is missing. What I do to recover that. Even I can't compile any servlet program from that. Pls reply to my ...

java.lang.Nosuchmethoderror:main

496 byte By fisher99 at 2007-9-26 6:34:02
I'm using netbeans, solaris sparc 8 JDK 1.3.1I am trying to compile simple applets and class, copied directly from text books.The simple applets such as hello worl compile fine. However I always get the nosuch... error when running the stuff.Also the demo applets that come with jdk have the ...

Dictionary class

65 byte By Andy_chiang at 2007-9-26 6:46:02
Is there any example in using the dictionary class?

BUG!!! -- JDK1.3.1_01+ causes URLConnection.setRequestProperty error

847 byte By KHeston at 2007-9-26 6:55:02
This is a very specific bug. It is only revealed when using the BASE64Encoder in conjunction with the setRequestProperty method of the URLConnection class.In JDK1.3.1_01+, code that worked fine in JDK1.2.2 and JDK1.3.0 throws the error:"java.lang.IllegalArgumentException: Illegal character(s) ...

Disable elements in JCombobox?

352 byte By damhoang at 2007-9-26 7:08:24
Does anyone know how to create a JCombobox with some elements disabled and not selectable.For example:JCombobox with the following items:firstsecondthirdHow do I make second element show up in the JCombobox but is disabled and not selectable?Thanks in advance for any help!Dam Hoang ...

Please tell me How to access the COS NAMING?

287 byte By levels at 2007-9-26 7:10:59
In COS Naming, I create a new context as follows:Initial context |QuerryApp (a new Context) |OrderQuery (a object)But I don't know how to access the "OrderQuery"(using jdk 1.3.1).Please help me!!email: levels@163.net

Logging Framework available as an extension?

138 byte By BeckerM at 2007-9-26 7:13:43
Does anybody know if the Logging Framework available in JDK 1.4 beta 2 is available as an extension to be used with JDK 1.3?

Installing oracle8i personal edition on windows ME

523 byte By SwatiA at 2007-9-26 7:13:51
I am having a problem installing oracle8i personal edition on windows ME. The error on running the setup.exe was "jrew has caused an error in javai.dll. " A fix was reported on the internet for this , which is adding a line ": Jrew=0x00080000" to compatibility95 in the win.ini file. Appaarently ...

Security Exception: Sealing violation

1281 byte By chandutcs at 2007-9-26 7:17:34
Hi All,i am getting this securtiy violation exception,I am using the jdk1.2.2 , jaxp.jar and xalan.jar.i have taken this java file from one of the examples in JSP and XML of the java.sun.comcan you please find out what could be the problem?here the program trying to generate the HTML file from ...

More than one version on java installed?

639 byte By jenga01 at 2007-9-26 7:18:28
I am having difficulty running a simple 'hello world' program on my machine. I have installed jdk1.3 and I can compile a .java file with no errors but when I try to run it I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: FileNameThis seems to imply that I ...

applet

957 byte By arunpradeeps1 at 2007-9-26 7:26:09
hello,I have a very simple applet that is apparently not loading in the web page but am able to view it thro' applet viewer. the HTML code is below,<HTML><HEAD><TITLE>BrowserTest</TITLE></HEAD><BODY><H1>BrowserTest</H1><p><A ...

Weblogic question with servlet calling applet

773 byte By kymaym at 2007-9-26 7:27:59
I have a servlet calling applet and the server is Weblogic5.1.The servlet is under .../myserver/servletclassesThe applet is under ../public_html/myclass/The applet is called by the servlet using<applet code=appletclass1 codebase=''http:/.../myclass"/>appletclass1 constructs some other ...

Problem with installation JDK

343 byte By aitmamar at 2007-9-26 7:44:47
Hi,I download a JDK from this URL : http://java.sun.com/j2se/But, when I try to install it in windows 2000, I have an error message, that my file is corrupted.I retry the download severals times, but I have a same message.Can you help me please ?Thank you for your quick reply.Sam ...

Help : Java Devlopement KIT ?

263 byte By aitmamar at 2007-9-26 7:44:50
Hi,I'm a new student in java world, I want to install a complete package to be able to write, compile and excute a java programs.Can you tell me how can I found this package but FREE please ?Tank you very matchSam

As400 Toolkit , jdk 1.2.2 , update to jdk1.3.1 or latest versions

197 byte By ProgramadorJava at 2007-9-26 7:47:19
Could anyone tellme what advantages , i'll would get if I update Visual Age for Java to jdk1.3.1 , and how I could update it , in the Integrate Develoment Environment, Thanks

Package compilation problem! PLEASE HELP!

683 byte By RIVASD at 2007-9-26 7:47:45
hello everyone,my problem is that I have more than one package to compile. Each class of each package refers to a class of another package.Imageine I have this first package : ...com\mycompany\security\and this one : ...com\mycompany\net\and that a class from the security package imports a ...

ResultSet wihtin ResultSet but cause cursor problem?

691 byte By kymaym at 2007-9-26 7:51:45
I have a SQL error when running the code below:while(rs0.next()){...String s= rs0.getString(1);ResultSet rs=null;rs=getResult1(aConnnection, s);/*statment is created in the function and ResultSet returned */while(rs.next()){ ...}rs.close();}rs0.close();Error: java.sql.SQLException: ORA-01000: ...

JDK problem

348 byte By thnguyen76 at 2007-9-26 7:52:17
After I installed JDK 1.3, then set the path for JDK. I tried to run the sample java program and go this message "Exception in thread "main" java.lang.NoClassDefFoundError: Welcome"...I have reinstalled JDK a couple times and still couldn't run the sample programs. Any help or ...

Tomcat4 looking for JDK not SDK?

703 byte By mercenarysteel at 2007-9-26 7:58:03
I recently Downloaded the Tomcat4.0 JSP/Servlet server. It is the "jakarta-tomcat-4.0.exe" version and when it runs, it immediately prompts me for the JDK. The installation package quits immediately after this message.I have version 1.3.1 SDK.. I was under the impression that the SDK was the ...

how to get the Rom Drive letter

146 byte By gunjanbk at 2007-9-26 7:58:42
In VB we have something like type of disk e.g type 1 for A drive, type 5 for rom drive. Is there any thing silmiliar to this in java