About Scott Kovatch

I am a software engineer living in Pleasanton, CA. I’m currently working for Oracle as the technical lead for the Mac OS X port of Java.

I still consider myself first and foremost a Mac OS X, and now iOS, developer. I haven’t published an app (yet).

I’m married to Sandy Piderit, who is between semesters teaching at the Naval Postgraduate School in Monterey, CA. We have one daughter (Julia), born in 2001, and a 4-year-old (we think) schnauzer/terrier mix (again, we think).

To contact me directly, please follow me on Twitter and/or send me a direct message.

6 responses

4 08 2011
Stephan Aßmus

Hello Scott,

I think I may have found the right Scott, I am just checking out the new native tool bar support in SWT 3.7, for which you may have been responsible. :-)

This is a really cool feature, I have only one problem with it: The style of the tool bar is hard coded. I would need SWT.RIGHT to make ToolItems with both icons and text have the text on the right side instead of below the icon. As is, the native tool bar takes way too much space compared to my previous regular tool bar. Is this even possible technically? If so, I could copy the source of Shell.java into my project and hack it a bit. I already have a hacked up StyledText.java to go along with it. Thank you for any help and I hope it was alright to contact you via this channel!

Best regards,
-Stephan

5 08 2011
Scott K.

Stephan,

Unfortunately the native toolbar on the Mac is limited in how it can display icons and text. Text is only supposed to appear below the icon, and there’s no native support for anything else. What you can do, however, is add a separator ToolItem and then set a Control for the ToolItem. See Snippet58 for an example: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet58.java

5 10 2011
leila holmann

Hi Scott

My company produces a software similar to Adobe Acrobat called PDF Studio. It is java based application. A big percentage of our customers are mac. Unfortunately our listing on the apple website was removed in Spring this year. We have seen a decline in our mac sales following this.

We’re trying to figure out if there’s any way to list our application on the new Mac App store.

Do you know if it is possible to submit a java application to the Mac App Store and if so how?

We’ve been in contact with Apple support, looked everywhere on the net but we can’t find a clear answer to this question.

I saw that you answered a few postings regarding this question and I am hoping you can enlighten us.

9 10 2011
Scott K.

Leila,

Sorry for the delay — it’s been a busy week with JavaOne.

The rules of the App Store are such that you cannot have an application that relies on the Java VM being installed, because on Mac OS X 10.7 Java is now an optional install. But, is possible to submit an application that uses Java to the App Store if you ship your own copy of the VM inside the app. Cyberduck is an example of an app that does this now.

It’s not that simple, however, as there’s no publicly available VM that contains the Mac OS X AWT or the Aqua look and feel for Swing. You can get a Java 6 VM from the SoyLatte/BSD port, but it uses X11 for its AWT. The macosx-port project of OpenJDK will be producing an embeddable version of JRE 7, but it’s not ready for production use yet. I haven’t run your product, but given how many desktop platforms you support, I suspect you rely on AWT.

I see an SWT folder in your app bundle, so maybe you are Eclipse-RCP-based? If so, AWT won’t be an issue, since you have your own UI toolkit anyway.

In any event, you would need to write a small piece of native code that uses JNI to load the JVM and starts your application with the right classpath. This method of launching will be the standard use case on JDK 7, so if you want to pursue this now, take a look at the macosx-port project (http://openjdk.java.net/projects/macosx-port/) to find the code.

Hope that helps.

17 10 2011
Barry Lambert (@barrylambert)

Good afternoon Scott,

Our company just adopted SUP for mobile development. Can you tell me what you know about Eclipse / SUP working directly on Mac OS X? It would be nice to stay on this MacBook for all my development, rather than drag the Windows machine out again.

Thanks in advance.

17 10 2011
Scott K.

Barry,

I no longer work for Sybase, so I have no idea when/if they will get SUP working on Mac OS X. I agree, it is kind of ridiculous that you have to generate code on a Windows box and then bring it over to your Mac.

– Scott

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

Join 232 other followers