Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S May I use java.awt.dimension ?

 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May I use java.awt.toolkit and dimension for positioning of windows/boxes on screen? Are there swing alternatives?
 
Kevin Florish
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used thw AWT toolkit for screen size and positioning.

I think the limitations are on using Components from AWT instead of their newer Swing counterparts. Although I may be incorrect on this, it
is my interpretation of the oftimes confusing assignment instructions from Sun
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic