This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 72380 - Dialogs remembering their sizes should check OS screen resolution
Summary: Dialogs remembering their sizes should check OS screen resolution
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: rmichalsky
URL:
Keywords: UI
Depends on: 72586
Blocks:
  Show dependency tree
 
Reported: 2006-02-08 04:51 UTC by Martin Krauskopf
Modified: 2009-11-02 11:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2006-02-08 04:51:14 UTC
See issue #71994 for more details. Consider to file a general RFE (this has to
be problem of all such dialogs). However with Utilities.getUsableScreenBounds()
probably short boilerplate.
Comment 1 _ tboudreau 2006-02-11 20:05:55 UTC
What I'd suggest:  Refile this against core/windows with the following 
requirement:  When requesting a dialog, you should be able to pass a string 
token, which DialogDisplayer can use to request a saved preferred size for a 
dialog, and any calculation about screen size should be done there.  I don't 
think this should be done just for apisupport, everybody has this problem.
Comment 2 Martin Krauskopf 2006-08-10 11:07:43 UTC
Then you would have to be also able to set the "saved preferred size". Something
like:

/** @param token the token you pass to createDialog() (e.g. fqn) */
DialogDescriptor.getDefault().putPreferedSize(String token, java.awt.Rectangle r)

Since after Dialog is returned from DD.createDialog(desc) it is not tracked by
DD anymore (?). So after the user changes the size, closes the dialog, then you
want to remeber the size.
Or did I misunderstood your idea?
Comment 3 _ tboudreau 2006-08-10 23:24:40 UTC
That sounds like about it.
Comment 4 Martin Krauskopf 2006-08-11 08:09:22 UTC
Umm, I missed that I've already filed it (see dependency). So we should discuss
it there.
Comment 5 Martin Krauskopf 2008-02-07 17:50:58 UTC
I'm not working on APISupport anymore. Reassigning to owner of the component, so
the issue is not 'forgotten' forever.
Comment 6 rmichalsky 2008-11-24 15:05:23 UTC
Not into 7.0 or next release. Feel free to reopen if more important than it seems.
Comment 7 Quality Engineering 2009-11-02 11:04:35 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX