Solved

Data-aware Swing Components

Posted on 2007-03-28
7
454 Views
Last Modified: 2013-12-14
Hi,
We need data-aware swing components that binds to XML and still could not have found a useful one.
Thanks,
Baris
0
Comment
Question by:barisdur76
  • 2
  • 2
7 Comments
 
LVL 30

Accepted Solution

by:
mayankeagle earned 25 total points
ID: 18813166
Every Swing component's contents are derived from an underlying model. The model could be extended by you to read the data from a database/ XML file etc.
0
 

Author Comment

by:barisdur76
ID: 18814252
Very good. I need a "ready to use" component. I don't want to deal with developing the component itself. I want to use it.
0
 
LVL 3

Assisted Solution

by:RizwanKhalid
RizwanKhalid earned 25 total points
ID: 18887957
You don't need to develop the component. You will only have to make a class that implements the model interface related to that component. In this model you have to implement function that read or write data. In these function, you write code so that it read and writes from XML or any other source.

Hope this helps.
0
 

Author Comment

by:barisdur76
ID: 19502944
I don't accept this answer.
As you can see from my comment to that answer, I make it clear that this comment has not satisfactorily answered the question. Indeed it is far away from the answer.
I demand this thread to be closed, and points refunded if possible.
Thanks in advance,
Baris
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 19505746
You never replied to RizwanKhalid's comment. If that was not satisfactory, you should've replied back to him.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now