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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 2 of 2

Thread: how to use SteelSeries library?

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to use SteelSeries library?

    hello...

    I want to make a GUI for display a compass. I have find a SteelSeries library from Harmonic Code

    But due to I am a newbie in java, I don't understand how to use it. I have write in netbean like this but nothing happened

    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
     
    package javaapplication3;
     
    import eu.hansolo.steelseries.extras.Compass;
     
     
    /**
     *
     * @author aang
     */
    public class Main {
     
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            // TODO code application logic here
     
            Compass kompas = new Compass();
            kompas.init(100,100);
            kompas.setValue(100);
            kompas.setTitle("Kompas");
        }
     
    }




    Can someone help me how to use the library please?

    these links I think I need to learn the library

    souce code:
    SteelSeries: Repository_V2: SteelSeriesFull: src: eu: hansolo: steelseries: extras: Compass.java — Project Kenai

    javadoc:
    Generated Documentation (Untitled)

    thx


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: how to use SteelSeries library?

    Looking at the javadoc, the Compass class extends JComponent. See Using Swing Components for tutorials on how to use JComponents

Similar Threads

  1. Grid GUI Library
    By aussiemcgr in forum Java Theory & Questions
    Replies: 7
    Last Post: September 15th, 2010, 03:30 PM
  2. Powerpoint Library
    By aussiemcgr in forum Java Theory & Questions
    Replies: 0
    Last Post: July 22nd, 2010, 08:26 AM
  3. Shared library path
    By sateesh.b in forum Java Native Interface
    Replies: 3
    Last Post: May 13th, 2010, 11:12 PM
  4. library
    By b109 in forum Java Theory & Questions
    Replies: 2
    Last Post: May 3rd, 2010, 05:32 AM
  5. Replies: 1
    Last Post: October 7th, 2008, 07:35 AM