Page 2 of 2 FirstFirst 12
Results 21 to 28 of 28
Like Tree3Likes

Thread: Get cell position in GridLayout

  1. #21
    daxserver is offline Member
    Join Date
    Apr 2012
    Location
    Vijayawada, India
    Posts
    22
    Rep Power
    0

    Default Re: Get cell position in GridLayout

    At the end of the game, I want to 'reload' the program as if it is closed and opened. I tried many but didn't get solution.

    And can you tell me how to pack class files into .jar file. I tried Creating a JAR File (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files) but it did not launch the program.
    Last edited by daxserver; 05-25-2012 at 09:23 PM.

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

    Default Re: Get cell position in GridLayout

    it did not launch the program.
    Did you get any error messages?
    Open the jar manually in a command prompt window with the java -jar option:
    java -jar <JARFILENAME>.jar

    Was the manifest file properly setup? It needs a Main-Class: entry
    daxserver likes this.
    If you don't understand my response, don't ignore it, ask a question.

  3. #23
    daxserver is offline Member
    Join Date
    Apr 2012
    Location
    Vijayawada, India
    Posts
    22
    Rep Power
    0

    Default Re: Get cell position in GridLayout

    Yes, the manifest file is not configured properly. It is now working.

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

    Default Re: Get cell position in GridLayout

    please mark as solved if its working.
    If you don't understand my response, don't ignore it, ask a question.

  5. #25
    daxserver is offline Member
    Join Date
    Apr 2012
    Location
    Vijayawada, India
    Posts
    22
    Rep Power
    0

    Default Re: Get cell position in GridLayout

    Quote Originally Posted by Norm View Post
    please mark as solved if its working.
    How can I do that?

  6. #26
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default Re: Get cell position in GridLayout

    Edit the first post in the thread
    Click 'Go Advanced'
    Select the Prefix
    Save

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #27
    daxserver is offline Member
    Join Date
    Apr 2012
    Location
    Vijayawada, India
    Posts
    22
    Rep Power
    0

    Default Re: Get cell position in GridLayout

    Quote Originally Posted by DarrylBurke View Post
    Edit the first post in the thread
    Click 'Go Advanced'
    Select the Prefix
    Save

    db
    There is no Edit button for any of my posts?!

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

    Default Re: Get cell position in GridLayout

    done
    If you don't understand my response, don't ignore it, ask a question.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Alignment in GridLayout
    By Zamereon in forum AWT / Swing
    Replies: 2
    Last Post: 02-27-2011, 11:49 AM
  2. help! Gridlayout
    By eiramae in forum Java Applets
    Replies: 3
    Last Post: 02-19-2011, 05:11 AM
  3. get position in string from caret position
    By helloworld111 in forum AWT / Swing
    Replies: 5
    Last Post: 02-19-2009, 01:36 AM
  4. SWT GridLayout
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-08-2008, 09:04 AM
  5. Gridlayout
    By Marty in forum AWT / Swing
    Replies: 2
    Last Post: 05-31-2007, 11:48 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
  •