differen colors for different rows in TextArea of java.awt.TextArea

442 byte By nareshkumark at 2007-9-26 8:01:30
hello friends. I working on chat application where i am using a TextArea to dispaly treanscript . i want the message of one chat user to be displayed in different color and other in the other color. In Simple My problem is that i want to set different colors to different rows of TextArea . If ...

Strange behaviour in JDK 1.4.0 Beta 2

1051 byte By McFinnigan at 2007-9-26 8:04:09
An application we have developed under JDK 1.3.0 is behaving bizarrely under 1.4.0 Beta 2. We have also had reports that 1.4.0 Beta 1 misbehaved in a similar manner, though I have not confirmed this myself. The misbehaviour currently seems to be limited to the event model under Swing; ...

Dead Keys don't work any more after reinstallation / deinstallation

363 byte By rmouton at 2007-9-26 8:14:27
I worked with J2SDK1.3rc1 under Windows and the dead keys of my French keyboard worked OK.I installed J2SDK1.3.1 official release and J2SDK1.4b to test them but wasn't satisfied and went back to J2SDK1.3rc1.Now the dead keys don't work any more and I can't get a â or ï in any Java ...

jdk1.2.2 and Pentium 4

318 byte By chan_l_k at 2007-9-26 8:14:56
I have a machine whic run on Pentium 4 Window 98, the jdk1.2.2 can be installed without any problem, but somehow it prompt "llegal operation ..etc" when I compile a source code in dos prompt. It doesn't hault and back to dos prompt after the ok button is pressed. May I know what is the problem ...

jdk1.31SE weird behaviour

736 byte By ndario at 2007-9-26 8:28:52
i usually work with jdk1.2.2 but i recently had to install jdk1.3.1 (to work with tomcat4) and i found out some strange things going on.first off all, after instaling 1.3 i didn't change path, it still points to 1.2 bin dir (i explictly set path in tomcat startup scripts). i was realy suprised ...

Fast Data Transfer over Internet

434 byte By arunje at 2007-9-26 8:28:58
Hello friends:i need your help to transfer Data.i have few servers and some of them are really stuffed with huge amount of data on them.i want to move my data to other servers.i dont have a telnet access and more ever i dont want to remain connnected till the time the task is over.can you ...

Any comrade knows how to optimize JDK for WinXP Pro?

307 byte By kendlips5 at 2007-9-26 8:29:55
I need to use JDK on WinXP Pro.But it seems that the JRE doesn't work with IE.Does anyone know how to configure JRE1.3.1 for WinXP Pro?DOes anyone know how to configure JDK1.3.1 for WinXP Pro?If you can help, please do tell me! Thank you!kendlips5@elong.com ...

Big Strings

288 byte By mmlima at 2007-9-26 8:30:32
Hi all...I need to know what is the better way to work with big Strings... I need to read some parts of the Stringbut the method substring only accepts ints as arguments and ints r limited. How I can handle a big String?Thank u all,Marcelo

Does SNMP support using JDMK require you use the code generator?

1046 byte By kvrana at 2007-9-26 8:32:46
I am trying to add JMX and SNMP support to some existing components. I want to impact these components as little as possible. I was planning to use the ModelMBean model for JMX support. Reading in the metadata from an XML document to set up the ModelMBean structures. I would also like to add ...

Comparing code compilation under JDK 1.1.8 AND 1.3.1

1679 byte By jtauxe at 2007-9-26 8:37:49
I wish to compile the same suite of classes under Java 1.1.8 and Java 1.3.1, in order to compare the results of a bunch of calculations. Java 1.1.8 has some known bugs (in particular in Math.floor(), Math.round() and DecimalFormat() ) and I'd like to be able to experiment with the two ...

JDK 1.4

67 byte By drane222 at 2007-9-26 8:37:57
Does anyone know when Sun is going to release JDK1.4?

HELP: Norton Anti Virus CE 7.5 cause the illegal operation for java program

1065 byte By otnielp at 2007-9-26 8:42:23
Hi,Currently, my client using Norton Anti Virus CE 7.5 program. This program has a Realtime Virus Protection. When we enable this protection, it will cause our java application got the 'illegal opertion error' and the program will hang. The error message is something like this:This program ...

having trouble running programs

663 byte By jlchait at 2007-9-26 8:58:02
I have installed the most recent JDK and I have a JDE(KAWA) where I am able to compile and run Java programs that I create. I wanted to run some of these programs from the command line in MSDOS, but eventhough they work in KAWA they will not run or compile in MSDOS? Here's what I get:when ...

JDK 1.3.1_01 on Linux Mandrake

336 byte By alexmoore at 2007-9-26 9:02:15
Hi there folks,I've searched all the forums and couldn't find an answer so I thought I'd ask:I've moved from Win to Mandrake Linux 8.1 and I'm having a nightmare trying to get the path right for the BASH shell. Has anyone got any pionters or any good links to a website for setting ...

Managing Frames on the System?

459 byte By chuckb42 at 2007-9-26 9:02:52
I am trying to develop a way to control the entire systems windowing. I need to have the ability to change positions, sizes, visibility, etc of Frames that have been instantiated at various times by various applications. Can I do this with the system ClassLoader? Is this possible if apps are ...

TreeMap of Points - how do I set the comparator?

257 byte By devdba at 2007-9-26 9:23:09
I have a treemap containing Points and I know I have to set a comparator for the map. I also know there is a comparator in class Point because there is an equals method.How do I set the map comparator to use the Point comparator?

Error from using ANT program, need help, Thanks

1899 byte By hui_lu_98 at 2007-9-26 9:26:03
Hello,I tried to run J2ee tutorial sample code. Following the instruction, I tried to ues ant to build a sample ConverterAPP but get some error message. I would preciate if somebody could give me some help.Thanks.Hui Lu hui_lu@exe.com Following is the command I entered from an CMD window and ...

URGENT help needed right away

2595 byte By CowMessiah at 2007-9-26 9:29:09
hi alli am in the process of debugging a program that has to comunicate with a database via JDBC.now this INSERT should by all means work i think (unless my SQL is bad) i have used all teh right data types in both the java program and in the database but never teh less i get htis anoying error ...

Java SDK Help Needed URGENTLY!

2648 byte By Viper001 at 2007-9-26 9:32:52
Hi, as part of my uni course I am required to learn Java. Until now, I have only used it at uni and everything works fine. However, I decided to download Java 2 SDK from the Sun website (version 1.3.1_01). I am using Textpad as the editor and just installed Java by running the 32mb installer ...

jdk1.4 <-> jdk1.3.1

309 byte By H.Weigelt at 2007-9-26 9:36:02
I am developping Java under NT using jdk1.3.1. Last week I installed jdk1.4b2 without deinstalling 1.3.1. Now I want to go back to 1.3.1. Do I have to deinstall 1.4b2 and reinstall 1.3.1 or is there an easier way. E.g. editing the registry or the Systems environment.Thank youHorst ...

Applet Java 2 and Javascript

599 byte By monnchrs at 2007-9-26 9:40:49
I could use Javascript to control an Applet in JDK 1.1, that is invoking Applet public methods like this:javascript:document.applets[0].Method()But now with Java 2 I have to embed the applet in an ActiveX control using the HTML Converter, and the problem is that the Javascript code can no more ...

JDK1.4 compilation>help ! I have a deadline !

484 byte By newcomer1 at 2007-9-26 9:49:00
I don't know why I can not compile java using DOS anymore. I was compiling and running it fine yesterday.Then I installed Oracle into my computer. Today, I try to do my java project and it won't compile.This is the error statement:c:\java javac Img.javabad command or file name.however, if I ...

Compile Servlet

289 byte By fangwha_tinashih at 2007-9-26 9:53:17
I am compiling my first servlet. I can not find jsdk.jar anywhere. I coud only find HttpServlet*.class files and I download them put them under my c:\jdk1.3.1\lib directory.When I compile, I get package javax.servlet does not exist...What should I do? Please help!Tina

Java on an Athlon

209 byte By Pat_Man at 2007-9-26 10:05:46
Any one know if there are any issues with running Java 2 SDK on an Athlon based machine. The download states it is for intel platforms.I'd appreciate any informaiton some one can give me.

How to use FilenameFilter to get a list of all .html files in a directory?

171 byte By modelart at 2007-9-26 10:08:59
How to use File.listFiles() and FilenameFilter to get a list of all *.html in a directory?Can somebody give me a sample code?..Thanks very much

jdk1.4 printservice

729 byte By handlen at 2007-9-26 10:15:46
I am trying to use the javax.print.* classes of jdk1.4. I can print a document to the default printer (services[0]) and to a file (new Destination) but am unable to print to a printer other than the first suitable one that is found, even when I try creating the print job using services[2].. can ...

jre 1.3.1 : no windows in win2k

335 byte By Wallasch at 2007-9-26 10:17:01
hi folks,i'm running jre 1.3.1. under win2k. when executing *.class or *.jar files (that are the demo files from the sdk) everything works fine up to the point where windows should open. There are no error messages at all and no windows eather !someone have any idea?thanks for the help,micha ...

Opening a dir & showing files inside

234 byte By lambu76 at 2007-9-26 10:19:16
Is there any way, any method, to open a dir in a window and show, in this window, its content, such as I'd clicked on this directory ?I've preferred an O.S. independent way, but it's not so important.Thz

jdk1.4 path setup

1691 byte By newcomer1 at 2007-9-26 10:20:27
My jdk 1.4 was working fine, until I installed Oracle into my system. I mess up my path set up and I could not compile anymore. I tried to set java bin earlier than the others path. It's still not working. Please tell me what else I need to do. I don't know very much about setting path class. ...

would JDK2 work on winxp? urgent

267 byte By hshi1 at 2007-9-26 10:20:58
I just got winxp profession for my pc. Since for some reason I have to use it. But all my development work is done by java. I just wondering can I install jdk1.3.x on winxp, and would that work?if someone knows, please reply asap.thank you

How do i make a Installer using Jar?

96 byte By Stylo_Code at 2007-9-26 10:23:06
Anyone knows how to make an Installer using the Jar Format?=)

Open a dir and a file with its associated program in win, but in Linux ?

417 byte By lambu76 at 2007-9-26 10:36:54
In windows I can open a dir in an explorer window with this java code:For winnt o 2000Runtime.getRuntime().exec("cmd /C start c://db /B");For win9xRuntime.getRuntime().exec("start c://db");For opening a file in win I can use this java code:Runtime.getRuntime().exec("cmd /C start filename ...

IPv6 on Windows XP

161 byte By Incarnation at 2007-9-26 10:44:37
Does IPv6 work with J2SE 1.4 on Windows XP? I know it doesn't work on Windows 2000, but Windows XP has full IPv6 support so I figured I might ask.

I need your help

646 byte By andeyg at 2007-9-26 10:51:21
I know java is a independent-platform language .And sdk is good tools.But it seems that the sdk could only complie a programme to some .class files.And if I want to run the programme ,i have to use the command java to interpret it.Now comes the question,assuming that I want to write a programme ...

Windows XP && JDK 1.3.1_1 %% Forte CE 3.0

254 byte By Perty at 2007-9-26 10:52:17
Any known problems with WIndows XP and Java 1.3.1_1? I just installed it and tried to run Forte CE 3.0 and it didn't work.. Just quited without any errors or anything..Someone had any similar problems or better sulotions?/per

How to convert a byte[] valiable to a String valiable?

275 byte By dungali at 2007-9-26 10:55:52
byte[] cleartext="12345678".getBytes();The following:System.out.println(cleartext.toString);why can't to print the string "12345678" ?I am very anxious to resolve the problem,can any bodyhelp me?

servlets

158 byte By Astarot at 2007-9-26 10:55:56
HiI need to create simply servletJDK 1.3.1 has no servlet packageWhat and where I must download for servlets?Thank u

how to make the tags in XML file case insensitive

592 byte By sangeetha_parth at 2007-9-26 10:59:21
Hi,I have a ReadXML class which reads an xml file. This class also has a method which receives a string-child from another class and uses this string-chile to match it with the child tag in the xml file, and returns the child tag's value.Now, my problem is this, the child tag in xml may be in ...

How make to move the focus in the cells of a jtable to left to right

264 byte By Carlos_Torres at 2007-9-26 11:04:45
Hi, I dont know how to make to move the focus in the cells for a jtable to left to right.The default is to down at the columm in the same row.I already used method editCellAt(row, col)Sorry for bad english, please help-me

problem about compiling servlet

372 byte By dafe2001 at 2007-9-26 11:09:03
I have jdk1.3 compiler.And I have jsdk.jar in my classpath.But when I compile my code,the compiler can't find the standard servlet class ,such as ServletContext,HttpServlet and so on.What's more.If I use the -classpath driver options,just like javac -classpath [standard servlet class jar file ...

java.exe(Version j2sdk-1_3_1_01-win.exe)

465 byte By dong33 at 2007-9-26 11:09:07
Hi all,I can use appletviewer to view appler.But I can't use java.exe to view application of java.It told me below:D:\temp>java TestDrException in thread "main" java.lang.NoClassDefFoundError: TestDrMy code below:public class TestDr {public static void main (String args[ ]) ...

linux crash (XtWindowOfObject), 1.3.1

11756 byte By russsells at 2007-9-26 11:10:50
HelloI am seeing jvm crashes when running applications on linux, with java2 SE, 1.3.1. These crashes do not happen on the solaris jdk. It is actually a jvm crash, not an Error or Exception.This only happens after I call JPopupMenu.setDefaultLightWeightPopupEnabled(false), (which is required as ...

error installation j2sdk-1_3_1_01-win.exe under win2k

143 byte By webdel at 2007-9-26 11:11:20
I have error when run j2sdk-1_3_1_01-win.exe under win2k:'the program is too large for memory'thank for your Halp

j2sdk1.4beta3 on win2k

657 byte By verdi96 at 2007-9-26 11:11:33
When I typed (in msdos box): c:\>java, it produced errorsomething like (don't remember exactly since I've reverted back to 1.4 beta2):=====================couldn't find local_machine\software\javasoft\<something>\currentVersioncouldn't find java.dll=====================I noticed ...

Macintosh Java

182 byte By cjharper99 at 2007-9-26 11:14:30
I was wondering if anyone knows what the latest version of Java is for Macintosh. I currnetly have 1.0 on my Macentosh, is there a newer version? thanks....Chris

How can I do for use IE 5 browse "JAR" file?

476 byte By dong33 at 2007-9-26 11:17:47
Hi all,I can use command line "appletviewer example.html"view result of Applet(JAR file).But I can't use IE 5 browse it ,It told me that load: class Pic not found.My code of html below:<applet code=Pic codebase="." archive="Pic.jar"width=695 height=525></applet>Please help me How ...

Servlets?!?

476 byte By gandalfgrey at 2007-9-26 11:28:04
Trying to add the servlet class files v2.3 to existing SDKv.1.3.1. Have downloaded the class files. However I dont know where I am supposed to place them so I can compile servlets using my current SDK without having to download the whole J2EE version over a 56k modem.Do the files need to go in ...

libjava.so not found error?

841 byte By Huyuehui at 2007-9-26 11:35:49
I have installed j2sdk1.4.0 beta 3 on solaris 2.6. When I run "java" from command line the following error will occur unless the current directory is the "$JDK_HOME/bin" or this directory is specified as the prefix of "java", such as "$JDK_HOME/bin/java".Error: could not find libjava.soError: ...

Redirect a error message from javac to text file

86 byte By Ludgero at 2007-9-26 11:39:16
How can i get redirect a error message from javac compiler to text file?

How could I compile a large number of java source files together?

923 byte By javaforum2 at 2007-9-26 11:39:57
I am working on a tool which can generate a large number of java source files. I used to build a .bat file and fire up DOS command line to compile the sources at run time. There might be dependency among these classes, therefore I need to compile them together using javac as following:javac ...