In NetBeans 7.3.1
when I try to create an anonymous class and override it's method with auto-completion the method is surrounded by a irritating purple line. I can't get rid of that purple line. There is one way though by selecting the method text and then CTRL + X and CTRL + V . But it is not an elegant way.
I tried googling and nothing came up.
For those who want to visualize
Press ENTER .
After new Runnable()
is just implemented, the cursor is at the lowest purple block, between the }
and )
. When you then press ENTER , the cursor moves 2 spaces and is now behind the semicolon and the purple lines will disappear.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.