1,522 Posted Topics

Member Avatar for tilemarron
Member Avatar for selvaganapathy
Member Avatar for kevrod79
Member Avatar for solutionquest
Member Avatar for cambridgegal300

You don't have a class to put your methods in. That would be a good place to start. Also [CODE]Random generator = new Random;[/CODE] It should say [CODE]Random generator = new Random();[/CODE] Your while statement at the bottom doesn't do anything.

Member Avatar for cambridgegal300
0
101
Member Avatar for bharat.bhushan
Member Avatar for pramod purohit
Member Avatar for Wills66
Member Avatar for fxt
Member Avatar for benef
Member Avatar for mustafaneguib
Member Avatar for Visualogic
Member Avatar for vanessia_1999
Member Avatar for ritesh_virgo
Member Avatar for ttucker68
Member Avatar for ultimatezero

Well I don't know what you mean by hacker. If you mean someone who is on the wrong side of the law, cracking into other people's systems then Daniweb is not the place for you. Your statement in your post is very childish. It made me instantly dislike you and …

Member Avatar for zandiago
0
64
Member Avatar for c4sper6
Member Avatar for tubatsimoloi
Member Avatar for PetrosEklesia
Member Avatar for BruenorBH
Member Avatar for lisheen
Member Avatar for kbehemoth
Member Avatar for techbound

It does always amaze me that almost every Geeks Lounge thread always has visitors viewing it; as I write this one has five. Especially in the posting games. When I am viewing them and I see that a visitor is viewing "counting lessons" it makes me wonder if they actually …

Member Avatar for Salem
0
195
Member Avatar for Ancient Dragon

This wombat story sounds very funny. I wish I had been here.

Member Avatar for jbennet
0
67
Member Avatar for dlightfoot15

This should get you started. I hope you will realize you need a little more than that but you can probably figure it out. [CODE]int [] xcoords = { 1,2,3,1} // example int [] ycoords = {1,2,3,1 } Polygon triangle = new Polygon(xcoords,ycoords,number of points); g.setColor(Color); g.fillPolygon(triangle);[/CODE]

Member Avatar for jasimp
0
149
Member Avatar for Taker

He means don't declare your variables (if they have an access modifier like protected) in a method. Declare them outside of it. [CODE=java]public class GUINew extends JDialog implements ActionListener { protected JButton ok; protected JButton cancel; protected ButtonGroup type; protected JTextField bid; protected JTextField name; public static void main (String …

Member Avatar for blufab
0
116
Member Avatar for RitaE

[QUOTE=>shadow<;592126]jbennet = god[/QUOTE] Sucking up to Daniweb's top poster ;)

Member Avatar for jbennet
0
150
Member Avatar for Vanessa.KH

Please don't hijack other threads. Also if you want help you are going to have to post code showing your effort.

Member Avatar for jasimp
0
41
Member Avatar for NYRanger
Member Avatar for trix
Member Avatar for Asat232
Member Avatar for tkristi
Member Avatar for minutefix22
Member Avatar for Techwriter10
Member Avatar for VisActualyBasic
Member Avatar for zujamali
Member Avatar for Serunson
0
47
Member Avatar for vbjavax
Member Avatar for luisator

This thread was [B]three years[/B] old before you brought it back from the dead. Please don't do that again.

Member Avatar for jasimp
0
71
Member Avatar for oakdale95

[CODE] if(grade > 0 && < 150){ }[/CODE] You can use that as a starting point. Seeing as you are checking multiple grade I would recommend creating a method that checks the grade.

Member Avatar for jasimp
0
111
Member Avatar for helpless00

[QUOTE=helpless00;591077]Because you are overtrusting of people and my name indicates that I couldn't cause any real harm.[/QUOTE] Good luck. MidiMagic trusts you as much as he likes hover tooltips and ads.

Member Avatar for jasimp
0
69
Member Avatar for abdulraqeeb33

A two second Google search. [URL="http://java.sun.com/docs/books/tutorial/essential/concurrency/"]http://java.sun.com/docs/books/tutorial/essential/concurrency/[/URL].

Member Avatar for abdulraqeeb33
0
113
Member Avatar for pinoyboi619

A quick Google search will proved lots of information. Reversing a String is a very common classroom exercise.

Member Avatar for jasimp
0
66
Member Avatar for harisagar

Google it. We don't do your work for you. Read API docs on Arrays, ArrayLists.

Member Avatar for jasimp
0
139
Member Avatar for Island_Boy_77
Member Avatar for driesdep
Member Avatar for anbuhikaru

I think he means you should remove the implements from your Play class. [CODE=java] public class Play extends JApplet {[/CODE]

Member Avatar for jasimp
0
160
Member Avatar for reena22

How about you write your own program, then evaluate it and see how the code could be more efficient.

Member Avatar for reena22
0
109
Member Avatar for Marc Parker
Member Avatar for mmohali
Member Avatar for DickLaurent

The End.