Originally posted by maha anna:
[B]I came across this qstn from Jxam. This qstn says, that text fields do not adjust their size according to font
...
___________________
I agree. Consider the following code which changes the font size after the call to setVisible. TextFields are sized based on the font.
That one should be in Jxam errata.
Originally posted by Junaid Bhatra:
Ok here are my $0.02 on the topic:
I checked my results with simple test codes.
...
Hope this helps in clearing up the confusion!
Originally posted by Charlie Swanson:
Boy this was a good one.
This is what I understand:
1. New Processor calls the the constructor Processor in
line: Processor p = new Processor()
...
I hope this helps out. If you find out anything else please
let me know.
Originally posted by Praveen:
Anwser is E. I have run the code and verified it. The GridLayout Managers ignores the components preferred size. So when you have components fewer than the cells(parent Layout) it behaves strangely.