Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Java/Aqua real slow

Java/Aqua real slow
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Plymouth, MI 48170
Status: Offline
Reply With Quote
Oct 24, 2001, 09:01 PM
 
I'm using JBuilder 5 for Mac. If I have JBuilder use Aqua, it is slow changing windows. If I change it to use the Metal look and feel, it is almost instant when changing windows.

I am assuming this is a problem with the OS X Swing bridge.

Does anyone know if Apple is fixing this?

I hate using Metal when Aqua looks so good.
     
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Oct 25, 2001, 03:47 AM
 
I'm using JBuilder on PC at work (and Project Builder at home, of course) and the fact is, it doesn't use Aqua. It uses Swing, just made to look like Aqua. So all the hardware-optomised job of rendering those nice Aqua components is being done from scratch... in emulation.

I can't really think of any way around it, unless there's a better implementation of the Aqua theme for Swing - possible one that had native libraries to plug into the real Aqua rendering... which would make it OS X only, of course.

What Aqua theme are you using for it, anyway? Would it work on a PC?
All words are lies. Including these ones.
     
TimMcG  (op)
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Plymouth, MI 48170
Status: Offline
Reply With Quote
Oct 25, 2001, 09:38 AM
 
JBuilder 5 for Mac uses Swing regardless of whether I am using the Metal L&F, or the MacOS Adaptive L&F (which maps to Aqua controls). These are two of the L&F options in the JBuilder 5 for Mac IDE Options pane.

If I use MacOS Adaptive L&F, JBuilder is very slow drawing the screen. If I use Metal L&F, JBuilder is much faster.

So what I was asking is this: Is Apple working on making the Swing/Aqua implementation faster so it performs at least as well as Metal?

(also, this is not for an application being developed, it is for JBuilder itself)
     
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
Oct 26, 2001, 10:37 PM
 
I haven't used Jbuilder on the Mac but the Metal L & F seems to be the fastest on all platforms. You can see it with SwingDemo from the jdk on windows. Metal is definitely faster than the Motif or Windows L & F. On the Mac I can imagine that those nice Aqua control in Swing take quite abit more in the way of resources than the Metal L & F. Apple is said to be working on getting hardware acceleration implemented for the Aqua L & F but it isn't here yet. Also JBuilder was definitely coded with the Metal L & F in mind and I imagine that the Aqua L & F is an afterthought to make it look nice on the Mac.
weird wabbit
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2