32,200 Topics

Member Avatar for
Member Avatar for dajiebuda
Member Avatar for LSPUWILLC

Hello everyone! The other day as I was surfing the net I came accross this Java Game on this web page: [URL]http://www.bosanci.net/ljubav.php[/URL] *It is a foreign language and it is a "Crush Calculator" - It asks you to type in a male name in the first string and a female …

Member Avatar for The Dude
0
240
Member Avatar for teritori

hi everyone.I'm a beginner in java and i'm trying to create a full screen applet without any success.Any help will be appreciated. :D

Member Avatar for jwenting
0
146
Member Avatar for nirmalaravi

Hi all I need a java application to be developed for Game of Life without using applets by using only arrays thanks in advance

Member Avatar for iamthwee
0
78
Member Avatar for j3p0yz

illegal starts of expression. public check() at line 50. can anyone hepl me please. class waiters { private double tab; public waiters(String name); { System.out.println("my name is"+name+",i''ll be your waiter!"); tab = 0.0; } public double priceof(String s) { double price; if(s.equals("chicken")) {price = 5.95;} else { if(s.equals("burger")) {price = …

Member Avatar for Ezzaral
0
87
Member Avatar for anibio

Hi, I want to know how can I capture the system date using a java program. I want to run this code automatically when the system is login. I want to capture the system date even if the user change the system date. Kindly waiting for your suggestions Thanking You …

Member Avatar for anibio
0
87
Member Avatar for icesnow

public class GradeSystem { public static void main (String args[]) { ........ public int searchStu(int id){ // problem happen int i=0; for (i=0; i<4; i++) { if (student[i].getStudentID() == id) return i;} return i;} int id; boolean d; id = Integer.parseInt(JOptionPane.showInputDialog("Please input ID number : ", JOptionPane.QUESTION_MESSAGE)); d = Student.isStudent(id); …

Member Avatar for j3p0yz
0
195
Member Avatar for msi_333

This a problem i faced .When i made applet the access file i faced the following exception: [INLINECODE]java.security.AccessControlException: access denied (java.io.FilePermission text.txt read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) at CheckTopScore.<init>(CheckTopScore.java:30) at MainFrame.<init>(MainFrame.java:200) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native …

Member Avatar for msi_333
0
178
Member Avatar for arunprashanth

hi im new to our community. im running jsp application in jboss server 4.0.4. in that without specify the port no? can i run the application is possible? send replay thanks in advance arun

Member Avatar for jwenting
0
223
Member Avatar for krish20

i want to make calendar with date and time my client asked me to do it within 5-6 days of time i am working on it. it seems it takes more time do it.where can i get free calendar applet to instantly put on my client website this is just …

0
39
Member Avatar for mody2007

i want to implement a special symbol like (integration symbol )in java i want a complete example that i can excute it

Member Avatar for iamthwee
0
119
Member Avatar for amtallah

hi, please i want learn java applet ,but i do not have any link to get correct start , i make search on this topic but i want to link include java applet from A to Z . thanks

Member Avatar for Ezzaral
0
102
Member Avatar for Fungus1487

is there any available free calendar swing components available or am i going to have to make one from scratch?

Member Avatar for stultuske
0
95
Member Avatar for Phaelax

Which would be the preferred, or more efficient, way to read in a 40mb XML file? I remember reading (awhile ago) there were different methods of parsing XML, some more efficient than others depending on the need. The entire file would eventually need to be loading into an array, so …

Member Avatar for jwenting
0
94
Member Avatar for student_1

Hi every body I am a second year computing student and I was lately thinking about project ideas but couldnt figure out a good one. I have recently started java only in my second year and I was thinking developing a web application ( may be auction site ) for …

Member Avatar for jwenting
0
77
Member Avatar for ssimkhan

i need to enter commands in one line using delimiter "&" (ampersand) or ";" (semicolon),using one type of delimiter in a line. e.g "cat&cp&rm" or "cat;cp;rm". Both should not be used in one line e.g "cat;cp&rm", when this happens the system exits. I've tried the code below using Split method …

Member Avatar for ~s.o.s~
0
115
Member Avatar for rdhiravani

Hi I have a method, which is called more than 50 times a second. I have multiple(more than 10) individual variables of different data types initialised in that method & in last part of the method, a single String is returned appending the value of all variables (with conditions on …

Member Avatar for jwenting
0
133
Member Avatar for rahul_sharma

hi all [B]i m facing an hibernate error in my application using mySql5.0.3 as a data base and net beans 5.5 ide [/B] my application is running very properly but when i loging in next morning it displays the [COLOR=#000000][B]org.hibernate.exception.JDBCConnectionException: could not execute query[/B][/COLOR] and also [COLOR=#000000][B]Connection was closed due …

Member Avatar for ncton
0
113
Member Avatar for pabz_sarquilla

Hi to everyone! I want to learn java ... can anyone suggest books to study, like the one we have in C++. thanks in advance.

Member Avatar for pabz_sarquilla
0
99
Member Avatar for kahilw

basically what I am trying create a servlet that will receive the bytes that are being sent from the MIDlet. I have pasted my function that is sending the bytes from the MIDlet so we can be on the same page. If anyone can help please email me at <snipped> …

Member Avatar for hussulinux
0
103
Member Avatar for Sp!ke

This is a really strange bug... I'm doing a 'game' of sorts for Computer Science, and it works wonderfully. We have a main method that initializes things and starts the game loop. The game itself works when GUI.java is executed. Every method call in the main method is static. Now, …

Member Avatar for hussulinux
0
97
Member Avatar for alpha_gamma

Hello, I am a C++ programmer who just got an associates degree. I went for an interview yesterday and did very well on a C++ technical interview. The company actually deals partly in recruiting and part application development. The interviewer told me that it would be a good idea to …

Member Avatar for jwenting
0
97
Member Avatar for ssimkhan

I'm trying to do an assignment to implement a unix shell and run commands using java. commands include read file, copy file, remove file and find substring in a file. I have managed to create the file and try out all commands individually but I've failed to run the threads. …

Member Avatar for Ezzaral
0
220
Member Avatar for katerinaaa

Hi, I would like to help me with a problem I have. I want to make a program that tokenize the text of an input file and create a new file with all the words (one word per line). Because in the input file there are numbers, html tags like …

Member Avatar for Ezzaral
0
170
Member Avatar for Jishnu

Hi everybody, I'm new to Java language & was previously working with C++. I'm totally confused as to what is the mechanism of passing variables having 1) built-in datatypes 2) array datatypes 3) user-defined objects as datatypes to any function. Is it pass by value or reference ? If arguments …

Member Avatar for jwenting
0
116
Member Avatar for 4zlimit

I am trying to store information then retrieve it on my program. I know I have to use a class and a constructor. The problem is that my text doesn't have any good examples that I can view. I am truly lost. I am not sure 1. where to build …

Member Avatar for stultuske
0
215
Member Avatar for 4zlimit

I have been trying for two days to figure out how to use a loop in my program. It is the ever dreaded payroll program. I can't seem to get the program to start over once the program goes through each question. Can anyone point me in the right direction …

Member Avatar for 4zlimit
0
143
Member Avatar for CodeMasterFlex

I'm trying to write a Btree remove method in JAVA I'm having trouble combining my nodes and then recursing up through the parent does anyone know where I can get some info about this online?

Member Avatar for jwenting
0
219
Member Avatar for shriyash134

Hi.. I have parsed a XML file with the DOM parser. I need assistance in reading the parsed content ...and then preform actions in my java program accrodingly.. Now what i have to do is print some text depending on the value that is ther in the xml element. for …

Member Avatar for jwenting
0
105
Member Avatar for fahad

Hi, I want to sign an email through some java API using a digital signature ,IF anyone of you can help me or give me a refrence to such API, that wil be nice and as always its a bit urgent :)

Member Avatar for peter_budo
0
88

The End.