35,618 Topics

Member Avatar for
Member Avatar for dannyboy.rizaldo

Hello can i ask,.because i am a student of java programmer i want to asking how to fast learner of the program,.please help me i want to be a proffesional programmer,.thanks,..

Member Avatar for tux4life
0
137
Member Avatar for mumaga

Hello I am trying to write to a text log file for my world of zuul game. I have created a Class Logger to write into the file, here is the code: import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; public class Logger { private BufferedWriter out; public Logger() throws IOException { …

Member Avatar for Taywin
0
11K
Member Avatar for poojavb

Hello Friends, Can anyone tell me how to increment a String variable by 1 in database. Suppose the database table has value as SL1000 and we want the next value to be SL1001. What should be done for such type of requirement in java.

Member Avatar for mrsathishkumar
0
720
Member Avatar for 03hasnam

A person wishes to add a NEW Job to the database. A `Combobox` list the existing employers already in the database for the new Job to be added against. But if an employer is not present customers have the option click on a button to add an employer. Once added …

Member Avatar for DavidKroukamp
0
677
Member Avatar for nigelturk
Member Avatar for geedow

Dear all, This example is compleet ,but wont load the file. Can anyone help me with puzzle?hier is the code: Class ATMWindow import java.io.IOException; import javax.swing.JFrame; public class ATMWindow { /** * @param args the command line arguments */ public static void main(String[] args) { if (args.length == 0) { …

Member Avatar for Taywin
0
205
Member Avatar for Violet_82

HI peeps, I have a question about the following program: TempScale.java: public enum TempScale { CELSIUS, FAHRENHEIT, KELVIN, RANKINE, NEWTON, DELISLE, R�AUMUR, R�MER, LEIDEN }; Temperature.java public class Temperature { private double number; private TempScale scale; public Temperature() { number = 0.0; scale = TempScale.FAHRENHEIT; } public Temperature(double number) { …

Member Avatar for Violet_82
0
234
Member Avatar for sandeepbhatia

I have installed Eclipse Juno. I want to run jsp and servlet program using Eclipse IDE. But while adding new Server of Tomcat, i am unable to do so. In the add new Server option it does not show apache nor do other servers. Please help me how to sort …

Member Avatar for peter_budo
0
134
Member Avatar for CoilFyzx

*I know that this may seem like a re-occuring question, but I can't seem to find anyone who has asked this question in a very succinct manner. They always seem to beat around the bush, instead of clearly expressing themself.* **Here is the situation:** I have an application called S.M.A.R.T. …

Member Avatar for JamesCherrill
1
373
Member Avatar for borix134

Alright Im new to this forum so lets hope this goes well, I have decided to learn Java and I started with the lwjgl, I have the exact class and code as posted here: [lwjgl (display)](http://www.lwjgl.org/wiki/index.php?title=LWJGL_Basics_1_(The_Display)) When I run the code I get an error message that says: `JavaVM WARNING: …

Member Avatar for borix134
0
291
Member Avatar for Blink383

I am trying to create a GUI app were the user inputs an, item name, price, and discount rate. The button should calculate the two numbers and display the discount price. I am stuck on the action listener and making it preform the action/calculation correctly. I am a pretty novice …

Member Avatar for Blink383
0
469
Member Avatar for chira.laura.9

Hi everyone. I have to do a simple Sokoban game, but I am new in Java and I really don't know how to begin. If you can help me with some advices or tutorials I'll be very thankful.

Member Avatar for bguild
0
5K
Member Avatar for agca

Any tutorial step by step yo provide modular application development and dynamic deployment for Net Beans by using OSGi with Felix?

Member Avatar for agca
0
226
Member Avatar for Armanious

**BACKGROUND** There is a heavily obfuscated online applet with encyption (referred to as applet), there is a program (referred to as program) that reads and modifies the online applet for hacking purposes far more obfuscated than the applet, and then there is me. In a nutshell: applet's main class defines …

Member Avatar for Armanious
0
214
Member Avatar for Pobunjenik

This is based on John Conways Game of Life, a simple yet awesome code that simulates life. Rules are simple, if a cell has less then 1 or more then 4 living cells next to it, the cell dies. An empty cell with exactly 3 living cells next to it …

Member Avatar for Pobunjenik
0
342
Member Avatar for bibiki

Hey there, I have a jsp page and a checkbox inside it: <input type="checkbox" name="some" onchange="test()">Check me</input> I also have this function: function test() { out.println("checkbox checked status changed"); } I want the function test to be invoked every time I check/uncheck my checkbox. It is not working. Since I …

Member Avatar for bibiki
0
157
Member Avatar for Toni Rahman
Member Avatar for stultuske
-3
144
Member Avatar for matan2t

Hello im braking my head with a problem, im using netbeans building a web application using java, jsp that handel a database with hebrew fields. String cityTable = "CREATE TABLE IF NOT EXISTS hebrew_test.table (" +"id int(11) NOT NULL AUTO_INCREMENT," +"en varchar(30) NOT NULL," +"he varchar(30) COLLATE utf8_bin NOT NULL," …

Member Avatar for matan2t
0
668
Member Avatar for jeffbeck8

okay I have it almost complete with one issue: When the report runs it is suppose to add up the property values for each agent and only display the total value of the properties. like:COMMERICAL FARM LAND RESIDENTIAL 101 600000.00 105 30000.00 106 200000.00 107 1040000.00 110 250000.00 but for …

Member Avatar for jeffbeck8
0
194
Member Avatar for harinath_2007

Hey all.. Happy new year .. I am insearch of converting the android application(apk) to java desktop application. I dont want to run it in some sort of emulators. I want to convert the apk file into java(J2se) desktop applciation and run it on my desktop. Can you suggest some …

Member Avatar for harinath_2007
0
121
Member Avatar for myethan
Member Avatar for chandub

Hello everyone happy new year to all. i want get length of only fractional part of number in java script function. example if number is 4.321 then length of fractional part is 3. please help me. thank you

Member Avatar for peter_budo
0
125
Member Avatar for Carpetfizz

Hello, After a relatively small C++ background, I decided to learn some Java. I want to be able to pass two variables from my main class, evaluate them in another class, and return that answer to the main class. I have all the code done for it pretty much, but …

Member Avatar for Carpetfizz
0
174
Member Avatar for RaJsHaH.23

[import java.util.Scanner; import java.util.Random; public class HangmanMy { public static void main (String[] args){ System.out.println("Welcome to the game Hangman :)/>"); Scanner input = new Scanner(System.in); boolean done = false; String guess; String guesses = ""; char letter; int wrongGuess = 0; StringBuffer dashes; System.out.println("Choose a category -> places / games …

Member Avatar for corby
0
242
Member Avatar for -acir-

Do you have a sample code suggestion to predict illness to a blood type? Blood type is an input from the user and when the user inputs the blood type it would give you all possible illness for that blood type. Is that possible? Am using netbeans and not sure …

Member Avatar for -acir-
0
144
Member Avatar for Pobunjenik

Hello, I'm Mirza and I'm in the first semester of an IT university. I like to experiment with Java, and occasionally I run into problems. Now, I've been visiting daniweb for quite a while now, and I've always found solutions to my problem, but this particular problem I just can't …

Member Avatar for JamesCherrill
0
431
Member Avatar for jeffbeck8

link to old post shows code: http://www.daniweb.com/software-development/java/threads/440001/output-incomplete-text-file program to: A. Develop an application that reads your listings.txt file, analyzes the property listed per agent, and outputs a report to an agentreport.txt file. Your application should do the following: 1. Prompt the user for the name of the input file (listings.txt). …

Member Avatar for jeffbeck8
0
160
Member Avatar for 03hasnam

I am finding it difficult to update the `JTable` when I enter a person's name in search button. The program compiles correctly without any errors, but in `SearchActionPerformed` event when the search button is pressed an empty table comes up. Where without search, the table is full of values from …

Member Avatar for tux4life
0
559
Member Avatar for shotokanpoloto

I've got this exception after running my project Really don't know what to do! SQLException: No suitable driver found for jdbc:derby://localhost:1527 I've add derbyclient.jar to Library.but I didn't get any different result.I also don't want to create a new database. I wasn't able to attach it here but here are …

Member Avatar for shotokanpoloto
0
569
Member Avatar for dwivid

Hello everyone.. I want to learn JSP. But don't know any online portal for study about JSP. If any one knows any place where i can learn JSP. where i can learn without any charge. Please make it shre with us.

Member Avatar for papercupmachine
0
125

The End.