Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.getSelection()

 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which object is getSelection() calling? I mean, where do I find the documentation?





Related links
1. JPanel

Code sourced from Core Java Vol 1 (8th Ed), Listing 9.14, P.459-460.
 
Paul Clapham
Sheriff
Posts: 21137
32
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the code

it's calling the getSelection() method of the object referred to by the variable "group". You should be able to find a declaration of a variable named "group" in that code.
 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:In the code

it's calling the getSelection() method of the object referred to by the variable "group". You should be able to find a declaration of a variable named "group" in that code.


oh right, a ButtonGroup.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic