<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Nimbus Early Access</title>
	<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/</link>
	<description>Jasper Potts's Blog on Java and Life</description>
	<pubDate>Mon, 06 Oct 2008 14:02:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Larry Barowski</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1256</link>
		<author>Larry Barowski</author>
		<pubDate>Mon, 25 Aug 2008 02:00:05 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1256</guid>
		<description>Using "defaultFont" shows the same problem as just scaling all the UIDefaults fonts - some fonts scale but most don't. I would also suggest you scale fonts by default based on the system DPI, as the Windows L&#38;Fs do on Windows and the Mac L&#38;Fs do on Macs (but Metal and Motif L&#38;Fs don't). Otherwise, on high dpi systems, the fonts are too small. In our app we compensate for that on Metal and Motif by applying the DPI scaling ourselves automatically (as well as allowing the user to globally scale the UI fonts by any amount on top of that). Not having time is something I well understand, but in my opinion global font scaling is a major usability issue for a L&#38;F.</description>
		<content:encoded><![CDATA[<p>Using &#8220;defaultFont&#8221; shows the same problem as just scaling all the UIDefaults fonts - some fonts scale but most don&#8217;t. I would also suggest you scale fonts by default based on the system DPI, as the Windows L&amp;Fs do on Windows and the Mac L&amp;Fs do on Macs (but Metal and Motif L&amp;Fs don&#8217;t). Otherwise, on high dpi systems, the fonts are too small. In our app we compensate for that on Metal and Motif by applying the DPI scaling ourselves automatically (as well as allowing the user to globally scale the UI fonts by any amount on top of that). Not having time is something I well understand, but in my opinion global font scaling is a major usability issue for a L&amp;F.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper Potts</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1236</link>
		<author>Jasper Potts</author>
		<pubDate>Wed, 20 Aug 2008 11:57:59 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1236</guid>
		<description>Larry: We always planned Nimbus to be scaleable and put effort into making it possible at the core. We just never had time to finish it so did not expose control. Hopefully this is something we can resolve when we do Nimbus for JDK 7. On changing the font, try setting the "defaultFont" key in UIManager probably before Nimbus is loaded but should work after but I have never tried.</description>
		<content:encoded><![CDATA[<p>Larry: We always planned Nimbus to be scaleable and put effort into making it possible at the core. We just never had time to finish it so did not expose control. Hopefully this is something we can resolve when we do Nimbus for JDK 7. On changing the font, try setting the &#8220;defaultFont&#8221; key in UIManager probably before Nimbus is loaded but should work after but I have never tried.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Barowski</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1235</link>
		<author>Larry Barowski</author>
		<pubDate>Wed, 20 Aug 2008 06:12:36 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1235</guid>
		<description>So will there be a way to scale the UI globally? If so, is this available yet? I didn't see anything in the methods or UIDefaults that looked promising. Under all previous Sun L&#38;Fs except GTK, it is possible to scale all fonts by iterating through the UIDefaults and replacing every font value with a scaled instance, but this doesn't work under Nimbus because it uses some of those fonts/sizes but not others - trying to do so futzes up the layouts. That is not a problem if there is a way to do a global UI scale which includes all fonts.</description>
		<content:encoded><![CDATA[<p>So will there be a way to scale the UI globally? If so, is this available yet? I didn&#8217;t see anything in the methods or UIDefaults that looked promising. Under all previous Sun L&amp;Fs except GTK, it is possible to scale all fonts by iterating through the UIDefaults and replacing every font value with a scaled instance, but this doesn&#8217;t work under Nimbus because it uses some of those fonts/sizes but not others - trying to do so futzes up the layouts. That is not a problem if there is a way to do a global UI scale which includes all fonts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper Potts</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1177</link>
		<author>Jasper Potts</author>
		<pubDate>Wed, 09 Apr 2008 15:00:47 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1177</guid>
		<description>Thanks Adam you are right the package for Nimbus changed between early builds and the beta. I will release a blog with more info about the beta once I am back from vacation next week.</description>
		<content:encoded><![CDATA[<p>Thanks Adam you are right the package for Nimbus changed between early builds and the beta. I will release a blog with more info about the beta once I am back from vacation next week.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1176</link>
		<author>Adam</author>
		<pubDate>Wed, 09 Apr 2008 08:38:59 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1176</guid>
		<description>Unless I'm making a n00b mistake, you should update the instructions to load Nimbus. It should be:

UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");

not UIManager.setLookAndFeel("sun.swing.plaf.nimbus.NimbusLookAndFeel"); (this is what you have). The method you have will not work (at least for me using the java6u10 beta installed on April 8).</description>
		<content:encoded><![CDATA[<p>Unless I&#8217;m making a n00b mistake, you should update the instructions to load Nimbus. It should be:</p>
<p>UIManager.setLookAndFeel(&#8221;com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel&#8221;);</p>
<p>not UIManager.setLookAndFeel(&#8221;sun.swing.plaf.nimbus.NimbusLookAndFeel&#8221;); (this is what you have). The method you have will not work (at least for me using the java6u10 beta installed on April 8).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1121</link>
		<author>Mario</author>
		<pubDate>Wed, 09 Jan 2008 00:14:32 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1121</guid>
		<description>Ah! Thanks much. So at the moment, is there a work-around that will allow me to view the rest of my application in Nimbus and simply have the renderer based items fall back to some other default (OS, other LAF, etc...). Can I set some of those keys directly after switching to Nimbus? 

Basically I would like to be able to start reviewing and testing with the LAF, both for our purposes as well as for providing feedback, however we cannot do so without our tables. :)

Thanks again!</description>
		<content:encoded><![CDATA[<p>Ah! Thanks much. So at the moment, is there a work-around that will allow me to view the rest of my application in Nimbus and simply have the renderer based items fall back to some other default (OS, other LAF, etc&#8230;). Can I set some of those keys directly after switching to Nimbus? </p>
<p>Basically I would like to be able to start reviewing and testing with the LAF, both for our purposes as well as for providing feedback, however we cannot do so without our tables. <img src='http://www.jasperpotts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper Potts</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1120</link>
		<author>Jasper Potts</author>
		<pubDate>Tue, 08 Jan 2008 19:43:59 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1120</guid>
		<description>Mario: There is some big issue with renderers with Trees, Tables, Lists and Combos which is being worked on at the moment in bug 6595814 it should be fixed in b11 or b12. This issue is related to the same problem.</description>
		<content:encoded><![CDATA[<p>Mario: There is some big issue with renderers with Trees, Tables, Lists and Combos which is being worked on at the moment in bug 6595814 it should be fixed in b11 or b12. This issue is related to the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1119</link>
		<author>Mario</author>
		<pubDate>Tue, 08 Jan 2008 09:58:01 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1119</guid>
		<description>Hello,

I was wondering if there was any resolution to the issue with the NullPointerException regarding the exception posted above on 11-9-2007. I think this is a result of the previous questions regarding certain keys in UIManager returning null in general.

I took a look through the bug database with the keyword nimbus AND JTable and I couldn't find any issue like the above. Can someone point me to the correct location for the issue, or for a workaround if there is one?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I was wondering if there was any resolution to the issue with the NullPointerException regarding the exception posted above on 11-9-2007. I think this is a result of the previous questions regarding certain keys in UIManager returning null in general.</p>
<p>I took a look through the bug database with the keyword nimbus AND JTable and I couldn&#8217;t find any issue like the above. Can someone point me to the correct location for the issue, or for a workaround if there is one?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper Potts</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1052</link>
		<author>Jasper Potts</author>
		<pubDate>Sat, 10 Nov 2007 01:11:19 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1052</guid>
		<description>Rich: I will look into it on monday. Seems like a funny error.</description>
		<content:encoded><![CDATA[<p>Rich: I will look into it on monday. Seems like a funny error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1051</link>
		<author>Rich</author>
		<pubDate>Fri, 09 Nov 2007 22:48:34 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/10/nimbus-early-access/#comment-1051</guid>
		<description>I'd put this on the sun bug database for you, but I just can't put up with it this evening! I get it setting the LnF to nimbus with the latest weekly build.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at javax.swing.JTable.setSelectionBackground(JTable.java:2454)
        at javax.swing.plaf.synth.SynthTableUI.updateStyle(SynthTableUI.java:117)
        at javax.swing.plaf.synth.SynthTableUI.installDefaults(SynthTableUI.java:95)
        at javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1354)
        at javax.swing.JComponent.setUI(JComponent.java:673)
        at javax.swing.JTable.setUI(JTable.java:3526)
        at javax.swing.JTable.updateUI(JTable.java:3582)
        at javax.swing.JTable.(JTable.java:614)
        at javax.swing.JTable.(JTable.java:539)
        at org.htu.tsd.Table.(Table.java:28)
        at org.htu.tsd.TSDFrame.initComponents(TSDFrame.java:120)
        at org.htu.tsd.TSDFrame.(TSDFrame.java:30)
        at org.htu.tsd.TSDFrame$13.run(TSDFrame.java:358)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)</description>
		<content:encoded><![CDATA[<p>I&#8217;d put this on the sun bug database for you, but I just can&#8217;t put up with it this evening! I get it setting the LnF to nimbus with the latest weekly build.</p>
<p>Exception in thread &#8220;AWT-EventQueue-0&#8243; java.lang.NullPointerException<br />
        at javax.swing.JTable.setSelectionBackground(JTable.java:2454)<br />
        at javax.swing.plaf.synth.SynthTableUI.updateStyle(SynthTableUI.java:117)<br />
        at javax.swing.plaf.synth.SynthTableUI.installDefaults(SynthTableUI.java:95)<br />
        at javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1354)<br />
        at javax.swing.JComponent.setUI(JComponent.java:673)<br />
        at javax.swing.JTable.setUI(JTable.java:3526)<br />
        at javax.swing.JTable.updateUI(JTable.java:3582)<br />
        at javax.swing.JTable.(JTable.java:614)<br />
        at javax.swing.JTable.(JTable.java:539)<br />
        at org.htu.tsd.Table.(Table.java:28)<br />
        at org.htu.tsd.TSDFrame.initComponents(TSDFrame.java:120)<br />
        at org.htu.tsd.TSDFrame.(TSDFrame.java:30)<br />
        at org.htu.tsd.TSDFrame$13.run(TSDFrame.java:358)<br />
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)<br />
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)<br />
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)<br />
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)<br />
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)<br />
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)<br />
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)<br />
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
