unable to turn off grid line in TopComponent in mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

unable to turn off grid line in TopComponent in mac

Peter Cheung

hi

     unable to turn off grid line in TopComponent in mac, probably a bug, right?



        targetTable.setShowGrid(false);

        targetTable.setShowHorizontalLines(false);

        targetTable.setShowVerticalLines(false);


Peter.

Reply | Threaded
Open this post in threaded view
|

Re: unable to turn off grid line in TopComponent in mac

Peter Cheung

answer : targetTable.setIntercellSpacing(new Dimension(0, 0));


Only com.apple.laf.AquaLookAndFeel need to do in this way


From: Peter Cheung <[hidden email]>
Sent: Thursday, October 5, 2017 2:09 PM
To: [hidden email]
Subject: [platform-dev] unable to turn off grid line in TopComponent in mac
 

hi

     unable to turn off grid line in TopComponent in mac, probably a bug, right?



        targetTable.setShowGrid(false);

        targetTable.setShowHorizontalLines(false);

        targetTable.setShowVerticalLines(false);


Peter.