35,617 Topics

Member Avatar for
Member Avatar for Ghost

In java, how do you input something from the keyboard - the standard way(don't import anything - or add a file) Thanks!

Member Avatar for Ghost
0
111
Member Avatar for sundeeppro

sir, I am presently studying in final year and I am saspiring to do a project in java so please guide me by giving a well explained material on java applets and their connections with servers like jsp,apache and others

0
75
Member Avatar for nn_tiwari

hi guys i want to recursion in such a manner that i put menu name in properties file and i want to add theire respected sub menu. e.g. menubar = file edit help file = New Open Save Exit edit = Cut Copy Paste help = help help = about …

0
69
Member Avatar for psylocke

here is my program and hope u could help me solve my problem on how to repeat this whole game program when the player chooses the the Yes button which indicates that he'd like to play again. [CODE]a:\master1.java[/CODE]

Member Avatar for psylocke
0
161
Member Avatar for psylocke

hey guys, i am on the process of finishing this program it is supposed to be finished already only that I do not know how am i going to repeat the whole game after the user chooses the Yes Button from the message box. i hope u could help me …

Member Avatar for psylocke
0
170
Member Avatar for joebanks

having trouble getting started with a program i need to have an array of objects which will hold name of cd, and 2 dates associated with it. i am new to java and not sure how to begin. i already have a dialog built for it, but i am stuck …

0
106
Member Avatar for nanosani

I want to input a string Suppose the string was : String s = "sani"; Now I want to make "sani" the name of an object of one of the class. Suppose the name of the class is myClass. I want to : myClass sani = new myClass(); Any ideas??

Member Avatar for freesoft_2000
0
209
Member Avatar for axiss

whenever I try to use \t to insert a tab space into one of my Strings it just inserts it as an \t instead of an actual tab space. I have also tries using \u0009, but this one doesn't even do anything. All the other ones (e.g \n ) all …

0
55
Member Avatar for pangs

I am working on a UI on swings. I have a splitpane in which the right pane is again a split pane. I have a text header on the rightmost pane. Now whenever the panel is maximized,the text breakage of the header is not even.The text header comes on the …

0
55
Member Avatar for Sriram Sekar

hai, I had selected a project of converting a project of c++\c code to a java code .For that i searched with the web but i can't get it.I need to know if there is any source code with the web or gave me any ideas to do it. If …

Member Avatar for Stack Overflow
0
128
Member Avatar for mndeaves

Hello there. Can anybody help me with this problem. I am trying to write a program that creates instances of classes that extend JFrame to make my application windows.... This code runs but I can not reference the JTextField shown on the GUI - it seems that there is another …

Member Avatar for apcxpc
0
84
Member Avatar for L. Shelby

I'm spankn' new to java with no previous computer programming experience and I need help with an assignment. The assignment is to write a Java program to direct a cashier how to make change. Input guidelines: 1) Number of dollars due 2) Number of cents due 3) Number of dollars …

Member Avatar for L. Shelby
0
180
Member Avatar for nanosani

What is the difference between jbuilder 7 and jbuilder 9 ... I am using jbuilder 7 .. n I am thinking of buying jbuilder 9.

Member Avatar for nanosani
0
154
Member Avatar for rush88

:?: I got this far....but its not giving me the required output....can you give me some directions....here are my codes....thanks....please refer to my pdf file for the question. //import java.lang.*; import java.math.*; import java.io.*; class MatMulti extends Thread { static int in1[][]; static int in2[][]; static int out[][]; static int …

Member Avatar for cosi
0
147
Member Avatar for perky_jing

how do i make the number of my textfileds dynamic? the number of my textfield depends on the parameter passed through the method `setDetailsPanel(int s)`. the variable s determines the number of textfield i need. i'm having this type of error. i don't seem to get the reason why. D:\Program …

Member Avatar for perky_jing
0
1K
Member Avatar for psylocke

how am i going to repeat my whole game program? i dont know what to do. i have the codes below. and this program is already running, i have compiled it and it has no syntax and logical error, this is mastermind game. my only problem is how am i …

0
74
Member Avatar for mmahesh_23

its not possible for me to create a object in window for example Window obj=new Window(Window owner); or Window obj= new Window(); can u please tell me it is possible to create a windowobject or not directly without using frames

Member Avatar for nanosani
0
142
Member Avatar for freesoft_2000

Hi everyone, I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text selected by the user in the text area and not all the text in the text …

Member Avatar for nanosani
0
101
Member Avatar for calvinnhobbes47

I'm taking AP comp sci and I'm new to JAVA. Can someone help me write this program? [B]Assignment:[/B] 1. Write a program that accepts the letter grades for a student, calculates the student's GPA, and prints it out along with one of the following five messages: Eligible Ineligible, taking less …

Member Avatar for server_crash
0
213
Member Avatar for xxx1203

;) me is doing an assignment using java...but i meet some problem here..it is about hangman games..it is like this: if i click A button it will have to go through all the alphebert, if the 1st alphebert is A it will display 'A'

Member Avatar for nanosani
0
79
Member Avatar for holmberg

I'm trying to add a commission calculator to my new website, and it works properly for the first two of three form entries, but I wish to add a 3rd level calculation. I'm not familiar with javascript at all really, so I have no clue what to add to the …

Member Avatar for heymichelle
0
170
Member Avatar for mkas82

I am a postgraduate student and I have exams in java language..I have some problems with 3 programs.Can anybody solve them for me?Can I send them to someone who loves Java?

Member Avatar for alc6379
0
150
Member Avatar for jak

:sad: When going to compile a program it would not recognise the class object I had created. Since I found no error I checked out some of my previous work and found that no other class objects I have previously created are working either. I have had this problem before …

0
91
Member Avatar for naveen_vt

I have a program i read a single file,but i want to read 2-3 file one at a time can it possible. Pls solve my problem and give me the code. [SIZE=1]undefined[/SIZE]

Member Avatar for nanosani
0
64
Member Avatar for kelvin

i would like to add sound in my java calculator when an error occurs(e.g when operation *and / are pressed).please help me with the sound code.

Member Avatar for server_crash
0
113
Member Avatar for johnroach1985

the program works fine but it gives this java uses or overrides a deprecated API error after i compile the code is below it is a program that uses sql the data base is northwind.I hope you could help me its a project so any help would be welcomed. [CODE] …

Member Avatar for johnroach1985
0
26K
Member Avatar for server_crash

This is just a general question. I was wondering how you can make programs compile and run quicker? Does it have to do with the primative type you use or what?

Member Avatar for cosi
1
386
Member Avatar for xR3vx

I'm stuck while doing my school's java project. Anyone interested in helping out?? i need a sample on an instant messenging server & client java codes. Do help by showing me a couple of them ? So as to get an idea of how to do my project or start …

Member Avatar for nanosani
0
84
Member Avatar for cosi

I recently bumped into this interesting problem when writing code that used serial port communications. Writing data to serial port fails after ~ 30 seconds of use. Everything works fine for the first 30 seconds or so, then an IOException: write error occurs. I am writing data to the OutputStream …

0
79
Member Avatar for Firsttimer

Hello All, This is my first time taking Java, so I might need quite a bit of help form ya all. Anyways, I have this program that has to be in Applet, and it is comparing two floating numbers. I have to have the program decide which one is larger, …

Member Avatar for CodeMasterFlex
0
134

The End.