Search:

Type: Posts; User: Fazan

Page 1 of 2 1 2

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    2,840

    Re: BufferedWriter writing garbage after a close()

    From experimentation and reading about their implementation, both write() and append() work the same way except the former takes a String instance while the other takes a CharSequence instance, which...
  2. Replies
    3
    Views
    2,840

    BufferedWriter writing garbage after a close()

    I've been getting garbage repeated data in my output files for a few days now and have been troubleshooting my code to no avail. Finally, I tracked it down to my file-writing method. For simplicity's...
  3. Re: Dooes the "removeNodeFromParent" method from DefaultTreeModel remove grandchildren?

    Huh... I did not know that. Thank you kindly, I'll go read up on that :)



    If that's the only case of concern, then I don't suspect that's the case. If the children of a removed node are added...
  4. Re: Dooes the "removeNodeFromParent" method from DefaultTreeModel remove grandchildren?

    Right, that. I am, unfortunately, not entirely clear on what is considered reachable and what isn't. Can two objects referencing each other but each without a reference exposed to ME considered to be...
  5. Re: Dooes the "removeNodeFromParent" method from DefaultTreeModel remove grandchildren?

    Right, that's what I was asking. I know the garbage collector will, um... "Collect" objects with no references pointing to them, but I don't know if that's the case with the children of a removed...
  6. Dooes the "removeNodeFromParent" method from DefaultTreeModel remove grandchildren?

    I'm hoping this is a simple question with an easy answer. I have a fairly large JTree that I need to remove a node from, but that node may have children and those children may have children of their...
  7. Replies
    11
    Views
    2,687

    [SOLVED] Re: Eclipse won't save source folders to JAR

    I apologise it took me so long to respond. The message arrived at, like, 4 AM :)

    I tried the instructions given and they seem to work, though I won't say "perfectly." When saved as an archive,...
  8. Replies
    11
    Views
    2,687

    [SOLVED] Re: Eclipse won't save source folders to JAR

    Certainly. The main window looks like this:

    2467

    Here I've marked PersonalTest (the project), all three folders (plus .settings) and a couple of files inside. You would think that "Export all...
  9. Replies
    11
    Views
    2,687

    [SOLVED] Re: Eclipse won't save source folders to JAR

    I don't have that option at all, likely because I'm using the wrong kind of export. In Ecplipse, the only way I could find to export anything is to right-click on a project and select Export. This...
  10. Replies
    11
    Views
    2,687

    [SOLVED] Re: Eclipse won't save source folders to JAR

    My layout looks like this:

    2466

    Costumes, Interface and Main need to be separated, as I have Common in two of them.

    As to exporting a project, I don't know that Eclipse makes a distinction....
  11. Replies
    11
    Views
    2,687

    [SOLVED] Re: Eclipse won't save source folders to JAR

    I don't see this option when exporting. I'm using Eclipse 4.2.1, and it just doesn't offer me this anywhere during the export process. Is it an option I need to set somewhere else? Shamefully, I...
  12. Replies
    11
    Views
    2,687

    [SOLVED] Eclipse won't save source folders to JAR

    This is something which has been dogging me since I started using Eclipse: When I save my project to a non-runnable JAR, what ends up inside it isn't in the same folders structure as what I had in...
  13. [SOLVED] Re: Passing console parameters to fastaFromBed under Ubuntu

    Well, son of a gun! I always knew it would be something inane that was causing the problem, but I didn't think it would be THIS inane. I've been on the phone with a colleague of mine, brainstorming...
  14. [SOLVED] Re: Passing console parameters to fastaFromBed under Ubuntu

    Oh, damn! I didn't realise what code I'd posted. This is from when I tried to pass everything as a single string. I did try precisely what you suggested, and it threw p the exact same error. The code...
  15. [SOLVED] Passing console parameters to fastaFromBed under Ubuntu

    I'm running into a problem that I simply cannot wrap my head around. As part of my job, I need to run the fastaFromBed application of the "betdools" package, and that only works under Linux. We have...
  16. Replies
    12
    Views
    2,562

    Re: Does the Scanner class use an internal buffer?

    Thank you. I suspected, but it's been a while since I've used precise terminology (I'm not actually a native English speaker) so I'm not sure if I was ever clear on this. I'll see about getting the...
  17. Replies
    26
    Views
    3,368

    Re: SIMPLE PROGRAMING PROBLEMS help!!

    Ah, yes, the semicolon after the if statement. Can't believe I didn't spot that. Yes, if you put a semicolon after an if statement, you end it there and the following code block executes because it's...
  18. [SOLVED] Re: Gotten easy code by proffessor that I don't understand, do you?

    Fair enough. Apologies for breaking the rules. I didn't think I said too much, but I defer to your judgement.
  19. Replies
    12
    Views
    2,562

    Re: Does the Scanner class use an internal buffer?

    At the risk of revealing that I'm not entirely certain I know what a Java Development Kit is, I use Eclipse for code-writing purposes and that's about the extent of it. Beyond that, my only other...
  20. Replies
    13
    Views
    2,585

    Re: Creating a close button

    Fair enough. I'm not that familiar with Java's guts workings so I'm going by what I've been told by random people over the years. I don't remember what the stated problem was, basically.
  21. [SOLVED] Re: Gotten easy code by proffessor that I don't understand, do you?

    Why it took such mental gymnastics to do what shouldn't need to be this complicated, though, I don't know.
  22. Replies
    3
    Views
    1,167

    Re: New to programming and need some help

    Typically, when you're trying to indicate you have one item "to the power of" another, you use the ^ sign. Also, when you have only letters, it's useful to include * signs for multiplication. So,...
  23. Replies
    26
    Views
    3,368

    Re: SIMPLE PROGRAMING PROBLEMS help!!

    I don't get what the problem with the egg carton task is. It looks like it should work fine.

    As for your string of If statements, it looks like you're using a bad "and" operator. Java's logical...
  24. Replies
    17
    Views
    1,363

    Re: Please Help me with this

    Java's Swing is NOT easy to learn by yourself, and it's definitely not in the scope of being explained on a forum if you're not at least somewhat familiar with it. I'd say keep bugging your...
  25. Replies
    13
    Views
    2,585

    Re: Creating a close button

    I'm told that's not a good idea, as it simply pulls the main process without disposing of reserved resources, but I can't say whether this is the case or not.

    I do know I prefer to use dispose(),...
Results 1 to 25 of 38
Page 1 of 2 1 2