This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes .getSelection() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".getSelection()" Watch ".getSelection()" New topic
Author

.getSelection()

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 662

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.


Jon
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

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

Joined: Apr 25, 2008
Posts: 662

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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: .getSelection()
 
It's not a secret anymore!