CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: postmortem

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Easy answer new to Java. "reached end of file while parsing"

    Java compiler is simply saying code file has ended and that it expects to see more characters.

    All opened brackets need to be closed, I think you are missing three.
  2. Re: Eclipse is always locked [High CPU & RAM usage]

    Try netbeans, although it is resource hog as well.
  3. Replies
    5
    Views
    4,469

    Re: Letter Count Program

    [CODE] tag, please

    numWords is not defined
  4. Thread: Help!

    by postmortem
    Replies
    2
    Views
    673

    Re: Help!

    spam, posting same garbage two times does not make it any better.
  5. Replies
    15
    Views
    7,269

    Re: splash screen

    splash comes with java 6
    it is as simple as

    java -splash:filename.gif -jar SplashTest yourbuild.jar
  6. Replies
    8
    Views
    1,138

    Re: Guil problem

    now if you could just solve it :D
  7. Replies
    9
    Views
    12,954

    Re: Finding Duplicate Files

    I doubt your method will work for large files, that cannot fit the memory.

    Doing MD5 hash sounds much more reasonable. Even if there's no pre-existing Java solution, you can find pseudo code.
  8. Replies
    4
    Views
    1,246

    Re: Converting C functions into Java

    C does not have any OO constructs such as class, public, private, protected, virtual, etc.

    As for conversion, who is good with Java and C it will be trivial. That doesn't look to be case here....
  9. Replies
    8
    Views
    12,286

    Re: Sr C++ Java Developer

    I also fail to see why is superb knowledge of C++ needed for a Java job, unless candidate is working on next JVM for Sun..

    EDIT:

    Here's more info about website...
  10. Replies
    12
    Views
    2,274

    Re: C# training. Please suggest. URGENT...

    I didn't say yo guys are excluded for ever handing a job. But there is a whole batch people coming out with com Sci degree every year, and big companies will look to hire them. It is getting harder...
  11. Replies
    12
    Views
    2,274

    Re: C# training. Please suggest. URGENT...

    Only promising way to get in programmer field nowadays is to attend 4 yrs college. It won't happen overnight, forget about focused courses - they make money to ones who teach them.

    With so many...
  12. Re: "java -version" doesn't display proper value.

    there is system and user path... additionally, if both entries are on the path, then whichever is the first one will matter.
  13. Replies
    5
    Views
    1,105

    Re: Several more questions. :-/

    threads make sense only if you have long task that is cpu or other resource intensive, doesn't matter of the size of code. usually it makes sense to put UI in one thread and long actions in others.
    ...
  14. Replies
    18
    Views
    2,655

    Re: Videos not playing when building .jar

    have you tried to run the jar from its working directory; this is using the windows command prompt and java -jar command?
  15. Replies
    4
    Views
    1,165

    Re: Java.lang.OutOfMemoryError

    you need to specify larger heap


    http://blogs.sun.com/watt/resource/jvm-options-list.html
  16. Replies
    7
    Views
    1,180

    Re: Question about inheritance in Java

    wow, talk about ugly solutions, "Recompiling the SDK", do you want all your users to do so too??

    Often, answer is very simple:


    ...
  17. Replies
    9
    Views
    1,515

    Re: Make Java Faster???

    Please don't treat Java as C. It is not low-level procedural language, it is exact opposite of that. You can't see connection to CPU or RAM from Java as you would with C.
  18. Replies
    4
    Views
    1,595

    Re: Run program with batch file

    java -jar your_file test.txt >> output.txt

    sorry, there is no space between '-' and 'jar'. make sure you follow rest of whitespaces. printStatement has to be JAR file.
  19. Replies
    4
    Views
    1,595

    Re: Run program with batch file

    yeah, it is same thing

    if you have JAR build you can use
    java -jar your_file test.txt >> output.txt
    or if you have compiled class files
    java classfile.class test.txt >> output.txt

    Java also...
  20. Replies
    17
    Views
    6,417

    Re: Random lines from a text file?

    http://lmgtfy.com/?q=+java+random+class
  21. Re: Creating a java program that acts like a normal windows executable?

    using JNI is easiest way, and perhaps only one. Java is not meant to replace OS calls, it simply has interface to them.

    you could make executable but it is just going to be wrapper for java -jar...
  22. Replies
    6
    Views
    6,343

    Re: GUI example won't work

    wow, is is that hard to make package 'components', compile the project with single file and run it via its main method

    it works
    http://img15.imageshack.us/img15/2164/textdemo.jpg
  23. Replies
    3
    Views
    2,989

    Re: LinkedHashMap vs ArrayList.clear()

    putting in hash map puts reference to original object, not deep copy of it, so any changes to object itself will propagate to objects retrieved from hash map
  24. Replies
    2
    Views
    899

    Re: About abstract classes

    final means "absolutely no child classes"
    abstract means " I must have child classes to implement what I have defined"
  25. Replies
    31
    Views
    5,930

    Re: GUI .jar problems

    run your app insider netbeans via profiler, it is integrated with netbeans, it will tell you actual mem usage

    you can see it from task manager too
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured