• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Frames

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using FRAMES.oracle as backend.I want to get output from the datbase which i thought to get it on a TextArea.
but i thought of getting someother solution for that as the output is not the way i want...i mean "formatted".

I thought of using JTable but it looks as if it can only be used for download manager i mean NETWORK programs. can anyone suggest what will be the best way to get output from the backend when using "JFrame"

P.S.: I want output to be displayed on the same window, not to be dispalyed in a new file.

Thank you for giving your time
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To have formated text you can use JTextPane and JEditorPane.

http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTextPane.html

http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JEditorPane.html

http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html


However JTable will suit your requiremnt.
 
reply
    Bookmark Topic Watch Topic
  • New Topic