Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Addding multiple jTables in jTextArea

Addding multiple jTables in jTextArea

Scheduled Pinned Locked Moved Java
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anchal Singh
    wrote on last edited by
    #1

    I am making a desktop application in swing.I want to add multiple tables in a text file or textarea. providing the table format, contents,rendering must be same . I am able to display the contents on text area but failed to keep the same formatting. I have to generate report at last which contains multiple tables of different sizes from different frames. Suggest me the solution or alternatives

    S 1 Reply Last reply
    0
    • A Anchal Singh

      I am making a desktop application in swing.I want to add multiple tables in a text file or textarea. providing the table format, contents,rendering must be same . I am able to display the contents on text area but failed to keep the same formatting. I have to generate report at last which contains multiple tables of different sizes from different frames. Suggest me the solution or alternatives

      S Offline
      S Offline
      Shubhashish_Mandal
      wrote on last edited by
      #2

      TextArea does not support any html content. You can use a JEditorPane to display HTML or a JTextPane,

      Regards Shubhashish

      A 1 Reply Last reply
      0
      • S Shubhashish_Mandal

        TextArea does not support any html content. You can use a JEditorPane to display HTML or a JTextPane,

        Regards Shubhashish

        A Offline
        A Offline
        Anchal Singh
        wrote on last edited by
        #3

        Thanks Shubhashish, but i am not taking about html content in jtextarea,i want to add jTables in jTextArea or jTeaxtPane

        S 1 Reply Last reply
        0
        • A Anchal Singh

          Thanks Shubhashish, but i am not taking about html content in jtextarea,i want to add jTables in jTextArea or jTeaxtPane

          S Offline
          S Offline
          Shubhashish_Mandal
          wrote on last edited by
          #4

          you may try this http://www.activetree.com/jreport/docs/smartjreport_tutorial.html#can_i_automatically_print_or_pdf[^]

          Regards Shubhashish

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups