Search:

Type: Posts; User: Fazan

Page 1 of 2 1 2

Search: Search took 0.30 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. Replies
    11
    Views
    411

    [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,...
  6. Replies
    11
    Views
    411

    [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...
  7. Replies
    11
    Views
    411

    [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...
  8. Replies
    11
    Views
    411

    [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....
  9. Replies
    11
    Views
    411

    [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...
  10. Replies
    11
    Views
    411

    [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...
  11. [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...
  12. [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...
  13. [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...
  14. 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...
  15. Replies
    26
    Views
    1,257

    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...
  16. [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.
  17. 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...
  18. Replies
    13
    Views
    937

    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.
  19. [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.
  20. Replies
    3
    Views
    359

    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,...
  21. Replies
    26
    Views
    1,257

    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...
  22. Replies
    17
    Views
    452

    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...
  23. Replies
    13
    Views
    937

    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(),...
  24. Re: Does the Scanner class use an internal buffer?

    Yeah, I checked my Java folder, but all it has is JRE folders for Java 6 and 7 (I'm still using 6, by the way, legacy stuff). No JDK. As far as Windows 7 can be trusted, I ran a search just in case I...
  25. Re: Does the Scanner class use an internal buffer?

    I can't seem to find that on my system, I'm afraid. I checked the Java folder and the Eclipse folder but I can't find a source file. I'm sure it has to exist somewhere for my system to know what's in...
Results 1 to 25 of 36
Page 1 of 2 1 2