32,204 Topics
| |
i have to submit project in java....next month..... please help me..... | |
help would be appriacted - i usually do that on a ENITRLY different file but i have no clue how to describe the INT's for a different file - note if you didnt read its supposed to be for teleportPet_process() which if you want to look at that code its … | |
We have 3 classes.In first class,we have a content pane and we have created object of second class on it.In second class,we have added a few textfields.We want that all these textfields of second class should be visible in third class.Third class also has its own GUI components(textfields). But the … | |
i have this code in java... my first combobox when u choose letter a will be correct... but how will apply in the other combobox that when u choose it... the letter b will be the correct answer?? plzz help me... import javax.swing.*; import java.awt.*; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; public … | |
how do you make a jframe transparent?...i need to add a png or gif image in the frame..so when i run the program it will only show the image..and the image would float in the desktop.. i also need to add a few components like JButton.. i want the frame … | |
Hi folks, I want to access Oracle 9i table "emp" in Java... I do not know what driver to use .. The name of the Oracle database under which "emp" falls is "Oracledb" I do not know what the connection string is? Pls help... | |
Can someone explain to me what this is? I have been asked to code a tic-tac-toe board using an array which I have done, but the brief specifies using standard input, and I have no idea what that is, but I'm guessing does not include changing the values of the … | |
i have this code in java swing... im getting an headaChe thinking what to do... how do i add events in my ComboBox?? wHat i want is that when i sElect a comBoBox iT will tell wether the one you selected is correct or wrong... then the comBoBox will be … | |
can anyone clarify to me what this means? it's kind of comfusing..:) [B]linked stack embedded in a sequencial vector[/B] | |
hii every body how are you? in fact, i am a beginner in java programming and i do my best to improve myself in this language so i tried to solve many exercises to confirm that i have no difficulty with this language. I solved this question but i had … | |
Hi everybody, I have a Jtable and i am going to add an empty row after pressing a button named insert. Whenever i put these following code in my class ,it works properly. I should add after these 2 lines i create a JScrollPane and add it to the getContentPane(). … | |
hello. readers.... i am computer student last year... i want help from you...that i need some projecy defination which is ni java...please help ... | |
Guys I am positively freaking out in excitement. Guess what Sun Microsystems is bringing its top innovators to India on February 18-20, 2009 at HICC Hyderabad at a worldwide developer conference organized by Sun Microsystems, named “Sun Tech Days”. And that includes James Gosling, the father of JAVA. | |
I have attached the file with the sorts. I have to show 2 sorts insertion, and selection sorts demonstration in bars. I should show the position of the bars after each run. How do i go on about doing that? | |
So i've downloaded netbeans, and had a play around. But I'm thinking is Java the wrong language to design a duplicate file scanner. The program if not obvious should hopefully atleast identify any files that exist on a computer more than once (copies). Im also going to try and make … | |
K, well, I'm kind of screwed right now, I am supposed to make a game by using java, and this is all like minor stuff. The code so far, and I have little idea of what I'm doing. I want to make it so that when you click in a … | |
Hi. I'm new to Bluetooth programming. I really just want to get my phone talking to my PC via bluetooth, using some form of Java. Does anyone have a very simple "hello world" style sample that I could use? Many thanks in advance, Ian | |
I got this error: javac AudioConverter.java .\Converter1.java:55: cannot access jlc bad class file: .\jlc.java file does not contain class jlc Please remove or make sure it appears in the correct subdirectory of the classpa th. jlc j=new jlc(); jlc is one class which I have to call in another class … | |
Hi!! I want to insert byte array in database schema as follows: table message { msgid number(5), messagevalue BLOB }; I have done this in following way But I am getting NULL pointer exception. //byte[] msgval .. contains byte values like 49 50 53 etc. Blob msg; msg.setBytes(1,msgval); // for … | |
Hey all, first post, hope I'm not doing anything wrong I'm taking a Java module next term at university, and in preparation, they want us to code two things. They reckon there's a help file up on their intranet but the intranet is very unstable, and doesn't seem to handle … | |
i'm making a simple program that will accept 7 input using JOptionPane i'm found out that JOptionPane has been used 7 times i want to transform in function i make it but i encounter an error. [code] import javax.swing.JOptionPane; public class SevenWord2A{ public static void main() throws NoSuchMethodError { String … | |
how can i loop a whole code and make it repeat until the user wants to stop. | |
how can i set a boolean to put in an if else statement with the following code if((Math.abs(x)==1)&&(Math.abs(ex)==1)&&(Math.abs(exx)==2))//test for straight System.out.print("Straight"); if((cardSuit==0)&&(cardSuit2==0)&&(cardSuit3==0))//test for flush System.out.print(" Flush "); i want to set a boolean straight and boolean flush to put in another if else statement like so if(straight && flush) System.out.println("Good … | |
Hey, I am tutoring this kid in java and he has to use TurtleGraphics and BreezySwing, neither of which I have used in a while. I am having trouble figuring out some of his problems. I will post both his code and how I altered his code. I am wondering … | |
Hey, I need to download the TurtleGraphics package but am having trouble findng a place to dwnload it from, I tried a couple of places but they did not work. Do you know of a good website to get it off of? Thanks! | |
Hey guys, I am trying to get some code to interpret a parameter determined by a JAR file. IE. [ICODE]C:\user\myProgram.jar 500[/ICODE] I want to know how to transfer 500 over to the program. I googled it, and most of the stuff that came up was extremely difficult to understand. Thanks … | |
I am trying to learn some oop in java. What I am trying to do is building a binary tree to convert an ekspresion in reverse police notation to infix notation. The problem is that I have three classes, one abstract called [b]ArithmeticNode[/b] which represents a general node, a class … | |
hey again i've fixed my code a little and need a little help. I've got the flush and one pair determinations to work but the three of a kind, straight, straight flush and royal straight flush are giving me a little trouble. If anyone has any suggestions, i would really … | |
Hi there, I know I should not be doing this. But I really some readymade java codes on currency converter working on eclipse program. It is a part of my assignment. But my java really cannot make it, so is there any kind soul to help me? Please. Anyway, I … | |
We can convert any kind of numbers to binary string. For example 20501487 can be converted into binary String format as 1001110001101001111101111. However I cannot reconvert this binary String into any number format, even long or float numbers due to NumberFormatException, where the numbers are very big to convert. I … |
The End.