Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Getting started

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Thanked 0 Times in 0 Posts

    Default Getting started

    I'm not sure if this is the right place to put this but I need some help, I need to make a midi message mapper but i'm stuck on certain section, I was wondering if you could help!

    Below are the bits i'm stuck on. I need ....

    The application to present a list of MIDI input devices to the user.
    The user shall select the appropriate input device and press OK or Cancel.
    If the user presses Cancel, then the application shall exit cleanly.

    What sort of code would do this?

    help would really get me started! thanks

  2. #2
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    My Mood
    Thanked 105 Times in 90 Posts

    Default Re: Getting started

    public class MIDIMapper extends JFrame {
       public MIDIMapper(){}
       public void createAndShowGUI(){
            // Add GUI
       public static void main(String[] args){
           javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new MIDIMapper().createAndShowGUI();

Similar Threads

  1. “Getting started with RMI” tutorial for beginners
    By danielstoner in forum Java Programming Tutorials
    Replies: 1
    Last Post: March 24th, 2020, 05:05 AM
  2. Getting started...
    By Sedsarq in forum Java Theory & Questions
    Replies: 3
    Last Post: November 17th, 2009, 06:46 PM
  3. Can someone help me get started?
    By six in forum The Cafe
    Replies: 4
    Last Post: October 24th, 2009, 12:54 PM
  4. How to get started with Java?
    By Terry in forum The Cafe
    Replies: 4
    Last Post: May 15th, 2009, 03:31 AM