Are you talking about using the Cocoa framework through Java, or pure (portable) Java programming?
Through Cocoa, it's easy -- just call print() on the text view, which brings up …
ThanX for the reply
>>>>>>>>
Are you talking about using the Cocoa framework through Java, or pure (portable) Java program…
NSMutableData data = new NSMutableData();
NSPrintOperation op;
op = NSPrintOperation.PDFOperationWithViewInsideRect(.. ., data);
if (op.runOperation())
data.writeToURL(someFi…
I realise it's been covered and many people have posted their views upon the security nature of this but some people may require this function.
The one function I like about OS X o…
Moving to OS X Developer.
thanks
------------------
the oddball newsletter
------------------
it's only after you lose everything that you're free to do anything
Well, the whole login window is a tiff.
I think it might be mighty hard to change the textField into a pull down menu, but you can always edit the tiff itself to say "enter guest …
It seems like all you would need to do is write a new login application that gets opened rather than the default login app. To me it seems there would be several challenges in thi…
Hello again,
well, the login app is just loginwindow.app located at
/System/Library/CoreServices
I can open the application's nib file in Interface Builder and muck around with …
There is a drawback, and this may explain why it's not there.
Typically under Unix, sysadmins don't want the names of all the users available to anyone... this is part of the logi…
The OSX system admin. should have the a preference panel that gives him an option between a 'home' and 'pro' login window:
1. a "home" login window would basically look like the O…
My question is about obtaining the current path the user is in when a command is executed. For example, if the user executes the following in the terminal:
cd /some/path
./ myPro…
I am working on a system preferences prefpane, and I'm thinking that storing my prefPanes preferences in ~/Library/Preferences/com.apple.systempreferences.plist is a bad idea. Usu…
this should answer your question:
<a href="http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/PreferencePanes/Tasks/Sample.html" target="_blank">http://develo…
Your preference pane is a bundle loaded into the System Preferences App - so defaults don't work normally.
See here:
<a href="http://www.cocoadevcentral.com/tutorials/showpage.…
Hello all. I am making an app using cocoa w/ objective C in project builder. I am getting the following warning, and don't understand what it is getting at. Can someone explain …
Before all of your cString calls, stick this: (char *)
e.g.:
(char *)[myString cString];
Not sure exactly _why_ cc makes this a big deal, since (const char *) is declared as the…
The -cString method is declared as returning (const char *), which indicates the return value should not be modified. The method in question is declared as taking (char *), which …
Quote:
Originally posted by lindberg:
Or, you could just use NSString values :-)
That's probably easier than dealing with the c-string memory management...
Excelle…
Hi,
In cocoa, is it possible for my program to read a file's icon resource? Ultimately, I'd like to make a program that changes the icons of files.
Thanks for your help,
David
Hi,
Actually, I was able to get the icon using the NSWorkspace iconForFile method. Anybody know how to "Set" (ie, change) a file's icon???
Thanks,
David
Someone directed me to this link when I asked for this information.
I haven't had a chance to try it yet but it looks like it could work. It seems to be some sort of cocoa wrappe…