1. Java GUI Design - "Wasted" Inheritance? stackoverflow.comI am new to GUI design and am struggling a little to decide whether my intended use of inheritance is acceptable (I am familiar with the general concept of favouring composition). For ... |
2. Overriding a deprecated JComponent method stackoverflow.comIn a rich client CRUD framework I'm working on, I have a so-called edit panel, which as the name suggests, is involved in editing row objects via the usual swing input ... |
3. problem in inheritence in java stackoverflow.comI have a Frame class that I put one Jtree on it, now I developed a TreeSelectionListener for my tree. since my tree is in my Frame class how I can ... |
4. Java inheritance or GUI gone wrong stackoverflow.comdespite some tips, I'm still getting this one wrong. I end up with one basic window and another one with extra features, but without the basic ones from the previous window. ... |
5. Inheritance between packages does not exist? stackoverflow.comPardon me for a stupid question but It recently dawned on me that I've been doing things like this import java.awt.*; import java.awt.event.*; ... |
6. Help with Inheritance (super) and extends? coderanch.comimport java.awt.*; import java.awt.event.*; import javax.swing.*; class NoBorderButton extends JButton { public NoBorderButton() { this( "" ); } public NoBorderButton( String label ) { super( label ); setBorderPainted( false ); } }; class IconButton extends JButton { public IconButton( String fileName ) { if( fileName != null ) { setIcon( new ImageIcon( fileName ) ); } } }; public class ButtonExtension ... |
7. An inheriting question coderanch.comWell, the idea is basically something like this: I have login window and if login was succesfully main window will open. There is on top of login window and main window some "title panel" which has always the same look (that is diveded in two panels). Hope this cleared a little bit? |
8. Problem with inheritance coderanch.comHi everyone, I am having trouble with my swing program. I was given an abstract class, and i am trying to implement a subclass for it. The abstract class has two abstract methods that i must implement: public abstract void createGUI(); public abstract void mousePressed(MouseEvent e); So, this is what i have after deleting everything else to isolate the error that ... |
9. Gui inheritance Question Using NetBeans coderanch.comI have a Frame that I inherited from JFrame Class. I have placed a couple of Buttons on that frame I will call this frame aFrame. Now what I want to do is inherit from the new aFrame class which has the buttons already placed on the frame. I could not find a way in the netbeans ide to specify that ... |
10. inherited from the Component class coderanch.comhi cambell, didn't seem to work, gave me a cannot find symbol error.. i have posted my original code below, it is the bit at the bottom plotdarryl.repaint giving the problem, it would usually work but i realised in the question it says "repaint Not part of PicturePlotter; inherited from the component class via Container and JComponent classes, so at that ... |
11. [SOLVED] must implement the inherited abstract method coderanch.comHello, this is my first post. I'm very new to Java (less than a week) and have decided to learn the language for personal use. I have several years of programming experience in other languages so the concepts of programming aren't new to me. The syntax is. I was following an online tutorial and found that I would receive errors when ... |
12. GUI AND INHERITANCE program help java-forums.orgHi. I have this program where I am using inheritance, to get the values for CPP and EI. The program works fine but everytime I try to calculate net pay, which is cpp- charity - ei, a new clank GUI keeps opening up and I have no idea why... here is the code. any help will be appreciated: Java Code: //CPP ... |