Solved

Data-aware Swing Components

Posted on 2007-03-28
7
456 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:
Mayank S 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:Mayank S
ID: 19505746
You never replied to RizwanKhalid's comment. If that was not satisfactory, you should've replied back to him.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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 about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

912 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

19 Experts available now in Live!

Get 1:1 Help Now