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

Peter Cheung <[email protected]> Thu, 5 Oct 2017 06:31:06 +0000
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <ME1PR01MB026087BDF8B59590D57E9C6AB5700@ME1PR01MB0260.ausprd01.prod.outlook.com>
--_000_ME1PR01MB026087BDF8B59590D57E9C6AB5700ME1PR01MB0260ausp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

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

________________________________
From: Peter Cheung <[email protected]>
Sent: Thursday, October 5, 2017 2:09 PM
To: [email protected]
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, r=
ight?



        targetTable.setShowGrid(false);

        targetTable.setShowHorizontalLines(false);

        targetTable.setShowVerticalLines(false);


Peter.

--_000_ME1PR01MB026087BDF8B59590D57E9C6AB5700ME1PR01MB0260ausp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p>answer :&nbsp;<span style=3D"font-family: Calibri, Helvetica, sans-serif=
; font-size: 12pt;">targetTable</span><span style=3D"font-size: 12pt;">.set=
IntercellSpacing(new Dimension(0, 0));</span></p>
<div><br>
</div>
Only com.apple.laf.AquaLookAndFeel&nbsp;need to do in this way<br>
<br>
<div style=3D"color: rgb(0, 0, 0);">
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" co=
lor=3D"#000000" style=3D"font-size:11pt"><b>From:</b> Peter Cheung &lt;mche=
[email protected]&gt;<br>
<b>Sent:</b> Thursday, October 5, 2017 2:09 PM<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> [platform-dev] unable to turn off grid line in TopComponent=
 in mac</font>
<div>&nbsp;</div>
</div>
<div>
<div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; color=
:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>hi</p>
<p>&nbsp; &nbsp; &nbsp;unable to turn off grid line in TopComponent in mac,=
 probably a bug, right?<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; targetTable.setShowGrid(false);</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; targetTable.setShowHorizontalLines(false);</=
p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; targetTable.setShowVerticalLines(false);</p>
<p><br>
</p>
<p>Peter.</p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_ME1PR01MB026087BDF8B59590D57E9C6AB5700ME1PR01MB0260ausp_--