First of all welcome to the forum :) I'm also sorry to hear about your brain injury - nothing to serious I hope.
I've just recently started some Android programming myself, but tend to go for...
Type: Posts; User: Bacon n' Logic
First of all welcome to the forum :) I'm also sorry to hear about your brain injury - nothing to serious I hope.
I've just recently started some Android programming myself, but tend to go for...
When ever I get these sorts of problems I first check the following:
-Do the files exist ?
-Have I got the right case/spelling for the file names?
-Do the files have the correct data in them?...
-Do you have to use a while?
-If so, think about a condition that when encountered will stop the loop (a certain number reached, a specific value)
-Is there a way in Java to convert a character to...
That's 31:
if(content.hasText()){System.out.println("result is " + content.text());
@Norm - parsing HTML
Java's Standard Library has this class:
ParserDelegator (Java Platform SE 7 )
Which can do HTML parsing for you. However, most Java programmers I know tell me steer...
Hi folks, I'm trying to parse some HTML using the Jsoup 3rd party library but I seem to be getting a nasty exception everytime I try running the program. (for reasons unbeknown to me)
import...
Throw in a nice foot rub for good measure :-j
Having put a '\n' at the end of my input text file - the problem seems resolved - albeit with the '\n' now being visible on output. Is this the intended solution, Or is there another way?
hmm, ok. So I realise that the condition of the while loop remains static - and thus will never terminate. But I'm not to sure of how to change this.
My first guess was to Change my code to this...
Ah, I like your efficiency with the anonymous classes instead of one big lump of chained code - definitely will keep a mental note of that cheers ;) However, no dice I'm afraid - I was more...
Hi again,
Just thought I'd check with you guys to see where I've gone wrong with this simple I/O program. Having just done quite a bit of reading on I/O I thought would write myself I nice little...
Can I just say I big thanks to everyone who has posted on here; I think I've gained some understanding on the topic from all the responses made. And the examples in particular have been great btw...
I've been studying I/O recently, using the Sun tutorials mainly as my primary resoucre and I've come across I few syntactical issues that I don't quite understand and would appreciate any light at...
Having had a pretty inept ICT (British equivalent I guess?) teacher myself during my high school years, I know the how irksome it can be. Almost put me off the whole thing, which I'm glad I didn't go...
I personally liked "Java in 60 Minutes a Day" by Rich Raposa (Wiley Publishing). It's a really good read which I always find a big plus; but not only that it avoids the common pitfall of not going...
I've been doing some reading on GUI's recently, and they involve interfaces when implementing the listener and the source of the Event. How is this relevant to your original question I hear you ask...
Wow, thanks for such an informative post. I think I can safely say my assumptions have been well and truely quashed!
p.s. And I'm glad my choice of username has not gone unnoticed :p
The 2 guys above have already answered this and quite well I must add; but just in case (let me know if this is not needed lol ;) )
In your actual progam (the one with the main method); you've...
Hi folks,
I'm a university student from the UK looking to improve my knowledge of Java :) . Admitedly, up until undertaking my Computer Science based course I had very little experience in...