Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Marinova

    KeyEvents - how to register a Ctrl+Shift+A key combination?

    Hello everyone, a program I am writing needs to recognize keystrokes like CTRL pressed + Shift pressed + A typed. For this purpose i implemented a java.awt.event.KeyListener, but have problems to define the above-mentioned key situation, because the methods keyPressed() and KeyTyped() don't...
  2. Marinova

    Event Handling - Access to object instance from method actionPerformed

    Thanks very much. It worked! The program was compiled successfully, but the thing now is that the FileDialog does not appear. I have declared it with these lines of code: FileDialog saveDialog = new FileDialog(this,"",FileDialog.SAVE); saveDialog.setVisible(true); Then follow the...
  3. Marinova

    Event Handling - Access to object instance from method actionPerformed

    Hi Stijn147, my problem still persists. This is the contructor: public GUI() { super("Byte-/Zeichenorientierter Text Input/Output"); setVisible(true); setSize(700,500); setLayout(new BorderLayout()); TextArea input = new TextArea("",10,40...
  4. Marinova

    Event Handling - Access to object instance from method actionPerformed

    Hello everyone, i implemented an ActionListener in a GUI and want to access an attribute of the main class object instance from within method public void actionPerformed(ActionEvent e). The trouble is that the method does not recognize the object instance which was created in the main()...

Part and Inventory Search

Back
Top