• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help declaring radiobuttons....

 
Shawn Rieger
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone have any idea why this doesn't work? I keep getting "<identifier> expected"

 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problems with what you gave us...

If you look down the stack trace you'll often find a line number given which will point to the line in your source file where the trouble lies.
 
Shawn Rieger
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm... Well this is the actual code. Maybe i have it in the wrong spot cause im still getting errors.


[ September 07, 2005: Message edited by: Shawn Rieger ]
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do this

or this

or even this

but you may not put instantiations out in the open in a class; they must be inside a set of curley braces such as a method, constructor or initialization block.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic