32,204 Topics

Member Avatar for
Member Avatar for kinjal1717u
Member Avatar for verruckt24
0
328
Member Avatar for firebike0

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 …

Member Avatar for firebike0
0
265
Member Avatar for srs_grp

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 …

Member Avatar for puneetkay
0
130
Member Avatar for mercury113

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 …

Member Avatar for puneetkay
-1
77
Member Avatar for rude04

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 …

Member Avatar for rude04
0
206
Member Avatar for abhi_elementx

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...

Member Avatar for gambling
0
174
Member Avatar for JamieC90

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 …

Member Avatar for javaAddict
0
213
Member Avatar for mercury113

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 …

Member Avatar for mercury113
0
175
Member Avatar for ezkonekgal

can anyone clarify to me what this means? it's kind of comfusing..:) [B]linked stack embedded in a sequencial vector[/B]

Member Avatar for masijade
0
192
Member Avatar for hypocrisy

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 …

Member Avatar for masijade
0
190
Member Avatar for hany-h

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(). …

Member Avatar for puneetkay
0
330
Member Avatar for ankur_maniya

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 ...

Member Avatar for verruckt24
0
84
Member Avatar for abhishek.reddy

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.

Member Avatar for verruckt24
-1
87
Member Avatar for Alishaikh

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?

Member Avatar for javaAddict
0
135
Member Avatar for caps_lock

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 …

Member Avatar for jbennet
0
255
Member Avatar for aznlover

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 …

Member Avatar for puneetkay
0
226
Member Avatar for ianmoticon

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

Member Avatar for peter_budo
0
88
Member Avatar for mandar2886

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 …

Member Avatar for puneetkay
0
63
Member Avatar for srs_grp

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 …

Member Avatar for ~s.o.s~
0
126
Member Avatar for JamieC90

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 …

Member Avatar for JamieC90
0
180
Member Avatar for seeker_89

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 …

Member Avatar for stultuske
0
98
Member Avatar for javaman2

how can i loop a whole code and make it repeat until the user wants to stop.

Member Avatar for javaAddict
0
112
Member Avatar for javaman2

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 …

Member Avatar for stephen84s
0
103
Member Avatar for christiangirl

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 …

Member Avatar for christiangirl
0
107
Member Avatar for christiangirl

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!

Member Avatar for ddanbe
0
93
Member Avatar for PhiberOptik

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 …

Member Avatar for stephen84s
0
134
Member Avatar for efus

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 …

Member Avatar for javaAddict
0
98
Member Avatar for javaman2

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 …

Member Avatar for hypocrisy
0
108
Member Avatar for linggs

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 …

Member Avatar for stultuske
0
219
Member Avatar for omeralper

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 …

Member Avatar for omeralper
0
196

The End.