1113 byte By
WirajRa at 2007-10-1 1:09:34
HiI have a problam well its a simple one just have a look at the codeClassOne implements java.io.Serializable{ ClassTwo var;//Holds this variable internally ClassOne(){var = new ClassTwo(this);//initiate internal variable }}ClassTwo implements java.io.Serializable{ ClassOne owner;//holds owner ...
java sound like a really cool programming languagei use to program in c++ back in the day and "javascript" and of course qbasic i am on disability now and would like to learn java since i have so much free timecould anyone tell me where to get started?my friend is going to lend me his copy of ...
Hello again world.Have I mentioned this new forum format sucks large, jagged-edged rocks?Season's Greetings to all.Ciao for now.
16898 byte By
quade13a at 2007-10-1 1:10:09
Greetings to All,I am working on a assignment for school that requires me to write a program that calculates mortgage payments. The current version allows the user to enter the loan amount and then select on of three term and interest amounts that are declared in arrays. I am having a problem ...
99 byte By
Dolphina at 2007-10-1 1:10:27
Hi all,What is Sun Java and Microsoft Java.What is the differenceThanks
After upgrading my Java, I am getting these errors on my fileserver:Time File Name Detected As Detected Type User Process Path 22-Dec-2004 15:29:07 (+01:00 UTC)INSTALLER.CLASSExploit-ByteVerifyTrojankitsmbd/data/profiles/kit/Application ...
Big DilemaI am developing a project in which i m dialing my friends phone number through modem........ and i am able to connect to his pc through the use of Xmodem but the problem is that....when ever i m sending a file the specifiation says that a handshake is to be given.......<C> in ...
604 byte By
thej.pa at 2007-10-1 1:11:41
I have a requirement where depending on a certain criteria a particular row has to be highlighted by setting a different background color to the 'entire' row.I have referred to the examples in the following sites, but they dont seem to ...
461 byte By
ibicema at 2007-10-1 1:11:46
Hi,I run the demo in the javamail-1.2. it worked but there is no mail received.I think the problem is with my smtp server.my smtp was 1st smtp, the program runs but I have the message : invalid adresse receiver.(all addresses : yahoo, private...)I changed it to surgemail wich is pop3 and smtp ...
92 byte By
lioussaa at 2007-10-1 1:12:08
Hello every body,my question is in the title!but i need links thank you
522 byte By
dubwaia at 2007-10-1 1:12:20
I was just reading this: http://www.newscientist.com/article.ns?id=dn6824I'm wondering why they didn't install some sort of dusting device on the solar panels? Sure it would add some weight but it just seems weird to me that they send these things to Mars knowing the solar panels would get ...
273 byte By
poemtrya at 2007-10-1 1:12:42
I heard JavaOS ... like JavaOS for business or JOS etc...but i cannot find any files.Please where do i download JAVAOS operating system...donot http://www.jos.org/ or http://java.sun.com/javaos/ if anyone has the product please link me...
Hello, I have tried using requestFocus , requestFocusInWindow , and using a thread and calling requestFocus using invokeLater , however none of the above methods are putting the focus on the textField. However if I unfocus the window my app is running in , then refocus the window , the ...
help plz
i got a viriable of a double type principal and want to pass it by reference to a method called setDoubleValue(TextField textField,double principle),how can i do that?
I am very new to java and am trying to write a Black Jack program but i have two error messages that i don't understandBlackJack.java:210: 'class' or 'interface' expected}^andBlackJack.java:229: 'class' or 'interface' expected^here is the code if it helps../* * BlackJack */import ...
I have an applet using animation and double-buffering. A very rough pseudo-code is as follows:flag = 1;drawtobuffer(1);flag = 2;drawtobuffer(2);flag = 3;Thread.sleep(100);flag=4;repaint(); paint(Graphics g){system.out.println (flag)g.drawImage()It runs okay, but not smoothly. When I check the ...
195 byte By
sunlnka at 2007-10-1 1:13:30
Can java work like DLLs do?I want to have a java application that dynamically calls functions from other java apps.Is that possible?.. I hope my question makes sense..
Hello !This program is to run 3 threads . Entering 1 or 2 or 3 runs the threads and the program must be designed to start and stop any of the threads through the main() method. It starts the three threads by pressing 1 or 2 or 3 but I can not find a way to stop a loop that is started by any ...
47 byte By
jmyrla at 2007-10-1 1:13:50
Publicly available JRE's other than Sun
i have used following query to retrieve data from database..buts its coming error :[Oracle][ODBC][Ora]ORA-01008: not all variables bound ResultSet rs = statement.executeQuery("select * from sec_mast where sec_no = ? and lf_no = ? ");in this i have used prepared statement and the table name is ...
Hi, what is the difference between Java JRE and Java SDK... i think both of them have the same set of files to be installed... I am not able to understand where they differ
i have used following query for delete a row in the tables.but its not deleting. help meString action = request.getParameter("action");if (action != null && action.equals("delete")) { conn.setAutoCommit(false);PreparedStatement pstatement = conn.prepareStatement("DELETE FROM sec_mast ...
193 byte By
xleybaa at 2007-10-1 1:14:41
HiHow could I send messages to a MSMQ (Microsoft Message Queue) ?Is this possible ?I've checked in Google without success..Thanks in advance<xl>
Hi guys :-)here is a question about threading in java:why is it sometimes NOT Possible to change a class which is Runnable so that it is instead a subclass of Thread?
168 byte By
lioussaa at 2007-10-1 1:15:09
Hello every body and marry christmas for all :)I want to stop my program during 1 second, how can I do that and witch package must I use,thank you.
Hi I need to write a paper about a career that I would like to pursue. Could I interview anybody on this forum?Thanx
377 byte By
annie79a at 2007-10-1 1:15:14
I have been wondering for a long time since I am reading posts on this forum. What are these duke dollars really for? They aren't for real... and guys (maybe gals too) seem to be chasing 'em. There are some really nice posts on duke dollars... but honestly, what would we do with them?Could ...
753 byte By
GoatMana at 2007-10-1 1:15:34
Could someone please help me?I was a programmer in a previous life. My last formal class was in fact, Java2.That was several hard drives ago, it seems...much has happened. However, to my credit I did save my project files.I would like to download a basic java development tool where I can edit, ...
Hi,I'm currently try to read up on data structures such as stacks, queues but don't quite understand how to implement that. Is there any useful links with example that I can read up from?Thanks
Hi, I'm still trying to run a Hello program in java that throws me the next exception:Exception in thread "main" java.lang.NoClassDefFoundError: HelloHello is the name of the program, it has no sintax errors but Im not sure what is it that is happening, hope anyone can help me... and merry ...
1299 byte By
haldaraa at 2007-10-1 1:16:04
Hi Everyone:This is a very strange problem I've been having with my particular SWT application. Everything compiles fine, and even funs fine, but when I do run it, none of the GUI components are actually visible on the display.Here's the code:import org.eclipse.swt.widgets.Display;import ...
203 byte By
anilnga at 2007-10-1 1:16:07
Hi,In my java program, there is a string that contains characters and numeric values. I want to extract that values to different variables in the program. Help me please. Thanks in advance.
207 byte By
anilnga at 2007-10-1 1:16:15
Hi,Thanks for the reply. Actually, my problem is my java string contains spaces. for eg. String s="s 34 45"; after extracting, I want to store s,34 & 45 in different variables
Wehn I run my application I get the following exception:Exception in thread "main" java.lang.ClassCastException: org.cadenhead.ecommerce.Itemat java.util.Arrays.mergeSort(Arrays.java:1156)at java.util.Arrays.sort(Arrays.java:1080)at java.util.Collections.sort(Collections.java:117)at ...
Hi,I dont find javac in j2re1.4.2_06. Can someboy tell me how to compile java through this new version? Also I have java Web start Icon. How to compile java through it. There is a debug menu but I dont understand how to use it for compilation?Zulfi.
Hi every1,This is my first post here. Ive been programming in java for some weeks now (im a student) and half way through writing this code i got this error:"x is not public in Java.awt.Component; cannot be accessed from outside the package"Im not sure what it means and what i need to do to fix ...
3281 byte By
dunayna at 2007-10-1 1:16:46
can someone tell me what is the problem?when using the tutorial I am trying to view the source of a given code ( in the tutorial) but the code is viewed with no LF and CR.(I'm using windows xp).for example: in http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.htmlwhen viewing the code ...
78 byte By
bbrittaa at 2007-10-1 1:16:48
I snuck in the back door http://bugs.sun.com/bugdatabase/login.do
Why is that when I do a readLine() on a text file for some string indicating eg,hello \t \t world \njavaIt does not tag or print a next line.But when I do a String s= "hello \t \t world \njava";It will do so.Can anyone advise me
Hello, I am writing a few classes that i plan on reusing a lot. The classes createchild threads that do ... work. If a exception is cought in one of the child threadsI want to send it up to the caller. I can't declare the run() method of a thread to throwan exception ... so could someone ...
271 byte By
zachvaca at 2007-10-1 1:17:37
I have an applet that I really don't want the user to have to click for a keyListener to work. I executed the statement requestFocus();as the first statement in the start method but at the start I still have to click to get the mouse to work. Thanks
751 byte By
baha at 2007-10-1 1:17:44
I am trying to connect a client to a server (both of them are running on the same machine)Both the "address" and the port have been parsed from a text boxand validated.Problem 1x = new InetSocketAddress( address, iPort );socket.connect( x );This never throws an exception (I know because I am ...
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/ms/samples/SInspe (Unsupported major.minor version 49.0)at java.lang.ClassLoader.defineClass0(Native Method)at java.lang.ClassLoader.defineClass(Unknown Source)at java.security.SecureClassLoader.defineClass(Unknown Source)at ...
hi,when do i use conn.setAutoCommit(false/true) ?I do not use it in order to create a connection..... still my database connection bcomes succesful. what is the use of the above code ? which situtaion it is usued ?
Hi there,I'm running a Java WebStart application in my WinXP SP2.Access violation sometimes occurs in MSVCRT.dll as shown below:## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c47fd4, pid=2596, tid=4484## Java VM: Java ...
8782 byte By
kiwioza at 2007-10-1 1:17:54
Hi All I have almost got this code to work but I am a bit stuck.I would like to be able to set the font just to the text I have selected and not to all the text in the JtextPane.Can any one help me with this ?here is my code....import java.awt.*;import java.awt.event.*;import ...
435 byte By
ibicema at 2007-10-1 1:18:20
hi,I have actually two problems:1- I want to use a button to view files from the disk, to allow the user to choose files to be attached. I have no idea how to do that.2-I am not able to view my mail. my program works but there is always a message from the smtp server : "invalid recipent ...
Hi,I am trying to deploy the .ear using resin 3.0.10. & JDK 1.5 I kept the ear file in deploy directory.[14:13:36.843] com.caucho.xml.XmlParseException: META-INF/application.xml:2: id="Application_ID" is an unexpected attribute in <application>.[14:13:36.843][14:13:36.843] ...
hi, i am interested to learn xml parsing........... i tried earlier but i could not get success.the reason was lack of example tutorial................although there are electric xml, xml parsing using org3 etc etc. but they have API only ( reference ) which contains syntaxes only.i need a ...