DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    11

    Help with interfaces

    Hi, im relatively new with java and was wondering if anyone could give me some help with how to make 2 things:
    A: A simple box with 5 numbers, with buttons to raise or lower the corrosponding number by x when pressed. (Figured it out XD)
    B: A box with an arrow in it that could be moved or turned using the arrow keys.

    Any help would be greatly appreciated, sorry i couldnt be more specific.
    Last edited by Gaia2000; 07-08-2006 at 08:53 AM.

  2. #2
    Join Date
    Mar 2004
    Posts
    635
    Look up the KeyListener class.

  3. #3
    Join Date
    Apr 2005
    Posts
    11
    Thanks alot, sorry for the late reply, and the probably obvious question, i may wind up asking something else later but this helped alot

Similar Threads

  1. Correct usage/method of Java Interfaces
    By AashuKapil in forum Java
    Replies: 4
    Last Post: 08-13-2007, 02:45 AM
  2. Interfaces Inheriting from Interfaces
    By Larry Hunter in forum .NET
    Replies: 1
    Last Post: 01-26-2003, 11:45 PM
  3. Miltiple interfaces in Java and naming conflicts resolution
    By valentin in forum Architecture and Design
    Replies: 2
    Last Post: 09-05-2002, 07:45 AM
  4. Interfaces
    By o11011 in forum .NET
    Replies: 6
    Last Post: 03-19-2002, 08:31 PM
  5. Re: Interfaces Question
    By Robert Cullen in forum Java
    Replies: 0
    Last Post: 10-23-2001, 07:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links