No component setWidth()?


#1

 

hum... I never realized, but there's no setWidth() and setHeight() method in Component, only setSize(), right!?

what is the reason for that ? (just curious..)


#2

Just didn't want to bloat the component class with a ton of methods for tweaking its position - there are too many of those already!