Results 1 to 6 of 6
  1. #1
    skadron_alfa is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Default how to show jpanel from external jar?

    Here is my case:
    1. i've made a desktop application using netbeans
    2. it contains main.class that launch the myForm.class.
    3. it works when run from its project and netbeans
    4. then, i made it became a jar file
    5. i put the jar file in a specific folder (eg. as same folder as the new desktop app. 'll load the jar). so, how i should load it when run time (using source code)

  2. #2
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default Re: how to show jpanel from external jar?

    How did you make the jar

  3. #3
    skadron_alfa is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Default Re: how to show jpanel from external jar?

    using clean and build menu on netbeans

  4. #4
    skadron_alfa is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Default Re: how to show jpanel from external jar?

    here my class that will be loaded as external jar
    Attached Files Attached Files

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: how to show jpanel from external jar?

    Why did you re-ask this same question? It's not fair to the volunteers here to needlessly divide discussion. Please read the FAQ regarding these and other forum rules.

  6. #6
    skadron_alfa is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Default Re: how to show jpanel from external jar?

    i am really sorry, i sent it in "advanced java" first and i recieved from DarrylBurke said: "Moved from 'Advanced Java'.
    so i thought i need to rewrite my question in "new to java" forum. i am sorry, but until now i can't solve my problem. am i in wrong forum again?

Similar Threads

  1. Last JLabel I add to JPanel doesnt show up
    By Ambergahill in forum New To Java
    Replies: 6
    Last Post: 01-29-2014, 08:07 PM
  2. how to open class(jpanel) from external jar?
    By skadron_alfa in forum New To Java
    Replies: 3
    Last Post: 01-15-2012, 05:41 AM
  3. JPanel colors don't show
    By mando in forum AWT / Swing
    Replies: 2
    Last Post: 08-31-2011, 03:52 AM
  4. JPanel: Show Tooltip on click
    By knuth in forum New To Java
    Replies: 2
    Last Post: 10-01-2009, 04:46 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
  •