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

Search:

Type: Posts; User: Joe Nellis

Page 1 of 36 1 2 3 4

Search: Search took 0.38 seconds.

  1. Replies
    1
    Views
    2,027

    Re: XPATH and concat

    Look at the string-join() xpath method.
  2. Replies
    2
    Views
    1,149

    Re: Image Analysis

    Image I/O has a package for working with Tiff.
    http://java.sun.com/products/java-media/jai/forDevelopers/jai-imageio-1_0-docs/com/sun/media/imageio/plugins/tiff/package-summary.html

    Many image...
  3. Replies
    2
    Views
    901

    Re: How to self-sign an applet?

    You are asking for a mechanism that fits the profile of a trojan or virus installer, so I doubt you'll solve this problem this way. Best just to sign the applet and forget about the user...
  4. Replies
    9
    Views
    10,743

    Re: why i cant read simple text file in jsp

    Try placing your file in the web-inf folder.
  5. Replies
    9
    Views
    1,377

    Re: Taking screenshot of IE

    You can use the java.awt.Robot class to get a screen shotof the desktop and process from there.
  6. Replies
    74
    Views
    14,068

    Re: It's driving me nuts already.

    It is so slow to load. Sometimes it never does and I use IE. This is ridiculous. You would think a site dedicated to programming would actually work. I stop coming here because of the ads and after...
  7. Replies
    9
    Views
    29,499

    Re: sorting string arrays alphabetically

    The sort method also takes a comparator which you can specify to pull an ordering out of the list. This creates and inline implementation of the Comparator interface


    // sort list...
  8. Replies
    9
    Views
    29,499

    Re: sorting string arrays alphabetically

    If you read String documentation you would see it overides the Comparable interface. This implies that the String object has a natural ordering. The ordering is lexographic (alphabetical more or...
  9. Replies
    9
    Views
    29,499

    Re: sorting string arrays alphabetically

    java.util.Collections.sort
  10. Replies
    2
    Views
    5,020

    Re: Hilditch algorithm

    What do you have so far? That code looks about 90% java compatible already.
  11. Replies
    3
    Views
    2,187

    Re: Printing object variables.

    If you override the toString method then it should return a meaningful human readable text description of that particular object. That is the general contract.

    What is going on behind the scenary...
  12. Replies
    3
    Views
    2,653

    Re: Scanner class

    Normally, a scanner is the first part of a compiling system. It is meant to be used to parse a document into tokens that a compiler might interpret. I have found this class to be very useful on...
  13. Replies
    5
    Views
    2,578

    Re: Applet ball not moving

    Probably doesn't work because you are using it wrong.

    ALWAYS ALWAYS ALWAYS read the api documentation.

    ALWAYS.

    You can't program anything unless you read the api and know how to use the...
  14. Replies
    5
    Views
    2,578

    Re: Applet ball not moving

    Run is called once and only once. When you start a thread it calls run to get it going. Therefore in your run statement you need to put the code in a while statement so it repeats. The while...
  15. Replies
    10
    Views
    2,999

    Re: Not Crappy Image Loader?

    You can pm it to me if you don't want it public. I'm not really sure what this application is supposed to do. It is for creating metadata about images and storing it in excel format?
  16. Replies
    10
    Views
    2,999

    Re: Not Crappy Image Loader?

    So it sounds like maybe you are holding on to references of the input bufferedimage and the garbage collector is not releasing them. Regardless of file size on the disk (jpeg is compressed), the...
  17. Replies
    4
    Views
    1,282

    Re: need help with this program please

    Please enclose your code snippets in CODE tags to preserve formatting as a courtesy to others. It improves your chances of getting a response.



    You don't say what doesn't work about it. What...
  18. Replies
    10
    Views
    2,999

    Re: Not Crappy Image Loader?

    If you package this as an executable jar it will convert all bmp files in the directory it is run from to jpeg 800x600 with bilinear filtering.


    package bmp2jpeg;

    import...
  19. Replies
    10
    Views
    2,999

    Re: Not Crappy Image Loader?

    It sounds like you are just complaining. I have done a comparison between ImageIO and perl using the ImageMagick library. They are the same speed to load, resize and save in another format. I...
  20. Replies
    10
    Views
    2,999

    Re: Not Crappy Image Loader?

    You must be doing something wrong if loading a 4mb image takes a 1gb internal footprint. Show code. ImageIO works fine for me.
  21. Replies
    2
    Views
    1,776

    Re: logout problem in jsp

    I don't think there is a reliable solution other than you must set a timeout for the session.

    HttpSession.setMaxInactiveInterval(int interval)

    You would put your database rectifying code in a...
  22. Replies
    3
    Views
    1,852

    Re: garbage collection

    The poster is asking how to find/ween the memory allocation hog in his 250,000 lines of code.

    I have not used the profiler yet but it is integrated into the Netbeans IDE which is free....
  23. Re: Applet Runs in Mozilla but not in IE (same VM used, others run ok)

    Check your java plugin config in control panel to make sure that the checkbox for IE is clicked in the advanced tab under Applet tag support.
  24. Replies
    4
    Views
    1,736

    Re: Applet Freezing on Refresh

    Use JApplet instead of Applet. Don't mix top level awt components with swing components. Just use swing.

    Other than that, I would drop the overrides for destroy, stop, etc. Those are to be...
  25. Replies
    1
    Views
    1,038

    Re: Drawing objects.

    http://javaalmanac.com/

    Consult the javaalmanac for common snippets of code.
Results 1 to 25 of 883
Page 1 of 36 1 2 3 4





Click Here to Expand Forum to Full Width

Featured