32,204 Topics

Member Avatar for
Member Avatar for atom_1993

hi all, ive been trying to do a program on tic tac toe in java i dunno how to use graphics..nor want to use it the problem is..i ve done everything with the program,a small segment of the code called computer_move () is left blank..it is used to get the …

0
52
Member Avatar for manisha

Hi friends. Can somebody help me in develaopnig an eclipse plugin using eclipse itself? I need to create a plugin to add a new wizard inside New Project category. With the help of tutorial, i have just been able to create a plugin which add a new menu to the …

Member Avatar for manisha
0
57
Member Avatar for Dounia

:rolleyes: Hi, Could you please help?? I am tired and confused. I don't what to do any more! I am trying to write a traffic simulation and i wrote some interface and some classes but the main one that has a big chunk of code seems to me like nightmare. …

Member Avatar for stultuske
0
1K
Member Avatar for steven.doyle2

Well there are two parts of code I'm working on, one is a driver for Caesar Cipher and the other is the Caesar Cipher class itself. I can't figure out how to pass the information the user inputs from the driver class to the cipher class. Any help would be …

Member Avatar for stultuske
0
152
Member Avatar for nasherizz13

:) hi guys! im a new member here.. i join here to know about java and othr software development.. im a 2nd yr college in a university here in phiLippines.. im taking BSIT.. i wana ask some help because i cnt undrstand some of the topics in java... Thanx!!

Member Avatar for nasherizz13
0
133
Member Avatar for l_03

hello guyz,,i have confusion anyway,, i have a textfiles (products.txt & cart.txt): "products.txt" inside this text file is Alcohol $12.7 12 Shirt $45.00 34 if i run it to a java file it would be like this actually i already know how to read the file,,and when i output it: …

Member Avatar for masijade
0
112
Member Avatar for planetPlosion

I need to downgrade my java version from 1.5 to 1.3 for a project and I've downloaded the .sh file: j2re-1_3_1_23-solaris-i586.sh I'm not sure how to implement this or if there are any other steps. thanks I'm trying to downgrade to java 1.3 from 1.5 and I downloaded the shell …

Member Avatar for AceofSpades19
0
110
Member Avatar for ubaldoq

i'm trying to do a method like this "String",number of the Character, number of repetisions repeatAtFrontAndEnd("Hello", 2, 1) → "HeHelloHe" repeatAtFrontAndEnd("Hello", 1, 3) → "HHHHelloHHH" repeatAtFrontAndEnd("Hi There", 3, 2) → "Hi Hi Hi ThereHi Hi " if anybody can help me :D

Member Avatar for masijade
0
214
Member Avatar for snoh7

Hi, I have a Uni assignment which requires me to make a Hangman program [B]without using arrays.[/B] I have done this so far: [code=java] //class Hangman public class hangman { private int maxTries=10; //variable to coutn amount of letter guessess private int wordLength; //Retrieves word from words.txt file Scanner fileScan …

Member Avatar for snoh7
0
141
Member Avatar for NotThereAnymore

I am working on an assignment for a class I'm taking. Currently, I have a while loop which takes data from the user through JOptionPane. I am suppose to use a sentinel value (q or Q) to tell the loop to stop. I have my if statement argument working, but …

Member Avatar for NotThereAnymore
0
848
Member Avatar for Tris1

Hi, everyone. For my programming homework, we have to write a code based on the Soundex algorithm that is used by New York State Immunization Information System. Here are the instructions/rules:[url]http://www.cis.temple.edu/~ingargio/cis67/homeworks/homework6f08.html[/url]. My problem is that (besides having no idea what to do) I have an infinite loop somewhere in the …

Member Avatar for Tris1
0
153
Member Avatar for Mooonky

I need to read a text document (with a word per line on it) and extract a word from it to use in a game of hangman. I've been trying to do this for a while, but all I can get is the program to print all of the words …

Member Avatar for snoh7
0
1K
Member Avatar for jadeon77

I am attempting to read data from a comma delimited file. The delimited file reads as follows. [QUOTE]A823,Laser-Guided Scissors,Scissors allow cuts without a pencil and ruler.,17.99 7437,TIX LED Clock,Stylish desk or wall clock uses LED patterns to tell time.,49.99 8DB4,Multi-color LED Flashlight,This bright flashlight illuminates in ten differnet colors.,24.99 A565,Nerf …

Member Avatar for Ezzaral
0
179
Member Avatar for codered152

hi guys i have quiestion. i m using hashmap and now what i have to use hashmap value and put that in the int variable, can u guys help with that. i just need some hints so i can work on that. thank you

Member Avatar for javaAddict
0
133
Member Avatar for arLe20

well,i need to explain each method ofcourse...i have gotten so far with the declaration but nothing else..i even had headache trying to figure out each of these...can you guys atleast give some insights and inputs..??its too complicated.. [code] import java.io.IOException; class MyNode { private int iData; public MyNode(int key) { …

Member Avatar for Ezzaral
0
135
Member Avatar for ttano173

I am currently trying to design a decision support system application that will help students register for classes in given a semester by displaying classes they are eligible for based on prerequisite courses and semester hours they have already taken. The program initially gets the semester hours the student has …

Member Avatar for javaAddict
0
189
Member Avatar for W@n

Hi recently i am working on a binary search tree assignment which require me to get the deepest level of tree using level to level tree traversal. I did it by storing the dequee node into the stack so as to revert the order from the last level to the …

0
70
Member Avatar for marcux

Hi all! I have been doing Java a bit but just been putting my .class files in the same dir. Everything works fine. I have started looking at packages to make a better structure in my projects. I just made a test and didn't got it working. My structure is …

Member Avatar for darkagn
0
95
Member Avatar for mowhawk

Hey, Im writing an interest program for in java and i ahve a question about an easier method to obtain the user input. I have to get the amount the user wishes to input, the % interest, the annual rate (36 months, or 2 years ) and the compound rate …

Member Avatar for stultuske
0
96
Member Avatar for scream2ice

I'm trying to write a program in java...it's actually the famous game of "Knight's Tour" - I guess you're all familiar with it- just for a brief explanation what I have to do is to get from the user the row and the coloumn of the square on the board …

Member Avatar for scream2ice
0
256
Member Avatar for IKnowNothin'

If anyone has an idea for a program written in Java please reply. This is about my degree in cs so I would like to hear many ideas. I've seen many projects and haven't find something :-/ Thanks in advance Alex...

Member Avatar for IKnowNothin'
0
272
Member Avatar for intelli

how do i get random number for 10 to 99 is this right Random generator = new Random(); int num1; num1 = generator.nextInt(99)+ 10; System.out.println(+num1); or or this is right does it go from 0 to 99??? num1 = generator.nextInt(99); System.out.println(+num1); which is the code for 10 to 99

Member Avatar for Ezzaral
0
219
Member Avatar for gangsta1903

a generalized list structure can be declared in C as follows: [code=C++] typedef struct element{ bool sign; union{ char data; element* link; }; element* link; } [/code] as you see in this approach an element can have either "data" or "element* link"(the last link is included in every element) and …

Member Avatar for gangsta1903
0
1K
Member Avatar for bops

Hey everyone, I was just wondering if there is a method as part of the JTree class that would accept a parameter such as an instance of DefaultMutableTreeNode and change the content of the tree with that tree node as the root. I am looking for a method of doing …

Member Avatar for Ezzaral
0
141
Member Avatar for lastmoh1989

i am doing HND in computing and i need to develop a software project; the problem that i have no idea what can i develop. actually if i can find a real world case or areal customer ,i will develop it for him for free; but he should not be …

Member Avatar for stultuske
0
172
Member Avatar for Bunter

hello all ,I have writen a program of LinList with First Node,but i don't kown to write the LinList without the First Node.Who can help me amend from the following program.Thanks ahead!!! [CODE]public class LinList implements List{ Node head; Node current; int size; LinList(){ head=current=new Node(null); size=0; } public void …

Member Avatar for ~s.o.s~
0
139
Member Avatar for QQYee

Hi, i am trying to do a project using Java language and MySQL. In my Java interface, there have a JComboBox which will calling MovieName from MySQL database. After i click on one of the MovieName in JComboBox, the schedule and also the information of the MovieName from the database …

Member Avatar for javaAddict
0
186
Member Avatar for defychaos

Hi :) I'm doing a programming project with development of an algorithm for a quadratic recursive sequence: (3, 3, 7, 11, 19, 20, 32), but I can't figure out which expression to use. I know it's probably got something to do with the differences of n-1 and n-2 being added …

Member Avatar for stultuske
0
85
Member Avatar for krauz2

How can I have a switch command send to a ftp site? Here is what I have. Instead of $to_email is there one for URL? Thanks everyone. Erich switch($attn1) { case 'employees': $to_email = "ftp://myftpsite@rgl-e.com"; break;

Member Avatar for peter_budo
0
72
Member Avatar for moharana_jyoti

Hello sir Can u say me how to retrive data from database and showing the result on the html page.well i have created a user DSN named as new then created a database named as DB n created a table named as information. well i am using sql server 2005. …

Member Avatar for peter_budo
0
49

The End.