Oops, this was my error.  My shutdown() method was returning true.
Switching it to false made the native frame (and the app) close as expected.

Greg, thanks for your help.  I can't wait to write Pivot apps in Scala.

Clint Gilbert wrote:
> Thanks very much.  This mostly works (I'm not sure what I was doing
> wrong before).  However, when I click the 'x' button to close the app,
> the Pivot window disappears, but the native frame won't close.  I have
> to forcibly kill the JVM process.  Any ideas why that would happen?
> 
> I'm running from Eclipse.  I'll try from the command line too.
> 
> 
> 
> Greg Brown wrote:
>> Haven't done it myself, but it looks like someone has:
>>
>> http://github.com/Lewisham/Pivot-and-Scala
>>
>> Feel free to post your sample code - I'm not a Scala expert but I'm familiar 
>> enough with it that I might be able to help.
>>
>> On Mar 12, 2010, at 7:03 PM, Clint Gilbert wrote:
>>
>> Hello everyone,
>>
>> Has anyone successfully written a Pivot app in Scala?  I tried once, but
>> only got a blank window when running my Application from a
>> DesktopApplicationContext.  I'll post example code later.
>>

Reply via email to