i have a problem with jtable

426 byte By musa_yilmaz at 2007-9-30 15:58:52
i am using NetBeans 3.6 kit and i have a problem with jtable. when i insert new column to my jtable while program is runing, and then i want to change the value of any row of my inserted column. it changes another values of rows of different columns. how can i resolve this problem and how can i ...

java.util.scanner

518 byte By Sandy25 at 2007-9-30 15:59:36
I'm brand new to Java and trying to learn. My class requires I use BlueJ with j2sdk1.4.2_5. I'm trying to write a simple program from my text book. The compiler returns, "cannot resolve symbol - class Scanner". The code that it's hung up on is:import java.util.Scanner;.....which is right ...

c++ to java conversion

7954 byte By hello-joseph at 2007-9-30 15:59:44
Hi ALLDoes any one knows if there any c++ to Java converter?thank you///////////////////////////////////////////////////////// Qt includes#include <qbuffer.h>#include <qcstring.h>#include <qimage.h>#include <qpaintdevicemetrics.h>#include <qregexp.h>#include ...

Frame iconifying on MacOS X

569 byte By gernot.veith at 2007-9-30 16:01:13
hi,I got a problem opening an iconified frame on Mac OS X. My app starts with an iconified JFrame, ie. you can seethe app in the task menu on Windows, Linux and MacOS X. On Windows and Linux the frame is opened when you klick onto the icon in the task bar. Not so on MacOS X. The frame just ...

Integrating JBuilderX with SunOne Application Server 7

588 byte By Sunil-Bhoriwal at 2007-9-30 16:01:36
Hi,I've installed the plugin required for integrating SunOne Application Server 7into JbuilderX. It's running fine but the problem is when I try to run the application server in debug mode from within the JBuilder then i'm not able to use the debugging contrlos of JBuilder like the controls ...

Method Names Generated at Runtime - HELP

984 byte By theFillm at 2007-9-30 16:02:58
Hi everyone,I am trying to write a GUI application for processing XML schema validated XML files. As I am using java's JAXB, i end up with an object, that contains all the element references as methods of that object. As I am trying to create a generic application, I get those names at ...

Reading executable code from text file.

747 byte By jainshilpaf at 2007-9-30 16:03:29
Hi,Say, I have a text file that contains information in (key,value) pair format. The key attribute can be some kind of string, whereas the value attribute are a set of executable statements. The executable statements can be method calls, conditional statements or loop statements (say in Java). ...

Makefile to build.xml

100 byte By sledged at 2007-9-30 16:04:25
Does anyone know of an application that will convert a Makefile into a build.xml file?

About using 'AppletViewer'

163 byte By WMEChan at 2007-9-30 16:04:46
Dear all,Is it OK to directly call a compiled class by such command - 'appletviewer c:classname.class'.Thks & Rgds,Edward

Very strange compile error...

3667 byte By NPatrick6 at 2007-9-30 16:04:48
Hi,All my java programs compile fine, except for when I try to set the background color of a component. It's driving me nuts. I've uninstalled and reinstalled the Java JDK, but to no avail. Here's the text of the error message when I attempt to compile.Unexpected Signal : ...

AT command not work

398 byte By Saiful_Islam_713 at 2007-9-30 16:05:00
I want to hyperterminal to serial port(com2) with a serial cable connected with my computer sending a AT command but the Nokia6610 not responding while the screen of the hyperterminal not show the "OK/Error" after type the command "AT"PLS help me.i m disherted no one help me in this forum.But i ...

JavaEditorKit

295 byte By CMW_ at 2007-9-30 16:05:29
Hi,I would like to use the JavaEditorKit provided by sun at http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/However I can't seem to compile it as there are many errors that appear. Is there anyone that can teach me how to get it to work?Thanks!!

BufferedReader.readLine() pb !!! Help !!!

689 byte By ludovicmaillet at 2007-9-30 16:07:36
Hello,I want to read lines from a file "while (true)" ... because an other application will append some lines in this file at the same tim I will read lines from it.This code is bad because the readLine() is not blocking when no input is available and then it is consuming all CPU ...

CDATA Attributes in java.util.prefs.Preferences

777 byte By jgamache at 2007-9-30 16:09:08
Anyone know why CDATA contents don't seem to work as a value in a key/value pair with java.util.prefs.Preferences? I'm using jdk1.4.2. It would be _really_ nice to allow embedded XML via a mechanism like:<node name="MyNodeName"> <map><entry key="aSpecificKey" ...

What is this line of code means?

868 byte By k_dhar at 2007-9-30 16:09:30
Hi have a general question, I am not sure if it right place to ask. But I will be grateful if some body could help on this one. I could not figure out what is that line of code (**) is doing or what does it mean. I gave sample implementation here. Public class Decoder{ InputStream in Public ...

Compiler error cannot resolve symbol

312 byte By ifaolokun at 2007-9-30 16:10:08
Hi people,i'm having this compile time error that, when i create a class and calling that class in another class gives the error cannot resolve symbol classname and it also happened when i created a bean and referencing the bean class in another bean when i'm using Jsp. thanks in advance. ...

linux c++ to java conversion

1104 byte By hello-joseph at 2007-9-30 16:11:07
double LabelUtils::pixelToMm( double pixel, const QPaintDevice* device, int mode ){QPaintDeviceMetrics pdm( device );if( mode == DpiX )return (pixel * 25.4) / pdm.logicalDpiX();elsereturn (pixel * 25.4) / pdm.logicalDpiY();}double LabelUtils::mmToPixel( double mm, const QPaintDevice* device, ...

JChart api not loading on HP Unix(JDK 1.3)

396 byte By ashwani_kalra at 2007-9-30 16:11:23
Hi,I am getting NoClassDefFoundErrror on HP Unix box , same runs on Windows.java.lang.NoClassDefFoundErrorat org.jCharts.properties.ChartProperties.<init>(Unknown Source)at com.twacs.tngadmin.twacspath.bo.ThresholdClusterBarChart.initChart(ThresholdClusterBarChart.java:125)Can any body ...

J2SE API Class Fields

850 byte By composite140S at 2007-9-30 16:14:04
Sorry if this is redundant.Are int class fields assigned at random are is there a specific model underlying the assignment of certain numbers within each indiviual class.The event class, for example, assigns the integers 1008-1019 to the variables F1-F12. Aside from grouping the function keys, ...

NOOb: A few problems

746 byte By Browntown at 2007-9-30 16:14:25
ok I have been aquainted with java for about 24 hours and would like some help in plain english. First of all, when I try to compile a .java file, i get the error message "Exception in thread "main" java.lang.NoClassDefFoundError: component/java" I have read of a few problems similar to this ...

My software hults when I call another application

1428 byte By tleis at 2007-9-30 16:14:57
GreetingsI'm developing an application (Senior) that contains a menu item that should open a dialog box upon clicking.and I have a separate application (selectDialog) that opens the desired dialog box.so, i'm calling the application (selectDialog) using the following ...

running java programs on linux

538 byte By johnmmcparland at 2007-9-30 16:15:18
Java Note=========did a simple hello world program (my first in java), compiled it and then tried to run it but this happens (note bin is /java/bin);[root@localhost bin]# ./java [PATH TO PROGRAM]/helloException in thread "main" java.lang.NoClassDefFoundError: [PATH TO PROGRAM]/hellois this ...

problem with threads

718 byte By vidula-kamat at 2007-9-30 16:16:10
I have a class which has thread as its element. This thread is running continously. There is another method in same class which will be called ocassionaly by another class. Now when this method is invoked I have to stop thread which is running. I have done that by putting that particular thread ...

sdk 1.4.x logging.

281 byte By artsi1 at 2007-9-30 16:17:28
Hi!How can define specified handler for some specified logger in properties file?I mean that i use ConsoleHandler&FileHandler, but only one specified logger should use FileHandler.and btw. can i use multiple FileHandler's?SeeU - Artsi

Java Compiler

334 byte By SreedharRacharla at 2007-9-30 16:19:45
I wrote three programs with the names 'A.java', 'B.java' and 'C.java' (abc package). When i compile 'javac *.java', sometimes it is not compiling the programs though it is not giving any compiler errors. A uses B class.Please can somebody explain me the reason, why it is not compile ...

Downloading using java

1855 byte By feroz_ps at 2007-9-30 16:21:15
I have wriiten this code but the problem downloading continues beyond the size of the file ie from http server or ftp server any help out plz, import java.io.*;import java.net.*;public class BeConnect {URL url = null;InputStream fin = null;boolean con = true;File f = null;File f2 = ...

linux new File

349 byte By tyvain at 2007-9-30 16:21:48
Here it is :under WinNT I have this (working):File f = new File ("d:\\dir\\whateverFile.txt");f.isFile() // THIS RETURN TRUEunder Linux i have (not working... how come ?):File f = new File ("/www/dir/whateverFile.txt");f.isFile() // THIS RETURN FALSE, BUT SHOULD RETURN TRUE...Any idea? ...

When does 1.5 go Gold?

166 byte By jastaylor at 2007-9-30 16:23:55
Sorry if this was already discussed but when does 1.5 come out of Beta and go General Release? I didn't see any dates given in the roadmap article. Thx

The program do not open on top

278 byte By tleis at 2007-9-30 16:24:16
HelloFrom my java program i'm calling another java program, but unfortunatly that second program, opens behind the main window of my program for the first time.closing that second application then calling it again opens it normally on top. any ideas

How to compile from a folder different than bin

149 byte By tleis at 2007-9-30 16:24:19
Greetings guysI remember that a line must be added to some file, or maybe a special command is used.Can you tell me how, please?

Please help me on Xerces NodeList

1816 byte By xihan24 at 2007-9-30 16:26:52
Hi,I am new to use Xerces-2_6_2 for Java. I got trouble to operate with org.w3c.dom.NodeList. Here is part of my code. It is a simple practice. But I still got lost.I am appending 2 new elements to "xs:sequence" node. HOWEVER the printing result shows the oldList length is equal to the ...

how can i save the content on the applet to jpeg image

61 byte By mpokkybaocn at 2007-9-30 16:27:06
how can i save the content on the applet to jpeg image

how can i save the content on the applet to jpeg image

364 byte By mpokkybaocn at 2007-9-30 16:27:11
how can i save the content on the applet to jpeg imagei want to develpe a web math formula editor in the website.that means:when I access the website,I can use this program,this program will appear a math formula and I just config some number,then the program will save the formula and number to ...

Installing J2SE 14.2 SDK and netbeans 3.6 bundle

475 byte By C0unt_Numer0 at 2007-9-30 16:28:59
I downloaded the bundle and a different computer and burned it to a CD. I brought It home and tried to install it straight from the CD, the computer said that It didnt have enough space on D:\. So I copied the bundle to C: and tried to install. Apart from the fact that the installer doent ...

Compiling java under Windows XP is SLOW

1070 byte By randomman at 2007-9-30 16:30:14
Hi,I'm involved in developing a java based web application, and we're experiencing speed problems compiling java under windows.The entire project can be rebuilt in 90 seconds on a linux machine, but takes 6-10 minutes on the same or similar machines running Windows XP. We are seeing this ...

i have a problem with using jdialog...

303 byte By musa_yilmaz at 2007-9-30 16:30:22
when create new jdialog and then i want to close it. but it hides self. after i try to load again it fails "OutofMemory". because always it is in my memory.how can i remove this jdialog from my memory and how can i clear this error?thanks a lot for your answers...Musa ...

XSLT best IDE

1165 byte By wikey at 2007-9-30 16:30:34
Halo,I'm seeking a best XSLT IDE...can anybody recommend one?I was using Alvota product which is "XML Spy" and "XML Stylevision" design PDF report interface all the while but this tool having some limitation where you can't have coding level of the look and feel features in the "XML ...

Phone formatter

295 byte By mauricio_alarcon at 2007-9-30 16:30:57
Does anybody know a really good way to format phone numbers (###) ###-####, I was trying using the java.text. package but seems to replace instead of format., and the Number format class doesn't work wellMaybe regex based? any ideas, examples will be welcome Thx in advance

wierd java 1.5 compile issues

377 byte By Gilthalas at 2007-9-30 16:32:20
Hi all,I have an instance where under CodeGuide 7.0, my code compiles fine. However when using the 1.5 beta 2 compiler from the command line (under Windows or Linux) 11 errors pop up out of no where (it is compiled using what is essentially an ANT script). Does anyone have any clues as to what ...

the Java 2 SDK 1.3.1_01for linux

266 byte By kalyan812 at 2007-9-30 16:32:25
I am trying to download the Java 2 SDK 1.3.1_01for linux from the java.sun.com .I am not able to download rpm. when i click on download it is opening the rpm instead of downloading.Can you please let me know , where can i get a copy of this rpm.

How can I create a package?

315 byte By tleis at 2007-9-30 16:33:04
GreetingsI want to separate some java files into a folder or package to avoid the mess in files.I tried to copy some java files into a folder ( menuBar ), and from the main application I imported :[code}: import menuBar.*;[/code]but it seems not to work, ...

How to restore .class files into .java files?

155 byte By tleis at 2007-9-30 16:33:05
I read once in this forum, that there is a tool to change .class files into .java files. What is the name of this tool and where i can download it?

Does jdk1.4 come with an inbuilt DOM parser?

288 byte By prasad_x at 2007-9-30 16:35:13
Hello,I would just like to know if jdk1.4 comes with an inbuilt DOM parser? i.e. are there any API's, for parsing an xml document, inbuilt within jdk1.4?If yes, can anyone tell me how am i supposed to parse an input xml file and what are the API's present?thnx in advance

help please!!!!!!

248 byte By BluJava at 2007-9-30 16:35:39
By executing a synchronized instance method of that object. By executing the body of a synchronized statement that synchronizes on the object. For objects of type Class, by executing a synchronized static method of that class.

How to get free Serial COM Port list.

214 byte By someshsharma at 2007-9-30 16:35:42
Hi,I am developing an application where i need to get list of free available (not used by any application) serial COM ports. Can you suggest an existing API or any method(s).ThanksSomesh

Need help stopping a thread

529 byte By CaffeinatedCoder at 2007-9-30 16:36:38
I have a thread that starts a file download. I tried using the following.On the mouse click event of a buttonthread.interrupt();in the file download methodif(!thread.isInterrupted()){do stuff}else{thread.interrupted();}The way it stands now, the file download stops and everything seems fine. ...

How to get free Serial COM Port list.

913 byte By someshsharma at 2007-9-30 16:36:44
Hi All,I am trying to get list of available com port list but the program execution is not returning anything.There is not API in the CommPortIdentifier class that can give what the error is.I am attaching following bit of code from my program. Can you suggest what the error may ...

how to exports data to MS-Access using Java API

253 byte By BosJava at 2007-9-30 16:38:00
How to exports data to MS-Access using Java API?Are there any APIs which I can use to export data to MS Access. Server platform is Linux/.Java based so MS file generation has been compliceted. Please help me in this regard.Thank you

FileChannel: Map failed

643 byte By bean@lucent at 2007-9-30 16:38:02
I'm running into a problem mapping regions of a file with the FileChannel.map() method. On Windows (1.4.2_05) under load I receive a:java.io.IOException: Map failedat sun.nio.ch.FileChannelImpl.map0(Native Method)If I force an occassional garbage colllection, I don't run into the problem. If ...

rmiregistry

426 byte By sharvan11 at 2007-9-30 16:38:07
Hi,I am very new to RMI. I just tried to run the following command to start the rmiregistryc:\> rmiregistry &After typing this command i can find my cursor just blinking in the second line and it stays on like that.I am unable to proceed further.But I used various other command like ...