Re: Help on Cocoa Class references

2011-01-20 Thread Michael Hall
On Jan 19, 2011, at 9:18 PM, Scott Anguish wrote: > Apple won’t even be shipping Java with the OS in the future (there was an > announcement about this recently). You’ll need to get it from Oracle (who > Apple transferred things to as I recall in another announcement) Announcing: OpenJDK for M

Re: Help on Cocoa Class references

2011-01-20 Thread Leanne Attard
Thanks a lot for your help and the problem has now been solved by creating a subclass of nsview and adding as a subview to the nsview brought about from the AWT surface --- On Thu, 1/20/11, Marco Frisan wrote: From: Marco Frisan Subject: Re: Help on Cocoa Class references To: sc

Re: Help on Cocoa Class references

2011-01-20 Thread Marco Frisan
> Message: 3 > Date: Wed, 19 Jan 2011 22:18:04 -0500 > From: Scott Anguish > Subject: Re: Help on Cocoa Class references > To: Leanne Attard > Cc: cocoa-dev@lists.apple.com > Message-ID: <8c659320-34f8-4b47-830d-796386224...@cocoadoc.com> > Content-Type: text/plain;

Re: Help on Cocoa Class references

2011-01-19 Thread Scott Anguish
I’m surprised nobody else mentioned this. The Java bridge isn’t supported and you can no longer write Cocoa apps in Java. So you’re much better off learning Obj-C or going fully Java. Or even Ruby Apple won’t even be shipping Java with the OS in the future (there was an announcement about this

Re: Help on Cocoa Class references

2011-01-18 Thread Marco Frisan
On Tue, 18 Jan 2011 10:49:25 -0800 (PST), Leanne Attard wrote: > i did that just by chance the problem is that clicking on the title bar is > being detected but everyone else is not detected Java events should be handled within Java code. In normal cases you should not need to implement your o

RE: Help on Cocoa Class references

2011-01-18 Thread Shawn Bakhtiar
v@lists.apple.com > Subject: Re: Help on Cocoa Class references > > Ok thanks for your explanation about private classes! > > I am developing a java application displaying a window, and then i am taking > its native part to draw onto it using openGL, the native part gives me a > NSVi

Re: Help on Cocoa Class references

2011-01-18 Thread Leanne Attard
i did that just by chance the problem is that clicking on the title bar is being detected but everyone else is not detected --- On Tue, 1/18/11, mlist0...@gmail.com wrote: > From: mlist0...@gmail.com > Subject: Re: Help on Cocoa Class references > To: "Leanne Attard" &g

Re: Help on Cocoa Class references

2011-01-18 Thread mlist0...@gmail.com
On Jan 18, 2011, at 2:46 AM, Leanne Attard wrote: > When i click on the title bar… You don't normally handle titlebar clicks yourself. What are you trying to do with click on the titlebar? _murat___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Help on Cocoa Class references

2011-01-18 Thread Uli Kusterer
On Jan 18, 2011, at 4:27 PM, Leanne Attard wrote: > I am developing a java application displaying a window, and then i am taking > its native part to draw onto it using openGL, the native part gives me a > NSView pointer. I am able to draw onto it however not able to get mouse/key > events appr

Re: Help on Cocoa Class references

2011-01-18 Thread Leanne Attard
acceptsFirstResponder method is entered but then nothing happens on subsequent mouse clicks or keyboard events. --- On Tue, 1/18/11, Uli Kusterer wrote: > From: Uli Kusterer > Subject: Re: Help on Cocoa Class references > To: "Leanne Attard" > Cc: cocoa-dev@lists.apple.com >

Re: Help on Cocoa Class references

2011-01-18 Thread Uli Kusterer
On Jan 18, 2011, at 11:46 AM, Leanne Attard wrote: > NSWindowViewAWT when the window is started That looks like a private class used internally by Apple's AWT Java implementation. Probably a replacement for the window's content view would be my guess. > NSThemeFrame when clicking on the title

Help on Cocoa Class references

2011-01-18 Thread Leanne Attard
I am a newbie in cocoa so please i apologize for posing a basic question!  I am developing a java application displaying a window, and then i am taking its native part to draw onto it using openGL, the native part gives me a NSView pointer.  I am able to draw onto it however not able to get mous