Page 2 of 2 FirstFirst 12
Results 21 to 29 of 29
  1. #21
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Is it possible to copy from the contents of the shell prompt window and paste it here?
    Your post looks like you typed it into the post vs being copied from the window.

    What version of java do you have on Linux? Is it from Sun or whom?
    Enter: java -version and copy the results here.

  2. #22
    pranav13's Avatar
    pranav13 is offline Member
    Join Date
    Oct 2008
    Location
    Greater Hyderabad
    Posts
    37
    Rep Power
    0

    Default

    Here is the version of java. I have developed it in NetBeans6...
    java version "1.4.2"
    gij (GNU libgcj) version 4.1.1 20061011 (Red Hat 4.1.1-30)

    Copyright 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Thanks and Regards,
    Pranav

  3. #23
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Don't know anything about gij. I'd recommend you use Sun's version of java.

  4. #24
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    I've often seen Gnu Java referred to as "Fake Java" on the Sun forums. It's caused many a poster a fair amount of grief.

    I second Norm's recommendation to uninstall Gnu Java and install the Sun JDK.

    db

  5. #25
    pranav13's Avatar
    pranav13 is offline Member
    Join Date
    Oct 2008
    Location
    Greater Hyderabad
    Posts
    37
    Rep Power
    0

    Smile Thankyou!

    thank you for your replies!

    i have installed sun`s jdk in my Linux OS.

    I am getting the output but its giving an error as follows.
    gtk 2.0 not supported. ignoring.

    and sth like clearlooks unsupported!

    pls enlighten me why im getting this error and possible workarounds.
    Thanks and Regards,
    Pranav

  6. #26
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    gtk 2.0 not supported. ignoring.
    I've never seen that message from Sun's jvm. I'm on windows.
    You may need LInux OS support.

    Try this one:
    Programming Talk - Ubuntu Forums
    Last edited by Norm; 10-16-2008 at 10:08 PM.

  7. #27
    pranav13's Avatar
    pranav13 is offline Member
    Join Date
    Oct 2008
    Location
    Greater Hyderabad
    Posts
    37
    Rep Power
    0

    Default

    yes... i to came to know about it yesterday. clearlooks is a theme of gtk.
    i have installed java 6 on my linux system and running this app.

    how can i make my app look richer? i mean the look of form and button styles? can we do it using swings? using which UI components i can do it?

    pls tell me
    Last edited by pranav13; 10-17-2008 at 11:24 AM.
    Thanks and Regards,
    Pranav

  8. #28
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    I don't use Linux, so this is just a wild guess. You could try
    Java Code:
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    Of course you'll have to put that in a try-catch.

    db

  9. #29
    pranav13's Avatar
    pranav13 is offline Member
    Join Date
    Oct 2008
    Location
    Greater Hyderabad
    Posts
    37
    Rep Power
    0

    Smile

    thanks bruke!
    thts working fine by using system look and feel.
    :)
    Thanks and Regards,
    Pranav

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Problem with String Building
    By Albert in forum New To Java
    Replies: 2
    Last Post: 04-30-2012, 12:49 AM
  2. JAR Building Problem
    By GhosT in forum New To Java
    Replies: 12
    Last Post: 09-27-2008, 03:21 PM
  3. help needed regarding tree building
    By invincible_me in forum New To Java
    Replies: 2
    Last Post: 08-12-2008, 01:44 PM
  4. building a house
    By dc2acgsr99 in forum Java Applets
    Replies: 4
    Last Post: 03-07-2008, 11:18 PM
  5. Building a document from a DOM
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-03-2008, 09:22 AM

Posting Permissions

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