I\'m trying to learn java and I am trying to make a simple calculator.For some reason I am getting a NullPointerException on my TextField.setText().
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
I have heard that catching NullPointerException is a bad practice, and i think it is sensibly so. Letting the NullPointerException to propagate to the top would allow the detection of a something goin
I am trying to execute Javascript function called \"returnAllLinkTexts()\" on the DOM html page loaded via my Java application. Below line is executed by a Swing Buton.
i recently coded a Android Widget and tested it on Emulator as well as my Galaxy S , it worked fine on both, after i posted the same to android market now i am getting some error reports.
public class BooksTestDrive { public static void main(String[] args) { Books [] myBooks = new Books[3];
I\'m trying to create an arbitrarily long natural number using a stack of integers. I\'m pretty new to Java, but here\'s what I\'ve got so far:
I have some problems im not able to recreate in emulator, but i keep getting error reports in android market that i have no clue how to solve... anyone else that might see it id be wery greatful
When I am declaring the array of jtextarea using the following code: tabs[i] = new javax.swing.JTextArea();
Currently debugging, and found an if-statement which for no (I thought...) reason gave me an NPE, obviously for a reason. Which seemed to be that the statement turned out to be if(false && (nu