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

Search:

Type: Posts; User: keang

Page 1 of 80 1 2 3 4

Search: Search took 0.17 seconds.

  1. Replies
    2
    Views
    464

    Re: How to print images correctly

    Check out this thread http://www.coderanch.com/t/341679/GUI/java/Printing-res-dpi-images
  2. Re: making drag and drop and connect in swing java

    You're best bet is to look at the JGraph website.
  3. Replies
    1
    Views
    986

    Re: Loading my text file into my jtable

    Cross posted at http://www.coderanch.com/t/608923/java/read-txt-file-jtable
  4. Re: making drag and drop and connect in swing java

    I think you can do this sort of thing with JGraph which is freely available.
  5. Re: Loading file into memory is taking up TOO much memory!

    That information has nothing to do with what you are doing with the data, it's in the excel spreadsheet and will get loaded by the excel library. Is it POI you are using?

    Try loading the excel...
  6. Re: Loading file into memory is taking up TOO much memory!

    That depends on how it is stored on disk and how the library is designed. But in all probability yes it will take up far more space because spreadsheets are complex things. For example each cell...
  7. Re: Loading file into memory is taking up TOO much memory!

    Have you tried loading several different size spreadsheets to see how the memory usage changes. You will possibly find a chunk of that 40Mb is a fixed overhead for using the library and so a doubling...
  8. Thread: java images

    by keang
    Replies
    1
    Views
    595

    Re: java images

    You aren't calling the methods that add the icons and you in those methods you aren't adding the JLabels containing the icons to the container.
    BTW I'm not sure about your code, you seem to be...
  9. Re: Loading file into memory is taking up TOO much memory!

    No, removing all references to an object allows it to be garbage collected but there is no guarantee it will be. Whether or not the garbage collector runs and if it does whether or not it collects a...
  10. Re: help:Convert Unicode into strings with respective characters

    Create a StringReader for the string containing unicode escape sequences and then use the read() method to read it in. I think that will convert them to their real characters. If not try this code:
    ...
  11. Thread: multiple input

    by keang
    Replies
    3
    Views
    588

    Re: multiple input

    Try the swing tutorial:
    http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html
  12. Thread: multiple input

    by keang
    Replies
    3
    Views
    588

    Re: multiple input

    Why not code your own JDialog that has the two input fields in it.
  13. Re: Developing Swing Application tool with MS Access DB

    Not sure about MS Access but there are other databases such as Apache Derby which you can bundle with your app and so you don't even need the user to have a database installed.
  14. Re: help:Convert Unicode into strings with respective characters

    Just read it in with a FileReader. It will automatically convert unicode notation to a character ie \u003e to '>' for you.
  15. Replies
    8
    Views
    1,674

    Re: AP comp sci help!

    public boolean hallIsClear()
    {
    boolean noItems = true;
    for (int i = 0; i<hall.length; i++)
    {
    if (hall[i]>0)
    noItems = false;
    }
    return noItems;
    }
  16. Replies
    8
    Views
    1,674

    Re: AP comp sci help!

    public boolean hallIsClear()
    {
    boolean noItems = true;
    for (int i = 0; i<hall.length; i++)
    {
    if (hall[i]>0)
    noItems = false;
    }
    return noItems;
    }
  17. Replies
    8
    Views
    1,674

    Re: AP comp sci help!

    /**
    * if there are any items on the current tile, then one items is removed
    * if there are more item on current tile, then robot remains facing same direction
    * if no more item exist on current...
  18. Replies
    1
    Views
    4,543

    Re: simple java gui quiz

    Forget trying to get this code working, it just isn't the way to solve this problem.

    You need to separate the questions and answers from the GUI components. You need a single GUI class that has a...
  19. Replies
    8
    Views
    1,674

    Re: AP comp sci help!

    I'm not 100% clear on what you are doing or why your main method keeps on creating new Robots but doesn't reset the values in the hall array which will be zeroed by the first Robot.
    Can you explain...
  20. Thread: GPA Program

    by keang
    Replies
    4
    Views
    1,929

    Re: GPA Program

    Or better still use an enum.
  21. Re: How to replace a line in a file through jtextfield?

    Your program is only outputting the values in the text fields and so the rest of the file will be lost. You need to write out the values for the whole file.
  22. Re: How to I put picture buttons inside a hexgrid

    Hexagons hex = new Hexagons(this, rows, cols, hexWidth, hexHeight);
    should be:

    Hexagons hex = new Hexagons(this, row, col, hexWidth, hexHeight);
  23. Replies
    3
    Views
    1,251

    Re: Convert csv to xls

    We don't write code to order but we will guide you if you want to do it yourself and it's not that hard a task.

    EDIT: Ignore the paragraph below - I mis-read your post and thought you wanted to...
  24. Replies
    5
    Views
    1,395

    Re: Program isn't reading my .txt file

    I've been coding in Java pretty much since it first came out in 1996 but was writing code in other languages for about 16 years before that.
  25. Replies
    5
    Views
    1,395

    Re: Program isn't reading my .txt file

    Glad to hear you have sorted it.
    The line of code I provided was for insertion into your program at the start of the main method. It will print out the fully qualified path for the directory =...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center