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.
Almost all text fields in NetBeans UI contain code which adds a focus listener to text fields and calls selectAll() on focus gained. But everyone has to write their own code to do it. I am already doing this with a utility method for all of the Java Card modules. There are also requests to disable this behavior for unix-style middle-button paste users. A central location for managing this behavior would make that possible. I'm proposing adding a method Utilities.configureSelectAllOnFocus(JTextComponent). Hopefully, if Jackpot is up to it (or if not, with lots of grepping) all or most such instances can be found in a pass over the codebase, and quite likely a number of inner FocusListener classes can be eliminated.
sounds like a new feature to me...