Re: adding a graphics2d object to a jpanel



What Im trying to do in the end is to create a graphic object that can
be inserted into a JScrollPane. I would like to implement it in such a
way so that I can detect the text that is drawn to the screen, and when
the text is clicked on, I want to give the user an opportunity to edit
the text.

The text will appear in both the graphic and a table of information.
So by clicking on the graphic, if I cannot edit the text directly, I
will select the row on the table that the user needs to edit in order
for the editting to be done, while highlighting the text in the
graphic. When the user is done editting the text, I want to refresh
the graphic... If it cannot be editted in real time.

Does that explain it alright?

.



Relevant Pages

  • Re: adding a graphics2d object to a jpanel
    ... > be inserted into a JScrollPane. ... > So by clicking on the graphic, if I cannot edit the text directly, I ... When the user is done editting the text, ... http://uio.imagero.com Unified I/O for Java ...
    (comp.lang.java.gui)
  • Re: inserting Word file into another Word file as an image
    ... a graphic object across a page break ... source file even if i have highlighted and copied the entire source file. ... In the source document, select the required text and do Edit> Copy (or ... do Edit> Paste Special and paste as a picture. ...
    (microsoft.public.word.docmanagement)
  • Re: adding a graphics2d object to a jpanel
    ... > So by clicking on the graphic, if I cannot edit the text directly, I ... When the user is done editting the text, ... understand how to use Swing components, but if we had a description ... Is there any reason you can't use a JTextField or JTextArea? ...
    (comp.lang.java.gui)
  • Re: function key macros under XP
    ... >needed when editting (command line, text edit, etc.). ... >Is there capability provided in XP to do this? ...
    (microsoft.public.windowsxp.general)