DevCharly opened a new pull request, #6144:
URL: https://github.com/apache/netbeans/pull/6144

   The drag-and-drop insert indicator lines for TreeView, OutlineView and 
Palette were painted using six `g.drawLine()` statements, which work fine for 
100% screen scaling:
   
   
![image](https://github.com/apache/netbeans/assets/5604048/6e9382d8-8ebb-4969-95cc-f1d8f884f4d4)
   
   But not so good on 150% screen scaling (you can see the six single lines):
   
   
![image](https://github.com/apache/netbeans/assets/5604048/cbee9670-f5b9-4983-b33b-29af9f7a4cc5)
   
   This PR changes painting to use a single filled shape and enables 
antialiasing. At 100%:
   
   
![image](https://github.com/apache/netbeans/assets/5604048/8f986b65-b2ea-4f11-9153-5e75da7c37f2)
   
   At 150%:
   
   
![image](https://github.com/apache/netbeans/assets/5604048/8c445e03-6128-435e-8c05-0776378158a5)
   
   This PR also sets the painting color of the D&D line for the palette (was 
not set before before):
   
   
![image](https://github.com/apache/netbeans/assets/5604048/7dc9b0f3-0585-4ccb-b309-317460d8e299)
   
   Also fixed some compiler warnings (unused imports, missing Override, ...)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to