Daniel Demesmaecker wrote:you can put a imageview in a pane. I don't understand why you wouldn't use a imageview. I guess you could set the image as background of the pane, make the rectangle, set the background to transparrent and add it to the pane.
David Simkulette wrote:
Campbell Ritchie wrote:
The compiler has to bind an argument to the method call in line 30. Can it bind a bus or a car? Can it tell in advance which to bind?
If no exact match is found, then it will try to match based on the hierarchy of l-hand types. So if there is no method which takes Water and Water extends an Item it will invoke the method that takes an Item and treat it like an Item (unless you cast it). Why? Because :