LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2004, 04:00 PM   #1
logicdisaster
Member
 
Registered: Jun 2004
Posts: 41

Rep: Reputation: 15
Java Applet Updating


I created a table which pulls a list of games from a mysql database, i have filters at the top that allow the user to pick a topic like 2d side scroller or rpg and i want the table to filter out everthing except what the filter indicates, Im not quite sure how to do this i know how to get the event and figure out which topic it is but im not sure how to send it and requery and update the table. Do i use repaint or something right now i have the whole applet in the init() method and it draws just fine and shows the table with the content and stuff. So how do i get the filters to work? I dont need help with the sql or anything just need to know how to requery the database redraw the table with the information i need
 
Old 09-01-2004, 10:32 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Hi,
i remember fighting with that once i think the answer was

table.revalidate();
table.repaint();
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
need some help with a java applet gulo General 1 07-14-2005 02:52 PM
Java Applet ekl_n Programming 2 02-26-2005 11:48 AM
Java applet error: "Applet Failed" nro Programming 1 08-28-2004 05:52 PM
Java Applet paint() Jose Muņiz Programming 0 10-26-2003 06:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration