Results 1 to 2 of 2
  1. #1
    iFrozen94 is offline Member
    Join Date
    Feb 2014
    Posts
    18
    Rep Power
    0

    Question .Jar not working as expected

    Hello ... the problem which im facing when executing jar file is it is not working same as when i run file using the IDE.

    When run jar file, it won't open the new frame even the user and pass combination correct.

    .Jar not working as expected-error1.png

    But when i'm compiling using the IDE, it works as charm. The main menu popped up after i logged in.

    .Jar not working as expected-error2.png

    I've tried Clean and Build and it's not working too.
    Your time and help would greatly be appreciated.

  2. #2
    iFrozen94 is offline Member
    Join Date
    Feb 2014
    Posts
    18
    Rep Power
    0

    Default Re: .Jar not working as expected

    Now i have solved the problem ... the problem is caused by the JButton image invalid name ( I run the .jar file using java-jar and i detected the exception ) . But i'm curious that why the JButton image nams was invalid but it's still workable when i compiling it ? E.g : EditCustomer.png --> editCustomer.png

Similar Threads

  1. Method not working as expected?
    By heatblazer in forum Advanced Java
    Replies: 2
    Last Post: 11-07-2013, 06:31 AM
  2. Parse int not working as expected
    By codyjava in forum New To Java
    Replies: 7
    Last Post: 11-03-2013, 08:16 PM
  3. replaceAll(string a, string b) not working as expected
    By Bronsonboy in forum New To Java
    Replies: 3
    Last Post: 07-16-2012, 01:18 AM
  4. Gridbaglayout not working as expected
    By berkeleybross in forum AWT / Swing
    Replies: 7
    Last Post: 07-06-2010, 01:11 PM
  5. Replies: 8
    Last Post: 05-28-2008, 08:00 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
  •