Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~797 People Reached
Favorite Forums
Favorite Tags
java x 15
Member Avatar for nljavaingineur

Hello developers, I have a Product class defined. Then have an applet extending this class. This applet lets me key in: 1.Ordered item 2. Quantity to order then display total amount payable for each item ordered plus the total amount of all items ordered. I am learning to use array …

Member Avatar for jwenting
0
104
Member Avatar for nljavaingineur

Hello fellow developers, Does anyone know why I keep getting this error message "illegal start of expression"? I've already checked my braces. They matched. Still.....[This is code for the basic operation of a calculator n my code is as follows] [CODE]public void button2_actionPerformed(ActionEvent e) { applyOperator('+'); } public void button14_actionPerformed(ActionEvent …

Member Avatar for electron33
0
135
Member Avatar for nljavaingineur

Hello developers, Is there something wrong with my code? Im getting the error message saying my method, actionPerformed_Plus cannot be applied to the () in actionPerformed_Plus. [CODE] public void button2_actionPerformed_Plus(ActionEvent e) { actionPerformed_Plus(); //says the method below cannot apply here??? } public void actionPerformed_Plus(ActionEvent e){ if(firstTime) { String firstNumber; firstNumber …

Member Avatar for nljavaingineur
0
93
Member Avatar for nljavaingineur

Hello developers, Im still practising my programming with coding a calculator after some reading on the basics of Java. Could really use a pointer or two here. I wrote a calculate function(calculateResult). The error message I got says that the function cannot be applied on the 'number2' argument. (on line …

Member Avatar for Ezzaral
0
95
Member Avatar for nljavaingineur

Hi everyone, Found a code listing from [url]www.yamaza.com/java/Calc.java[/url] that helps me understand a better way of programming a calculator. Trying to understand this code. Can anyone tell me what does the boolean isFixReg() below mean? Thanks in advance. [code=java] //******************************* // Java script of Calculator // << Calc.java >> //=============================== …

Member Avatar for Jishnu
0
252
Member Avatar for nljavaingineur

Dear fellow developers, Below is code calculating your weight on different planet using Enum type, from the book of Java Tutorials. Can anyone tell me what does `"%"` mean in `"%s"`, `"%f"` and `"%n"`? How does all three managed to get in the for-each loop without being declared explicitly before …

Member Avatar for nljavaingineur
0
118