473,554 Members | 3,173 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.
28
4,891
thread by: robert scherer | last post Mar 8 '08 by: sukatoa
how do i wright a java program that adds the numbers between 1 and 1000 but skips 300 and 500 any help on this matter i would greatly appreciate thank you
29
3,085
thread by: irishgeek101 | last post Jul 17 '05 by: goose
Hi, I am currently employed thanks to the help of an Java / XML IDE that I found from the groups. I was really struggling to get upto speed and my boss have given me 4 weeks to finish an application in Java/XML (which I told him i knew a lot more about than I did at my interview, bad I know but I really needed a job). Anyway I did it...
29
2,769
needhelp123
thread by: needhelp123 | last post May 22 '07 by: needhelp123
Hi all, any body could help in reading integer values from .txt to array list and after transferring the dates from array list to another .txt file there should be two files....
29
7,685
thread by: javaalien | last post Jun 6 '07 by: blazedaces
Kindly please anyone who knows is the any method to know what is the limit of length of a counter? Depsite from initiliazed variable's types (either int, byte, long etc) is there any way for me to check my variable (counter)'s max lenght? Please share the info with me... Thank you in advance.
29
2,732
thread by: shadachi | last post Jul 4 '07 by: JosAH
This is the question?.. can anyone help me?? kinda confused..using JcreatorLe SAmple Output :
29
3,552
thread by: r035198x | last post Nov 13 '08 by: r035198x
Parentheses affect the order of evaluation only, except in one situation. What's that situation?
30
2,734
thread by: Dave Allison | last post Jul 17 '05 by: Warren W. Gay VE3WWG
Oh no, not another "check out my cool new language" posting :-) For about 5 years now, I have been developing a scripting/prototyping language that is now available on the net. It's called Aikido and was born in Sun Labs, but has been released as open source. I no longer work for Sun, but am continuing to use and develop it. The...
30
2,525
nexcompac
thread by: nexcompac | last post Aug 5 '07 by: no1zson
I am getting I believe three erros in this code. I had it running perfect untill I added all the restock fee items. This is what I have so far: import java.util.*; // program uses class Scanner public class Inventory { // main method begins execution of Java application
30
2,266
thread by: carlos123 | last post Oct 3 '07 by: r035198x
Ok I am working on a Hall Pass program for my computer programming class. There are 3 things that I am confused on. 1. Reading a file. 2. Taking that data read from the file and putting it into an array. 3. A way to access the array, and check if it matches what the user inputed (like a login program) This is what the text file looks...
31
2,668
thread by: tamara omar | last post Oct 23 '06 by: r035198x
i want to build a java program that can search for words in a text and can replace word by another one and the interface will be diveded as 1-a large space for a text that is chosen by user 2-a blank for written word 3-find command button 4-finf all command button 5-replace button 6-replace all i think these packages will help import...
31
2,421
thread by: ivannavi | last post Mar 2 '07 by: ivannavi
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { String Temp = jComboBox1.getSelectedItem().toString(); testcomm.TestForm.WriteParamToPic("c"+Temp); } public static void WriteParamToPic(String ParamIn) {
32
7,151
thread by: jamieexley | last post Mar 25 '08 by: jonjon0688
what are the parameters needed in the constructor call below to create a Date variable whose intitial value is the 15th of March 2004????
32
3,824
thread by: falconsx23 | last post Nov 11 '09 by: falconsx23
I am making a game called Set, it is a card game: here is a brief description of the rules: The game of Set is played with 81 cards, each of which has 4 properties (number, pattern, color and shape). The number of objects is 1, 2, or 3. The 3 possible patterns are solid, striped, and open. The 3 possible colors are red, green, and purple. The...
33
31,023
thread by: kenvin100 | last post Oct 24 '06 by: r035198x
hi im new here and to java..im supposed to output a receipt that aligns the prices to the right. Since im new, i only know the basics. I was given a clue on how to do this: Strin someString = "Hello there, kenny."; int numChars = someString.length(); so basically i need to find a way to align prices to the right, keeping in mind the length...
33
2,555
thread by: r034802n | last post Nov 22 '07 by: r035198x
A Judagrali series: Find the 4th prime number N such that N=NumberOfDigits(Q) where N is prime AND Q is prime AND where Q=2p-1 where P is prime. Example the 1st prime number N is 2, because 2=NumberOfDigits(31) because 2 is prime and because 31=2^5-1 and because 5 is prime. We are looking for the 2nd,3rd, 4th prime number N in the Judagrali...
34
3,621
thread by: soty | last post Mar 26 '08 by: Navdip
PLEASE I NEED HELP ON THIS CODE. I'M TRYING TO WRITE A CODE ON VENDING MACHINE. BUT FIRST OF ALL I NEED TO PUT PICTURES ON THE BUTTONS THAT I'M USING. THE ThING IS I'M HAVING ERRORS WHEN USING THE SETICON. this is my code below....... (i jus want to put pictures on button before i proceed with the code.) thanks
34
5,172
oll3i
thread by: oll3i | last post Sep 13 '13 by: oll3i
Hi, I get org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "f" root cause in the below code String f= request.getParameter("f"); int from = Integer.parseInt("f");
35
4,778
thread by: THOR88 | last post Aug 10 '05 by: DVH
IS THEIR A JAVER SCRIPT THAT WILL RITE SEIG HIEL 88 TIMES ON MY E-MALES???IF NOT CAN YUO RITE ONE PLEASE???
35
9,920
thread by: rents | last post May 29 '07 by: JosAH
I'm using Netbeans as a complier. I have to work on a project where a user can determine how many days are in each month in a particular year. I already know how to prompt the user to enter their choices, but I'm feeling a little confused on how to set up the calculations. I would assume I would have to set the months in a string? each month...
35
3,603
thread by: sukatoa | last post Sep 15 '08 by: chaarmann
I have a subject that covers JSP(new to me), accessing database through JSP(new to me), applets, UML(also new to me) So, as im learning java, all i did to learn faster is i've created some applications(with sense). With my style of self learning, i hope it could be effective in JSP too.... I like to be advanced on the planned topic to be...
35
42,993
thread by: ValValVal | last post Oct 15 '11 by: tezzer
Please sorry for my dumb question but I cannot find information on how I can change settings so that in NetBeans 6.1 I can edit blue guarded areas. I read in FAQ NetBeans Wiki: FaqFormEditingGuardedBlocks that I had to change something in Properties->Code ,but I really can't figure out what this should be. Thanks in advance.
35
6,211
thread by: PreethiGowri | last post Feb 11 '14 by: kuat
Can somebody explain me what does Java Result: -1073740791 mean. I had a code which used to send data that was saved in my mysql database, through ethernet using UDP protocol, everything worked fine until i sent fewer data(25 rows), when i started sending data in huge amount(100 rows) it used to display Java Result: -1073740791 and would stop the...
37
7,579
thread by: shana07 | last post May 22 '07 by: prometheuzz
Hi..can I ask one question about readLine()? By having such below codes, I can get it to read first 200 lines out of 500 lines in an output file. for(int ind=0; ind<200;ind++) { String lineA = ""; lineA = inputA.readLine(); How to start readLine() at line number 200 until 500...
38
4,182
thread by: JenniferT | last post Feb 5 '07 by: r035198x
OK, so I'm very new to Java programming and I've been able to squeek by so far, but I'm completely stuck on this assignment. Here is the assignment that is due this week - • Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time,...
38
3,050
thread by: falconsx23 | last post Feb 22 '09 by: JosAH
I am supposed to be makig a calendar program that will eventually allows the user to insert a number and the date will come up according to that number. But before we do that I need help from someone to give me small steps until we get it working correctly. This calendar program is supposed to have a number of if then statements. Here is my...

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.