Serializable class

106 byte By pallavics at 2007-9-26 1:37:12
Is there any method by which programmatically we can find if a class is serializable?

Java & Cocoon

344 byte By shailendra_vasale at 2007-9-26 1:37:21
hi All, Can anyone please help me to know how Cocoon can be used with Java on Tomcat server.Any links,tutorials or books available for this.I read Orielly's Chapter 9,but couldn't understand how to write our own Producer,can anyone throw some light on this.Thanks in ...

How does java support the doc files

387 byte By manasa_m at 2007-9-26 1:37:23
Hai all,I am doing a project where the back up word files are to be displayed on the browser . If it is a text file we can give it as a input stream and if it is a image , it will take it as a .jpg . Then how the .doc can be inputed(I want the MS-word files to be inputed) .If u have a solution ...

I am Chinaese!

30 byte By yukinglie at 2007-9-26 1:37:24
Can you help me?

Problems repainting a frame...

731 byte By nash_tr at 2007-9-26 1:37:25
Hi there, I have a GUI which as part of its operation calls a method that does some fairly intesive JDBC work (lots of adds and updates) which takes roughly 2 minutes...During this time, if I click away from the UI, when I click back, it fails to re-draw (giving the user the impression it has ...

Algebraic signs in Swing...

183 byte By JebeDiAH at 2007-9-26 1:37:26
Hi there.... :)Is it possible to include algebraic signs in wing such as those for integral, sum, differential? Do you know hos to do this?ThxCharly

undo,redo in textarea

55 byte By naveentr at 2007-9-26 1:37:30
How do i implement undo,redo in textarea.

how to do video conferencing using jmf

190 byte By siddhartha_bh at 2007-9-26 1:37:33
hi guys, can anybody help me out on developing a videoconferencing using jmf. ASAP PLZZZZZZZ.my email id is .siddhartha_bh@yahoo.comsiddhartha

Applet question!!!

403 byte By tabachuy at 2007-9-26 1:37:36
Hello there!!! I have an applet that sends text messages to a remote pc (chat application). I want to send a text message once the user closed the browser or another page is displayed or in general when the applet is no longer running. I tried to use the stop() method by it seems that it dont ...

wrap in textarea

45 byte By naveentr at 2007-9-26 1:37:37
How to wrap a text in textarea.

Log file

336 byte By anu_code at 2007-9-26 1:37:38
Hi Can Anyone help me with creation of log files. I am writing an application that uses JSP and Beans. It also connects to the database. I would like to know the status of the program by writing all information to the log. what are the things that i need to do for it.Thanks for the helpSandeep ...

Distributing computing?

448 byte By lfwu at 2007-9-26 1:37:39
Hi all,I would like to implement a system that can communicate with different modules in different computers (hosts). Why I intend to do this is I want each module can use its own computer's procesing power and share the workload. I learn that Java RMI can let me to do this. Does anyone have ...

Applet - Oracle 8.0 database connectivity failing in Netscape Browser

1918 byte By mvnraju_undi at 2007-9-26 1:37:40
I have written a Java Applet to connect to the Oracle (8.0) database. My Applet is residing in a remote server. The Applet connected to the database when run in Internet Explorer, but failed to connect to the database using Netscape Navigator (4.08) and resulted in the following ...

duplicates elimination from an array

225 byte By jollyFella at 2007-9-26 1:37:41
hi guysi have this problem where i have an array with some duplicate elements in it. and while printing it out, i want to display each element only once. how do i do it? helpthanks all

JAVA STRING..

1111 byte By mrchung at 2007-9-26 1:37:43
I want to assign the string "comp[1] in to class "action"But i don't know how to make the class "action" to accept string assign on it.Could anybody help me plz~~thanks a lot^^ i try many times, but is cause some error as below:"Applet1.java": Error #: 300 : constructor action() not found in ...

JTree and JTable implementation

1130 byte By dingarim at 2007-9-26 1:37:45
I am developing a GUI, which is similar to file explorer in Windowsbut my problem is I don't have any physical file structure, i will get an array of strings like thiscom.a.b.c.fileC1com.a.b.fileb1com.a.b.fileb2com.a.b.e.filee2com.a.b.c.d.fileD1com1.a1.b1.fileb11from this input I need to ...

Window XP don't support Java?

44 byte By bigbigpoo at 2007-9-26 1:37:46
Window XP don't support Java?

-classpath problem

1388 byte By verdi96 at 2007-9-26 1:37:47
I got an annoying problem with -classpath problem. Assume that I don't set additional .jar/dir. in CLASSPATH env. var (I like working with shell script):public class Testing{public static void main (String []argv) {System.out.println("abcde");}} I compile the code, and I run the class using ...

Can any body help me in reading from HTTPS URL

424 byte By somudg at 2007-9-26 1:37:50
I need to read an HTTPS URL and store the response within a table . How will I manage to do it from within a servlet using URLConnection and openStream as it does'nt work .How will JSSE help in this regard .Since I also need to give the userid and password to get into the file and read the ...

problem in browser - using Swing

1435 byte By muthukk at 2007-9-26 1:37:51
i have a JApplet.i can open that applet in appletviewer.but i could not open in browser.when i call the applet class file from HTML,is giving error.i'm using JDK1.3 and javawebserver2.0 with windows NT..now i have set the classpath like c:\jdk1.3\jre\lib\rt.jarerrors are:In IE5.5:(JDBCJTree is ...

problem in browser - using Swing

1435 byte By muthukk at 2007-9-26 1:37:52
i have a JApplet.i can open that applet in appletviewer.but i could not open in browser.when i call the applet class file from HTML,is giving error.i'm using JDK1.3 and javawebserver2.0 with windows NT..now i have set the classpath like c:\jdk1.3\jre\lib\rt.jarerrors are:In IE5.5:(JDBCJTree is ...

Creating a Demoversion

195 byte By 123666999 at 2007-9-26 1:37:53
Hi all, I have made a Java application and now i want to made a timelimited and workstation specific demoversion.Any advice.Help will be appreciated.Alex

image in tooltip

672 byte By aulo at 2007-9-26 1:37:56
OK, I can beautify my tooltips with HTML, easy: lblMyLabel.setToolTipText("<html><b>Hello!</b>");I can even make them multiline or place the tooltip contents into a table and modify everything with CSS, but there is still one thing I don't know how to make. How to get an ...

message to bakrudeen

468 byte By swaroopba at 2007-9-26 1:37:57
HI thanks for replyingbut it didnt make much sense to me.please could you give me the same in an applicationand be more explicit in explanation. please tell me the method of implementing passwordprovision for some folders/files in the system.it should ask for password authentification ...

Help me pls !!!

5362 byte By kkhsum at 2007-9-26 1:37:58
I'm having problems with my applet, it compiles & run successfully with appletviewer. However it wait forever to Loading Applet with the browser.I have already used the HTML converter 1.3 that i downloaded from Sun's website & Java Plugin 1.3.Pls help ...The following is my code:- ...

HOW CAN WE GET THE LOCALE....(LCIDs)

332 byte By d_kishan at 2007-9-26 1:37:59
I need to know the country name and the region name from which a request is made to a webpage. i knew that getAvailabelLocales method (java.text.DateFormat) will give the list of the locales. but i want to know how can i get the id for it.if anybody knows, pls post the answer to ...

Problem with JTable

310 byte By tseowf at 2007-9-26 1:38:00
I tried to update some values to a particular cell of the JTable but it doesn't show the updated value.I tried using the fireTableCellUpdated() but it doesn't seems to work.any idea how to show the updated value without having to refresh the whole table?Thanks alot! ...

JComponent.paint( Graphics g )

352 byte By chinlj at 2007-9-26 1:38:01
Hi all,Under what conditions that the method paint will returns without dong any work?I have a non visible JPanel and I am intent to let it generate a new JLabel with its own image painted on the JLabel. But so far what I have here is a blank JLabel.The preferredSize of the JPanel is greater ...

What are "Duke Dollars" ?

185 byte By kleindinst at 2007-9-26 1:38:06
What meens "Duke Dollars available" ?I`m from Austria and dont speak perfect english.I understand the most things, but "Duke Dollars" ?Wolfgang

about FTPClient

434 byte By ybucher at 2007-9-26 1:38:13
Hi,"list" and "get" methods work well when I'm connected to one server but doesn't work at all when connected to another one: onto that one I can log on without any problems and all functions work using "CuteFtp", but errors come when I try to use "list" and "get" from FTPClient package : ...

JSDKEE over JSDK

230 byte By poweribo at 2007-9-26 1:38:17
i want to install JSDKEE over JSDK installation.how do i go about this? can i just intall it on the same directory (and overwrite some of the files)? can u guys point me to a web help guide regarding this one?

Session tracking in servlets(need re-login)

576 byte By malu4ram at 2007-9-26 1:38:18
HiI am using session tracking in servlets in my application. AFter the login page, i am setting sessionid into session and checking this in every servlet after that for valid session. It works fine. Now i save the url at some point in the middle of application into favourites of browser and ...

Anonymous Inner Classes

1547 byte By mamscw at 2007-9-26 1:38:19
Hi Guys,I have a problem with passing an array into an ActionListener.The relevent program issues are:Module DrawJPanel - this extends JPanel to allow drawing directly onto the panel* public void drawWaveform(int[] waveformArrayModule SynthEngine - this provides sound synthesis using the JSyn ...

Launch Netscape from a java program

379 byte By dshen at 2007-9-26 1:38:20
I used this line to launch Netscape from a java program, Runtime.getRuntime().exec("C:/Program Files/Netscape/Program/netscape.exe"); but there is a IOException. C:/Program Files/Netscape/Program/netscape.exe is where I have the Netscape. Also if I want to add a file to this commande, how ...

problem using JInternalFrame in JDK 1.3

669 byte By goforjava at 2007-9-26 1:38:22
I had an swing Application which was written in jdk 1.2 which used JInternalFrame but now when i compiled and ran that under jdk 1.3 it did not show anything except the main frame. i tried setting layout of main frame to both DesktopPane or others available before but of no use. Then i suddenly ...

how a serlvet program communicate with a c program,...

213 byte By concentrate at 2007-9-26 1:38:24
which are on different computers please tell me to which part of java technology this question belongs ,and tell me some resoures (book or website ,demo is better) thanks!

Form help

68 byte By mtndeva at 2007-9-26 1:38:26
How can I collect the data from a FORM element?

chat program/JFileChooser help

171 byte By del3 at 2007-9-26 1:38:31
Can anyone teach me how to code an chat program?I just need a very basic chat program.Can JFILeChooser call out font and printer dialog?

Multiple input Dialog box

144 byte By JAVA-GUY at 2007-9-26 1:38:36
I want to build a multiple input dialog box (for the user to enter 2 integers and a string, for example)...Any suggestions?

I wonder what is the difference between my own object type and...

383 byte By kkalar at 2007-9-26 1:38:37
Hi all,I have a class/interface called A, now I have seen that I can declare a method of type my class/interface A. But as I am very basic in java I do not understand what is the benefits of doing that. Instead of just declaring my methods of types such as String void etc. I hope you understand ...

Internet search engine

169 byte By 7tr7tr at 2007-9-26 1:38:44
hello iam trying to get the simple Java applet that searches multipleInternet search engines. can any one help mehow to do in simple way....

Can i disable temporary the action listener on JComboxes?

1373 byte By mkreins at 2007-9-26 1:38:45
Hi all,i would be glad if somebody could help me out here.To save the date in a database, i use threeJComboBoxes:jComboBoxYearjComboBoxMonthjComboBoxDay.These 3 fields are filled with the days, months and years at the initialization of a dialogbox by the method:public void ...

about FTPClient ?

457 byte By ybucher at 2007-9-26 1:38:47
Hi,"list" and "get" methods work well when I'm connected to one server but doesn't work at all when connected to another one: onto that one I can log on without any problems and all functions work using "CuteFtp", but errors come when I try to use "list" and "get" from FTPClient package : (I ...

Why FtpClient add 0x00 between 0x0d and 0x0a

424 byte By lyj520 at 2007-9-26 1:38:48
I use sun.net.ftp ftp class upload txt fileWhen i use ascii mode,I want send "abcd\r\n......but in fact send .... 0x0A 0x00 0x0AIf I use binary mode,it is right.my code is.....ftp.ascii();ftp.binary();OutputStream out=ftp.put("test");.......fin.read(b);out.write(b);......Is it Ftp or ...

I wonder what is the difference between my own object type and...

384 byte By sojag at 2007-9-26 1:38:50
Hi all,I have a class/interface called A, now I have seen that I can declare a method of type my class/interface A. But as I am very basic in java I do not understand what is the benefits of doing that. Instead of just declaring my methods of types such as String void etc. I hope you understand ...

how to write XML document into file?

512 byte By th21wu at 2007-9-26 1:38:53
Thanks in advance!I met a problem while I write an application using JAXP, I want to parse a XML document and modify its contents ,but right now the JAXP1.1 doesn't support write the document object back to XML file, from the JAXP tutorial, they says that there is a class named ...

breaks in sound output

1014 byte By gagant at 2007-9-26 1:38:56
i am getting breaks in the sound output.i am reading from a wav file thru an audioinputstream andprocessing the audio(changing the samples etc)then i send the audio bytes to the source data line.there are breaks in the sound coming from speakers..if i do not send the processed sound to speaker, ...

Can I bundle the JRE with an Application...

74 byte By nizh at 2007-9-26 1:38:57
...to avoid having to install the JRE on the target machine?

RAM

132 byte By barrington at 2007-9-26 1:38:58
i am looking to but some extra ram however can anyone tell me how many pins i have how do i find out? 168 144 etc....

strange polymorphism

2162 byte By LuethjeC at 2007-9-26 1:38:59
Hello,consider the following code:class Test2{public void method(Object o){System.out.println("Object Version");}public void method(String s){System.out.println("String Version");}public static void main(String args[]){Test2 t = new Test2();t.method(null);}} In this case the output is 'String ...