Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: japplet - jtable - browser

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default japplet - jtable - browser

    Hi,
    I have a jtable with a column fully checkboxed.
    It works perfect with appletviewer,
    but when i try to run it on browser a problem occurs like that ;
    i change values of three checkbox cells and cannot change the others without unchecking the one i last changed or clicking on the column headers line. And again the same occurs after three click.
    Maybe the cell which i third click on does not give up focus ?
    Please can you help?


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: japplet - jtable - browser

    I recommend you post some code, preferable a SSCCE that demonstrates the problem, because the cause could be a number of things and providing an example will provide much context to solve the problem.

  3. #3
    Junior Member
    Join Date
    Dec 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: japplet - jtable - browser

    Thanks, i thought but project is not little, it is hard to post a piece of code.
    If you say possibilities or guesses maybe i can find it quicker.
    ( I think the problem does not depend on the code)

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: japplet - jtable - browser

    Quote Originally Posted by jasonnuigi View Post
    Thanks, i thought but project is not little, it is hard to post a piece of code.
    Which is why I suggested a Short Compilable example, sometimes just in the process of doing this the problem manifests itself. It is an essential skill in debugging, being able to strip out pieces of code to narrow down and fix runtime errors.

    Quote Originally Posted by jasonnuigi View Post
    If you say possibilities or guesses maybe i can find it quicker.
    ( I think the problem does not depend on the code)
    So you want me to guess? Ok, sign your applet. Things working in appletviewer and not in a browser could be a sign that your applet attempts processes which need your applet to be signed to function properly Be aware this is a guess, and you can spend more time on a wild goose chase than it would take to strip out some code to post which demos the problem.
    Last edited by copeg; January 1st, 2011 at 01:00 PM.

  5. #5
    Junior Member
    Join Date
    Dec 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: japplet - jtable - browser

    It's ok.
    How i solved ;
    If you are using a third party jar be very careful on packaging while integrating the applet to the web project.

Similar Threads

  1. Convert Application to JApplet
    By MikeSki3 in forum AWT / Java Swing
    Replies: 2
    Last Post: May 12th, 2010, 01:20 PM
  2. Replies: 0
    Last Post: April 17th, 2010, 08:29 AM
  3. Cannot update Jlabel in JApplet
    By rin in forum Java Applets
    Replies: 2
    Last Post: April 17th, 2010, 08:21 AM
  4. JApplet containing JButton and a JLabel
    By JuneM in forum AWT / Java Swing
    Replies: 3
    Last Post: March 26th, 2010, 08:32 AM
  5. how to get url, from browser in the socket class?
    By chinni in forum Java Networking
    Replies: 0
    Last Post: November 6th, 2009, 10:34 AM