Solved

Data-aware Swing Components

Posted on 2007-03-28
7
464 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unhandled exception type Exception 18 52
ejb wildfly example 2 75
servlet and mdb, jms error 1 57
American Express @Work site and Java 4 69
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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:
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

730 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