Results 1 to 7 of 7

Thread: Graphic library

  1. #1
    xeannart is offline Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    0

    Post Graphic library

    Hello,

    I need help writing my own graphic library like sdl. I need help to get started.

    First, how do you call up a window without relying on the implemented java containers?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,558
    Rep Power
    23

    Default

    new Window();
    What is an implemented java container?

  3. #3
    xeannart is offline Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    0

    Default

    JFrame or JPanel or JComponents

  4. #4
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    7

    Default

    Pretty much stay with JFrame. Read the docs, struggle as need be. Save us all a lot of re-inventing the wheel.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  5. #5
    xeannart is offline Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    0

    Default

    but that's what I want to work on, reinventing the jframe :p

    btw where can you get the source code for java?? especially for jframe? the download site from sun only let you download the jre and sdk

  6. #6
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,558
    Rep Power
    23

    Default

    The source for java is in src.zip that is included in the JDK download.

  7. #7
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    7

    Default lets start simple.

    Quote Originally Posted by xeannart View Post
    but that's what I want to work on, reinventing the jframe
    I like to work this way, most people don't. Sources are as Norm directs.

    Frame (Java 2 Platform SE 5.0) will have to be the base. I looked, probably start with some sample code from the Trail: Creating a GUI with JFC/Swing (The Java™ Tutorials)
    tutorials.

    Have you ever coded before?
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. Replies: 5
    Last Post: 04-25-2009, 08:00 PM
  2. Graphic settings being overridden?
    By sjchase in forum New To Java
    Replies: 0
    Last Post: 01-16-2008, 11:27 PM
  3. Basic Graphic
    By jkswebsite in forum Java 2D
    Replies: 6
    Last Post: 11-26-2007, 02:19 AM
  4. How do insert a Graphic
    By carl in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 05:30 AM
  5. Swing Graphic interface
    By Daniel in forum AWT / Swing
    Replies: 2
    Last Post: 06-28-2007, 04:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •