This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JavaFX and the fly likes proper way to extend AnchorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "proper way to extend AnchorPane" Watch "proper way to extend AnchorPane" New topic
Author

proper way to extend AnchorPane

Carl Bernardi
Greenhorn

Joined: Jan 15, 2013
Posts: 23
I created my own chart with x and y axises. I found the present choices of charts did not suite my needs. I have managed to built my chart to my likings and now I would like to add all the components to an object that extends AnchorPane. The end results is that my code compiles with no errors, no runtime errors but I don't see any of my panes that I created. I was wondering what the correct procedure is to extend AnchorPane.
Carl Bernardi
Greenhorn

Joined: Jan 15, 2013
Posts: 23
Figure out what I was doing wrong. I have "void" in my constructor call making a method.
 
 
subject: proper way to extend AnchorPane