Possible Duplicate: Update more than one row atomically I have a set of data-chunks stored in a noSQL database. To update the data I need to: fetch (get) update data write (put) (no direct ...

I am using swing to build a GUI with 4 JPanels inside a JPanel using the BorderLayout manager: A row of labels A column of JButtons A display area (it is a class that extends JPanel and has nothing ...

I know that a child cannot reduce the visibility of a non-static method and I understand why it is so. I've read however that "static method can be hidden through its redeclaration". I however do not ...

this is the snippet that produces an error saying : ')' expected ';' expected not a statement cannot find symbol symbol : variable ActionEvent The snippet : private void jMenuItem5ActionPerformed(...

I need to call some functions generated by some libs. I will need to call fucntion1, function2, ..., function10 one by one. Instead of writing them all out on the code, is there any clever way to code ...

I'm really confused with the concept of static vs instance methods. I have created a BMR calculator. I've seperated the GUI from the calculations using different classes. public class Calculations { ...

Reading here, it seems modelling a custom exception class using a generalisation is common place. What it doesn't mention is how I can model an association with a class that could potentially throw ...

I have this program: public class A { public A(){ System.out.println("I am in A"); } public static void main(String args[]){ B a = new B("Test"); } } class B extends A { ...

When a class extends another, it inherits all methods and variables of the superclass. Both methods and variables can be used differently in the subclass, if you define it differently in the subclass ...