• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Could I make the client UI unresizeable?

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In many places of my client UI design , i used the the Box layout manager. But i find it is terrible to manager the looks when resizing the main Frame . It will become unmarkable . So i want to force the main Frame become unresizeable . Does it offend the test requirement ?
Could u give me any advise?
Thx...
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess it's possible that Sun would take off a few points because you don't adhere to standard HCI conventions, which dictate that an application's main window should be resizable. What you could do is implement a minimum size in your frame (which I think is possible, but I'm not sure). If you're main data section is a JTable in a JScrollPane (as it likely should be), what is so hard about laying out the other widgets in a scalable way? I also used the BoxLayout a few times, and my layout expanded fine, shrunk fine vertically, and when you made it unreasonably narrow, stuff started disappearing.
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes you can define a minimum size for your Frame.
Here is how I personally did it:
JavaRanch post
Hope this helps,

Stephane
 
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic