<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Swing CPU use?</title>
		<atom:link href="http://cycling74.com/forums/topic/swing-cpu-use/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/swing-cpu-use/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 00:38:42 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/swing-cpu-use/#post-45646</guid>
					<title><![CDATA[Swing CPU use?]]></title>
					<link>http://cycling74.com/forums/topic/swing-cpu-use/#post-45646</link>
					<pubDate>Mon, 28 Sep 2009 20:32:15 +0000</pubDate>
					<dc:creator>Roth</dc:creator>

					<description>
						<![CDATA[
						<p>Initially I didn&#8217;t care about the rounded corners debate when Max5 came out, but now I&#8217;m working on some upgrades to someone else&#8217;s patch and his preset interface doesn&#8217;t look great with the rounded message boxes.  Also, I figured coding some GUI object would clean up the code quite a bit.</p>
<p>At first I thought about trying a JSUI (something I have no experience with), but the drawing dimensions relative to size seemed like it would create a big hassle making things work correctly with font sizes.  Also I ran into this thread:</p>
<p><a href="http://www.cycling74.com/forums/index.php?t=msg&#038;goto=46889&#038;rid=4220&#038;S=c988e8cbb36f1c2e01495fd542ed248b&#038;srch=jsui+font#msg_46889">http://www.cycling74.com/forums/index.php?t=msg&#038;goto=46889&#038;rid=4220&#038;S=c988e8cbb36f1c2e01495fd542ed248b&#038;srch=jsui+font#msg_46889</a></p>
<p>which made me nervous about wasted CPU cycles (more important than making it prettier or making the code cleaner).</p>
<p>I then thought about redoing this interface in Swing.  The separate window thing is not an issue as the subpatch I&#8217;m thinking of converting ran in a separate window.  My concern here again is CPU.  Is creating a swing interface that is essentially 45 Max4.6 style message boxes and the backend to adjust colors and text going to be a significant CPU hit compared to doing it with message boxes in Max?  If you need an example to give a better answer, I&#8217;ll try to get one up between some other projects I need to get done tonight.</p>
<p>Any other caveats I should keep in mind about using Swing with Max5?</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

