OS X « Interoperability « Java Swing Q&A





1. Portability of Java Swing applications to OSX    stackoverflow.com

Recently I wrote an extremely basic Java Swing program with a couple of text fields and buttons. The program works fine for me on Ubuntu with Java 1.5. But when I ...

2. Java: When is Java 6 ready for end-user desktop application?    stackoverflow.com

I am writing a desktop application written in Swing developed using Java 1.5. Some of the users seem to be using Mac, but I am interested in Java 6's scripting feature ...

3. Problem with Swing GUI on Macintosh    stackoverflow.com

I am new to Swing. Are there any specific issues related to customizing the paint operation on the Mac? I have developed a sample application using NetBeans + Swing on Windows. It is ...

4. Changing NetBeans UI Look/Feel    stackoverflow.com

Is it possible to somehow change the look/feel of NetBeans? I know it uses Swing and that usually apps using Swing for its UI can usually have their UI scheme changed. The ...

5. What JVM can be run under Mac OS 7.5?    stackoverflow.com

I have a request for a contracting gig and one of the requirements in the first draft of the specs says the software (a GUI application for end-users) should run on ...

6. How to display java swing on X11 when running on Mac    stackoverflow.com

I would really like to be able to run our test suite on Xvfb so that swing windows don't keep popping up in the way of my work. Unfortunately I cannot ...

7. Swing tweaks for Mac OS X    stackoverflow.com

I remember having once seen a list of properties that could be set on Swing components to make them look more native on Mac OS X. This included ways to mark ...

8. Java Swing GUIs on Mac OS X    stackoverflow.com

Have you ever attempted using Swing only to end up changing courses because it just couldn't do what you wanted? I'm pretty new to Swing, having only used it for school projects ...

9. Alternative LAF to quaqua    stackoverflow.com

Since installing the new version of quaqua I have been having weird problems like text not displaying over my intro splash screen and the default java icon showing up on dialogs ...





10. How can I manage swing UI default font sizes without quaqua?    stackoverflow.com

We are trying to get quaqua out of our application. We had been using a call to quaqua to set the font size to be smaller with a call like this:

System.setProperty("Quaqua.sizeStyle", ...

11. Getting the unsaved dot on a Swing Mac OSX app with quaqua LAF    stackoverflow.com

I am trying to make it so my app shows the unsaved dot in my swing windows when running on Mac with quaqua LAF. When I say unsaved dot, ...

12. Shifted text in swing app on OS X    stackoverflow.com

I have a little java+swing app. Until now it worked OK, on OS X and on windows. But recenly a user has noticed that on his OS X (version unknown yet, nor ...

13. GUI objects not showing in Java on Mac    stackoverflow.com

I've only just begun writing GUI programs, this being my second one. With both projects (both homework assignments) I have had the same issue. The GUI objects (such as JTextField) do ...

14. Error in java swing application in Mac    stackoverflow.com

Hi I have created a swing application using java 1.5 and i created a distributable jar of that file. I can run the jar in windows OS and linux OS but ...

15. mac look n feel on other platforms?    stackoverflow.com

I'm just curious whether there is a gui framework that alloys you to use a mac look n feel on other platforms. presumably frameworks that use native APIs wouldn't be helpful ...

16. When creating a custom Toolkit, why does createFrame fail on OSX?    stackoverflow.com

We are trying to extend the UISpec4j testing framework to display the user interface when running tests. So we have a custom toolkit that wraps around the native toolkit ...





17. Swing on OSX: How to Trap command-Q?    stackoverflow.com

After being convinced ("schooled") that Swing apps on Mac do look native, I'm trying to make mine look as native as possible. Everything looks great, but when I hit command-Q ...

18. Howto distinguish Application Quit from System Shutdown    stackoverflow.com

  • Java on Mac OS X
In a Swing GUI app I want to distinguish Application Quit from System Shutdown. On Application Quit I want to show a confirmation dialog, but when the user ...

19. Did the Mac OS X Java update to 1.5u7 whack my 1.6.0 laf.jar?    stackoverflow.com

This is the update that just came out this week (2010-05-18). Somebody moved my cheese. It appears that laf.jar is look and feel, so it is probably not a big deal ...

20. Does Java Mac OSX native look and feel respect UIManager font changes?    stackoverflow.com

I have a java applet and the only look and feel that works properly is the native mac one. I wanted to make the fonts a bit larger and tried using ...

21. Setting Java Swing application name on Mac    stackoverflow.com

I'm writing a Java Swing application for the Mac using Java 1.6. I've read a number of tutorials that step you through how to better integrate your Java application with ...

22. OS X: How to speed-up Java/Swing GUI?    stackoverflow.com

I have a Mac mini with 2GHz-Core2Duo/2GB RAM and a HP-Notebook running Windows 7 with identical hardware. For our Java desktop application I'm using Quaqua and Windows look and feel, respectively. On ...

23. How can I record a Java Swing GUI as a video file on Mac OS X?    stackoverflow.com

My Java Swing application has an animated playback of a poker hand. I'd like to let users record this playback so that it can be sent to other people and played ...

24. How to store Java desktop application(multiplatform) global settings?    stackoverflow.com

What do I need exactly is to store information like applications first execution date and few settings somewhere on the user machine. The program will be distributed on Windows and Mac ...

25. Set component look and feel    stackoverflow.com

I'm using substance look and feel as my application default look and feel, however I want to set the system look and feel for FileDialog especially in Mac OS. Is it ...

26. How do I use Java Swing in Eclipse on Mac OS X?    stackoverflow.com

I am new to Mac OS X and is using version 10.6.5. JDK 1.6_u22 seems to be preinstalled on the system. I have downloaded Eclipse 3.5.2. It works fine if I create ...

27. __NSAutoreleaseNoPool Thrown in SWING Application    stackoverflow.com

I'm really dumbfounded here (or maybe just "dumb"). I'm building a simple Java Swing application on my relatively new Mac using the JRE System Library (JVM Contents (MacOS X Default), ...

28. What's the alternative to using the now deprecated com.apple.eawt.ApplicationAdapter in Java Swing apps on the Mac?    stackoverflow.com

Looks like apple has deprecated an api my app is using. Not sure how to work around this. The specific usage can be seen here: http://code.google.com/p/jarzilla/source/browse/trunk/jarzilla/src/main/java/com/googlecode/jarzilla/Jarzilla.java#192

29. Is there a good standalone, lightweight, GUI-based Java debugging tool for the mac?    stackoverflow.com

I'm a CS student, so obviously IDEs are a bit of an overkill for me. I mainly code with Vim (well technically MacVim) and compile and run using the terminal. In ...

30. Java GUI not showing up properly on Macbook pro    stackoverflow.com

i just switched to mac recently and i encountered a problem. i have a java program that have grids of buttons but it doesnt shows the color and i cant select ...

31. gui code worked on windows & linux but not on mac    stackoverflow.com

i just switched to mac recently and i encountered a problem. i have a java program that have grids of buttons but it doesnt shows the color and i cant select ...

32. Designing java application on Mac OSX using Java Swing    stackoverflow.com

How do I implement this expanded title bar using java swing? I can't seem to find the right control/UI element to add to have the same effect. Here's what I mean: Notice ...

33. How to prepare a Mac installer for my java swing application    stackoverflow.com

Can anybody give me suggestions about preparing a custom Mac Installer for a Java swing application. I have tried Xcode but of no use. Any suggestions would be really helpful. Thanks in ...

34. Java application executing other Java application using Ant on Mac OS X    stackoverflow.com

I´m working on a client-server Java-application that is meant to work on Mac OS X as well as Windows and Linux. The application has several different client modules which should be ...

35. Java - How to use Command-c/Command-v shortcut in Mac to copy/paste text?    stackoverflow.com

I have a Java Swing application that i want to run on Mac OS X. I want to use the normal Mac copy/paste shortcuts to copy/paste text to a text field ...

36. JAR Bundler using OSXAdapter causing application to lag or terminate    stackoverflow.com

I've created a simple Java application that each second for for 10 seconds consecutive seconds adds a new row to a JTable. It consists of three classes. The main class that gets ...

37. How can i create executable apple .app file from my java .jar file?    stackoverflow.com

I have created an executable java Swing .jar application. It works fine on Windows. The application hierarchy is :

application.jar images(Folder) .......... Contains all images the application ...

38. Assertion not working    stackoverflow.com

I am trying to write an Assertion to check if the size the user gives is a positive value, if not then make it positive, this statement is inside the class ...

39. Gray Space in OSX GUI    forums.netbeans.org

hi! i just switched to netbeans for php development. so what about those gray lines under the editor toolbar? http://www.thebasement.at/sshot/shot_2009-08-04_18-30-16.png http://www.thebasement.at/sshot/shot_2009-08-04_18-24-09.png anyway to get them away?

40. Java & Swing problem under Mac OSX    forums.netbeans.org

i've tried a tutorial with a Swing Gui. i execute it under mac with "java -jar app.jar" and nothing happens... none message, just nothing... What could be? thanks neorf

41. splash screen prob. on Mac OS X    coderanch.com

Hi All, We r developing a software in which multiple applications (running under same JVM) communicate to each other. At first we r showing a general splash screen with company's logo and progress etc. After that we r showing another splash screen (JWindow) for choosing any application to run first. No probs on Windows boxes but on Mac OS X, if ...

42. Mac OS X makes my JLayeredPanes Pink.    coderanch.com

I have written an application that uses JLayeredPanes to paint the background texture on all my dialogs and such. This works great on Windows and Unix, but when I run it on Mac OS X they all have a pink color to them. Can anyone tell me why and how to change it so the pink caste goes away. Here's and ...

43. Mac OSX stubs JAR?    coderanch.com

I have a desktop application that I distribute for various platforms, including Mac OSX. I take advantage of OSX's com.apple.mrj.MRJApplicationUtils class to make the app look more Mac-like, when it runs on OSX. Up until now, I've done stuff manually, and when compiling on Windows, I've just physically deleting the class containing references to com.apple.mrj.MRJApplicationUtils. Now, I'm developing the project within ...

45. Workaround for possible java bug - os x    coderanch.com

46. printerjob, awt headless mode and mac os x server    coderanch.com

hello i've an application that print a page using classes like jframe, jpanel, jtable, etc when i run it on a linux server or on a windows one there are no problems, but when i try to print this page on mac os x server 10.6.8 i get this error: on system dock appear a java icon named org.apache.catalina.startup.Bootstrap and the ...

47. AWT/Swing Mixing Still and issue on MAC OSX?    java-forums.org

Hi I'm new here and registered onto this forum out of desperation for a solution to a strange problem. I work at my local university as a research assistant and my main task is developing a GUI application in java (I am one of two developers and I am the only one tasked in this area). The Java software I'm working ...

48. Developing swing apps in OSX    forums.oracle.com

Hello, I am taking a Java class at school but it is pretty much console based. I am trying to teach myself swing from http://java.sun.com/docs/books/tutorial/uiswing/index.html but I have a few questions. first of all I cant seem to run a single one of the swing demos at http://java.sun.com/docs/books/tutorial/uiswing/components/examples/index.html#TumbleItem it launches Java Web Start and I get an error "The application has ...

50. Swing and OS X    forums.oracle.com

Hi, Not really sure this is the best forum to ask this, but here goes. For all of you that use OS X to write your Java. Have you noticed any problems since the 'Release 5' update? I am having all sorts of problems, such as JFrames not being displayed, or being displayed when executed once, but not the next time. ...