3 ms·
Seems like automatically generated class name. You shouldn't ever see that as a Java developer unless you work for Sun, since this is internal package. The name
by markokocic 14y ago
Seems like automatically generated class name. You shouldn't ever see that as a Java developer unless you work for Sun, since this is internal package. The name, though long, seems pretty consistent with the rest of the names in the package [1].
If you look at it once more I guess that it is used as a Painter for MaximizeButton located in InternalFrameTitlePane of InternalFrameTitlePane of InternalFrame.
How would you name such thing?
[1] http://javadoc.bugaco.com/com/sun/java/swing/plaf/nimbus/package-tree.html http://javadoc.bugaco.com/com/sun/java/swing/plaf/nimbus/pac...
- wtallis 14y agoGiven the name, it sounds like this piece of code is drawing window decorations despite not being part of a window manager. (Though it's unclear, it might be doing window decorations in an MDI-like context.) This object probably shouldn't even exist in the first place.
- plaguuuuuu 14y agoUsing private internal classes or something. Even with namespaces it'd look okay, so you'd go InternalFrame.TitlePane.MaximizeButton.Painter() or something (I've forgotten Java tbh) and that actually looks okay to most programmers IMO. I'm guessing this shouldn't even be exposed to anything outside of an InternalFrame anyway.
- riffraff 14y agothese are indeed autogenerated, as people reported when this hit reddit some days ago.