Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5324

Re: How to clip child from layout manager

From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.gui
Subject Re: How to clip child from layout manager
Date 2013-04-08 10:00 -0700
Organization A noiseless patient Spider
Message-ID <kjusuh$vib$1@dont-email.me> (permalink)
References <7a07006d-a3a8-4e09-b3a3-1cd9ee01328f@googlegroups.com> <kjnmhk$fb4$1@dont-email.me> <cd9d48a8-45a2-47bb-8807-acbbffac794b@googlegroups.com>

Show all headers | View raw


On 4/8/2013 7:38 AM, FredK wrote:
> But I want to see only that portion of it that is within my
> rectangle [upperleft=(250,350), lowerright=(350,500)]. Thus it clips
> itself around all edges - similar to what you see in the viewport
> of a ScrollPane
>

No idea.  Maybe try to put the component in a container like a panel, 
and adjust the panel size so the components are clipped.  Generally 
speaking, I think Swing tries to display components, not hide them.

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to clip child from layout manager FredK <fred.l.kleinschmidt@gmail.com> - 2013-04-05 10:03 -0700
  Re: How to clip child from layout manager markspace <markspace@nospam.nospam> - 2013-04-05 16:28 -0700
    Re: How to clip child from layout manager FredK <fred.l.kleinschmidt@gmail.com> - 2013-04-08 07:38 -0700
      Re: How to clip child from layout manager markspace <markspace@nospam.nospam> - 2013-04-08 10:00 -0700
  Re: How to clip child from layout manager Roedy Green <see_website@mindprod.com.invalid> - 2013-04-05 20:51 -0700
  Re: How to clip child from layout manager Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-04-08 14:08 -0700

csiph-web