Re: [help] Re: cocoa-java
Re: [help] Re: cocoa-java
- Subject: Re: [help] Re: cocoa-java
- From: Chris Backas <email@hidden>
- Date: Mon, 24 Nov 2003 21:44:11 -0500
The things you're looking to do aren't conceptually any different than
they would be in Objective C. The best recommendation I can give you
is to learn to at least read ObjC, because Java/Cocoa uses exactly the
same concepts. Also, don't overlook the Java Browser in the developer
tools, it gives you a complete API reference for Cocoa/Java.
As for your question; you probably want to take a look at using
NSApplication's notifications. Specifically,
applicationDidFinishLaunching and applicationWillTerminate.
Showing a window can be done with the makeKeyAndOrderFront() method of
an NSWindow; orderOut() will remove it.
Have you looked on your hard drive in
/Developer/Documentation/Cocoa/Conceptual ? There's LOTS of
information on things, Progress Indicators included (the ProgIndic
directory). Nearly all of the files there contains both ObjC and Java
versions of the same information.
Chris Backas
>
actually i do, but no one was answering, so i thought maybe noone uses
>
it, that and the complete lack of available reference on it....
>
but anyway.
>
>
this is my problem
>
>
when the program opens i want a panel to open with a (preferrably
>
determinate) progress bar that measures the time it takes for 3 arrays
>
to be populated with data from an external file (about 30,000 items
>
total). Then when the arrays are done the panel needs to disappear
>
and the main window needs to appear.
>
>
I already have a method that can populate the arrays, but i want it to
>
do it at startup and show its progress. but i suck with the
>
documentation and cant find ne good (really none at all) tutorials on
>
using progress bars. or show/hide with the windows
>
>
also when the program closes, need the panel to reappear to measure
>
the data in two arrays being rewritten back into their files.
>
>
if ne one can help or knows of something online that gives good
>
instruction on how to do this kind of thing plz let me know.
>
>
thnk u.
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.