File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".getSelection()" Watch ".getSelection()" New topic
Author

.getSelection()

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 659

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
Bartender

Joined: Oct 14, 2005
Posts: 18135
    
    8

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: 659

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: .getSelection()
 
Similar Threads
scrollPane
list values
problem with layout
JFileChooser override
[newbie] The constructor <Class>(String, ImageIcon) is undefined