473,614 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
41
3,179
thread by: sukatoa | last post Jun 14 '08 by: sukatoa
This is for my friend. He is a HRM student and was assigned to demo on how to operate a Simple Hotel front-desk system. I've searched on the net to help him, but all of those freeware softwares are difficult to handle and manipulate..... My last option is to create a program for him. Easy to deploy and no hustle to maintain version....
42
9,677
thread by: Steven O. | last post Jul 17 '05 by: Thomas Smith
I am seeking some kind of tool that I can use for GUI prototyping. I know how to use Visual Basic, but since a lot of software is being coded in Java or C++, I'd like to learn a Java or C++ -based tool. Back when I took my Java and C++ classes (two or three years ago), the available tools -- at least the ones I could find -- were still not as...
43
2,005
thread by: JosAH | last post Jun 26 '07 by: sumittyagi
As everybody knows (or should know) the following is useless: private static int x= 42; ... x= x++; The value of x will stay 42. Or does it? Have a look at the following little experiment and try to figure out what is happening:
45
5,350
thread by: SuperDuper | last post Oct 8 '07 by: JosAH
hello there, im trying to create some java code that spits out a board of 5 rows of sticks, each one with it's corresponding number. (Row 1 = 1 Stick) Like so: | | | | | | | | | | | | | | | Then it needs to ask Player A to choose a row, and how many sticks to remove from that row ONLY. Then Player B takes a turn.
46
2,996
thread by: Polar | last post Jun 18 '07 by: Polar
Hi everyone! Anyone here knows what is Java Applets?
47
11,442
thread by: araujo2nd | last post Oct 13 '07 by: JosAH
Originally Posted by araujo2nd my name is andre, im from south africa, i was wondering if any1 could help me with a hangman application, im now in grade 11 and have a huge portfolio piece to do by the 15th which i have just started now, i have always struggled with java and would rele appreciate all the help that i can get. Pls could some1 help...
47
3,993
thread by: Energizer100 | last post Dec 10 '07 by: BigDaddyLH
import java.util; public class Compact { public static int randomArray (int n) { int a = new int; for (int i = 0; i < a.length; i++) { a = Math.random();
48
8,460
thread by: Joseph | last post Jul 17 '05 by: perry
Hi I'm writing a commercial program which must be reliable. It has to do some basic reading and writing to and from files on the hard disk, and also to a floppy. I have foreseen a potential problem. The program may crash unexpectedly while writing to the file. If so, my program should detect this during startup, and then (during...
48
4,584
thread by: shana07 | last post Feb 14 '07 by: shana07
Hi again, would like to consult about List problem. //start code java.util.List ifs = new java.util.ArrayList(); // we're in the 'getMonitor' method Instruction insn = jvm.getLastInstruction(); ……… ………
48
3,342
thread by: shana07 | last post Apr 19 '07 by: r035198x
Hi, I am trying to write my output into a text file using FileWriter. I have about a thousand entries in my ArrayLists. So what happen is it just prints out the last entry. I've gone through couple examples from web about FileWriter, it involves with looping for. Could anyone please teach me how to get it printed all entries in line. Please...
50
5,586
thread by: r035198x | last post Jul 25 '07 by: r035198x
Post comments and questions on the java classes in this thread.
54
17,385
thread by: Spammay Blockay | last post Jul 17 '05 by: F
I've been tasked with doing technical interviews at my company, and I have generally ask a range of OO, Java, and "good programming technique" concepts. However, one of my favorite exercises I give interviewees seems to trip them up all the time, and I wonder if I'm being too much of a hardass... it seems easy enough to ME, but these guys,...
57
13,327
thread by: Need help54321 | last post Jun 6 '07 by: blazedaces
Ok hes the thing u no public class thats how i gotta make it in JCreator and i dont even no where to start if anyone could give me some pointer or make the code and i use bits and piece That would really help that would be Great Thanks!! ps its in JCreator and i a real new at this so if you do make it with code try and make it easy like only 1-3...
58
6,356
thread by: blknmld69 | last post Sep 16 '10 by: Oralloy
My program works reading from values that I have stored in an array for valid account numbers. I also have a file that reads the valid account numbers from a text file. I need to read from the text file and not the array. reads from array import java.util.Scanner; public class ChargeAccount { static int...
59
32,785
oll3i
thread by: oll3i | last post Apr 8 '07 by: JosAH
how to check if an object already exists and return reference to that object
60
10,430
thread by: sang | last post Apr 2 '07 by: MMcCarthy
Hello i have a doubt in string count with the sub string. the main string is "java,mysql,jsp,java,html"; the sub string is like this "java,mysql" The output is like this java 2 mysql 1 that is count the no of occureience of the sub string .
67
22,980
thread by: hollywoood | last post Jun 1 '07 by: mistb2002
I am trying to add the Delete button, save and search buttons. I have tried to call my teacher and he is absolutly no help and i have read and reread the text but still have no idea what is going on.........I have the added the add button but now i am stuck. Is there a simple way in completeing this?? Please help • Due Date: Day 7 forum •...
67
3,694
thread by: Dlangdaman | last post Jul 13 '07 by: blazedaces
Its been a while since I have had Java..I am getting stuck tying to write a program that will add up grades and give and average...and throw an exception when a grade below 0 is added or above 100....can anyone spin me in the write directions?
72
6,927
thread by: Wim Vanhoof | last post Jul 17 '05 by: Shemp
Dear all, I would like to announce that the department of computer science of the University of Namur, Belgium, is seeking a post-doctoral researcher for a one-year fellowship in the area of (logic-based) program development, analysis and transformation.
73
7,977
thread by: RobertMaas | last post Jul 17 '05 by: RobertMaas
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities as a standard portable part of the core language, the LISP package, and the java.lang package, respectively. Both have big integers, although only...
109
25,774
thread by: zaidalin79 | last post Jul 5 '09 by: Nepomuk
I have a java class that goes for another week or so, and I am going to fail if I can't figure out this simple program. I can't get anything to compile to at least get a few points... Here are the assignments... 4. CheckPoint: Inventory Program Part 1 • Resource: Java: How to Program • Due Date: Day 5 forum • Choose a product that lends...
198
18,249
thread by: Michael N. Christoff | last post Jul 17 '05 by: Greg Gauthier
Java, the software developed by Sun Microsystems in the mid-1990s as a universal operating system for Internet applications, gave NASA a low-cost and easy-to-use option for running Spirit, the robotic rover that rolled onto the planet's surface on Thursday in search of signs of water and life. ...
216
14,093
Dököll
thread by: Dököll | last post Jul 12 '08 by: Dököll
Hello Dudes and Dudettes! I am excited to announce I am embarking on a new Journey, JAVA baby. This is a new arena for me, hope I survive and able to muscle through it. Will post articles within three months from now. Wish me luck! Köll

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.