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.
Summary: | Dialogs remembering their sizes should check OS screen resolution | ||
---|---|---|---|
Product: | apisupport | Reporter: | Martin Krauskopf <mkrauskopf> |
Component: | Project | Assignee: | rmichalsky <rmichalsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | tboudreau |
Priority: | P4 | Keywords: | UI |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 72586 | ||
Bug Blocks: |
Description
Martin Krauskopf
2006-02-08 04:51:14 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. 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? That sounds like about it. Umm, I missed that I've already filed it (see dependency). So we should discuss it there. I'm not working on APISupport anymore. Reassigning to owner of the component, so the issue is not 'forgotten' forever. Not into 7.0 or next release. Feel free to reopen if more important than it seems. NetBeans.org Migration: changing resolution from LATER to WONTFIX |