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...
Type: Posts; User: Fazan
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...
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...
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...
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...
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...
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...
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,...
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...
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...
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....
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...
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...
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...
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...
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...
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...
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...
Fair enough. Apologies for breaking the rules. I didn't think I said too much, but I defer to your judgement.
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...
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.
Why it took such mental gymnastics to do what shouldn't need to be this complicated, though, I don't know.
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,...
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...
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...
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(),...