java - show jtable in text area -


"text" itemprop = "text">

im working on a project and jtable is another need to display another form made from the resultset in the text field. I can display it as an example in this option dialog: (for example with 20 votes) but I must be in my form. The question is, this is the way to do this by using a text field as well as label / panel etc.

  thank you   

To answer your straight question: No, you do not display JTable inside JTextArea Without fully JTextArea and its functionality,

I'm not sure why you want to do so since such a thing, a JTextArea displays, since the text, and you want to do it Inside a component can not display, not completely messing up your functionality. That is, unless I am not telling the wrong meaning of your question, and if so, please clarify it.

What are you trying to display in JTextArea? JTable Data ? If so, this is a completely different thing if it is a case, it can be done so that it can be done:

  • JTextArea font to be mono-spaced Set
  • using string formatting String.format (...) You are allowed to display columns of data in a tabular fashion.
  • The details of any solution solution will depend on the details of the problem.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -