Re: AWT ScrollPane

From: ak (spam_at_imagero.com)
Date: 05/30/04


Date: Sun, 30 May 2004 11:43:32 +0200


> >> What I do is swap it with a vanilla TextArea if someone wants to cut
> >> and paste,
> >can you explain me the purpose of such component?
>
> see http://mindprod.com/projects/javapresenter.html

Roedy,

since you know line height in your component, you can easy track (and paint)
text selection without vanilla TextArea.

-- 
http://uio.dev.java.net
http://reader.imagero.com


Relevant Pages

  • Re: Swing components with special needs?
    ... Or one that contains a child component, ... Override paint. ... Put paintComponent after paintChildren, and draw ... selection related stuff in paintComponent; ...
    (comp.lang.java.programmer)
  • Swing components with special needs?
    ... Suppose I want to make a Swing component that contains objects that ... Override paint. ... Put paintComponent after paintChildren, and draw ... selection related stuff in paintComponent; ...
    (comp.lang.java.programmer)
  • Re: Inverse feathering question
    ... > I have used elliptical marquee tool to encircle the face ... Some newbies mistakenly think that the Paint Bucket tool is ... you fill a selection with the foreground color by holding ... > How do I feather/fade the boundary of the elliptical shape. ...
    (comp.graphics.apps.photoshop)
  • Re: Disabling Items in a Listbox
    ... with part of the DrawItem sub from the UC. ... don't want to allow selection of a disabled item you ... don't need to worry about paint colors. ...
    (comp.lang.basic.visual.misc)
  • Re: How do you make a black background for a selection of a picture?
    ... > How do you make a black background for a selection of a picture? ... Make a duplicate layer, paint that ... then use the history brush to paint out the black overlay. ...
    (comp.graphics.apps.photoshop)