Search results

  1. D

    Compiling Java Source Code

    Are you sure you downloaded JavaLayer? It seems to me that JavaLayer is just the mp3 decoder part. The actual player is called JlGui. If you downloaded JlGui you shouldn't be messing around with ProjectBuilder since it (JlGui) came pre-compiled. Or are you perhaps trying to learn how to compile...
  2. D

    objective-c query

    The struct pointer thing is probably the way to go I'm afraid. I found a similar use of it in <i>"Object Oriented Programming and the Objective-C Language"</i> on page 74. Sometimes Obj-C is too close to plain old C for my taste. :(
  3. D

    Java and main thread error

    I'm assuming that you are trying to run the application from the same directory it's main class is located in. The problem you are describing sounds like a standard classpath problem. Your classpath is somehow incorrectly set and the JVM can't find the class you specified as your main class. If...
  4. D

    Java 1.4 SDK

    Sure there are! javac is always there, it never goes away. Instead of JBindery there is MRJAppBuilder in /Developer/Applications/ If you think ProjectBuilder is a bit too much there are always other options. I haven't tried it myself but lots of people are using jEdit and claim that it's a...
  5. D

    Java 1.4 SDK

    It should have been included when you installed the developer tools. Open up a terminal and type <b>java -version</b> Should be version 1.3.1 if I'm not mistaken.
  6. D

    Java 1.4 SDK

    Thanks for the info. Finally we can write some real network code. Hope it won't be as infested with bugs as the Windows implementation is (I mean the new networking APIs).
  7. D

    Learning Cocoa: chapter 6 question

    No, you're right. Your version of Interface Builder does not have any electrical outlets under the "Classes" tab. That information is now only found in the info window which you will find in the menu Tools>Show Info. Click on "MyController" in the "Instances" tab and then select "Connections"...
  8. D

    Java 1.4 SDK

    Why don't you ask them? :) You will probably get more of an answer by posting that question to MacOSRumors.com or MacSlash.org. Anyway, from what I have heard, 1.4 should be well on it's way to being completed. I even read somewhere that SUN is considering including some of Apple's...
  9. D

    Java 1.4 SDK

    There is no 1.4 SDK for MacOS X that I am aware of yet. Apple is of course working on one but I have heard nothing on how far it has to go before it can be released. Since Apple has said that MacOS X is going to the best platform for Java they shouldn't let the release drag on for too long. I...
  10. D

    how to create stand alone applications with forte or jbuilder?

    Well, actually the manifest should read: <b>Main-Class: hola.ApplicationHola</b> That should do it.
  11. D

    how to create stand alone applications with forte or jbuilder?

    What do you mean by "stand alone"? Do you just want to build a .jar file or do you want a .app?
  12. D

    Help with sortWithSelector

    Well, I looked at the documentation (you meant to say <code>sortUsingSelector</code>, right?) and I can understand your confusion. You have to implement a method that compares an object (itself) to another object and return a result. The method should look something like this: <code>-...
  13. D

    JBuilder 5 and german keyboard layout

    Strange. You would think that all text components in the application would share the same keymap. JBuilder5 probably has a custom keymap for the editor and when they wrote it they forgot to support "foreign" keyboards. Ah, well. I guess all we can do is wait, wait, complain and wait. :) I...
  14. D

    JBuilder 5 and german keyboard layout

    I'm sorry my tips weren't any help. I wonder if this keyboard layout problem is only related to JBuilder5 or if it is a general Java problem on MacOS X. Have you tried any other Java apps on MacOS X? Did they work ok? Interesting. I'll have to do some research myself. It's quite common in early...
  15. D

    JBuilder 5 and german keyboard layout

    Well, if your german keyboard is anything like my swedish one (at least we have '&#228;' and '&#246;' in common), you should find them by typing Shift+Alt+8 and Shift+Alt+9. If not, you can always use that old time favourite; KeyCaps. That program is located in /Applications/Utilities/. It's...
  16. D

    trouble deleting Stuffit

    Hi! I had he same problem when I tried to throw away Stuffit Expander 6.0. Like <b>testuser</b> said you don't have sufficient permissions, which means that you are not allowed to edit or remove that particular file. You can change the permissions of the file by using the command-line tool...
  17. D

    Programming Cocoa to pause between actions

    Timers. Don't forget about timers. Check out <code>NSTimer</code> for info on using timers in Cocoa.
  18. D

    memory tool

    That would be: /Developer/Applications/MallocDebug.app I haven't tried it myself but you can supposedly use it to find memory leaks and generally monitor memory usage.
  19. D

    Programming Cocoa to pause between actions

    How about <code>NSThread sleepUntilDate:</code> in Foundation? That would probably be a good place to start.
Back
Top