1,963 Posted Topics

Member Avatar for shimul_13

You are absolutely right there. I had a course in my university about Operating Systems, which I passed with 8, (10 is the max) and all my code was cheated. I took it from an older student who had the same course. But, to my defense I will have to …

Member Avatar for jwenting
0
102
Member Avatar for freddiecool
Member Avatar for javaAddict

Does anyone know where can I find how to calculate how many days February has for a given year?

Member Avatar for javaAddict
0
294
Member Avatar for narayanabhilash
Member Avatar for g_loughnan

I think that the [CODE] private JPanel imagePanel, numberPad; private JTextField text; [/CODE] have not been instatiated Try: [CODE] private JPanel imagePanel = new JPanel(); private JPanel numberPad = new JPanel(); private JTextField text; = new JTextField(); [/CODE] If this does not fix your problem try to debug and see …

Member Avatar for g_loughnan
0
148
Member Avatar for degamer106

I think is something like: [CODE] roachPopulation.doublePopulation(); lable.setText( roachPopulation.getPopulation() ); [/CODE]

Member Avatar for javaAddict
0
116
Member Avatar for welbyobeng

By the way the formula for the cylinder is wrong. The one you wrote calculates the volume The right is : (πr^2) * 2 + h*2πr

Member Avatar for javaAddict
0
266
Member Avatar for abhi287

I am sorry for not speaking Martian. That's why I don't understand what you are saying. Try to post again your question. With more details and better explanation

Member Avatar for Ezzaral
0
295
Member Avatar for leroi green

First of all you don't instantiate the Triangle inside the main The getArea() is totally wrong. The formula you are using is only for triangles with 90 degrees. The Double.parseDouble throws a NumberFormatException. Use try-catch And you don't declare type inside getType()

Member Avatar for javaAddict
0
276
Member Avatar for palcham

I usually use SimpleDateFormat and Date objects since I am not familiar with the Calendar. Why don't you check them at the sun's API: [URL="http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html"]http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html[/URL]

Member Avatar for masijade
0
488
Member Avatar for javaAddict

Hello everybody. I am javaAddict. I have been a java addict since 2004. I came across this site when I was looking for some java project ideas to implement just for fun in order to kill time (yes that's what I do for fun when I am bored: I write …

Member Avatar for jasimp
0
99
Member Avatar for sunny_b

Do you know what we should do when someone just asks for others just to do their homework? We should do it, tell them that we did it and it's perfect and NOT give it to them as punishment for their being lazy.

Member Avatar for jwenting
0
271
Member Avatar for slayer10

All the subclasses can use the super's class methods. If you write: [CODE] Employee e = new Nurse(); [/CODE] The e will be able to use all the Employee's methods and the Nurse's methods but not the Janitors. Try to put those isSomething() methods in the superclass or have one …

Member Avatar for javaAddict
0
110

The End.