On 29 Nov 1998, Juergen Kreileder wrote:
> > Nelson Minar writes:
>
> >> If I use setSize(100,100); I get a frame that's smaller than that:
> >> something like 90x72 I think: I've deleted the source and can't be
> >> bothered retyping it.
>
> Nelson> Top level frame sizes unh
> Nelson Minar writes:
>> If I use setSize(100,100); I get a frame that's smaller than that:
>> something like 90x72 I think: I've deleted the source and can't be
>> bothered retyping it.
Nelson> Top level frame sizes unhelpfully include the size of the
Nelson> window dec
> John Summerfield writes:
John> On 29 Nov 1998, Juergen Kreileder wrote:
>> It opens a frame with the size 1100x100.
John> You and I should read more closely. 1100x100 works correctly
John> here. 100x100 doesn't.
100x100 works too.
Juergen
>If I use setSize(100,100); I get a frame that's smaller than that:
>something like 90x72 I think: I've deleted the source and can't be
>bothered retyping it.
Top level frame sizes unhelpfully include the size of the window
decorations - titlebar and borders. It was a really bad choice, IMHO,
but
On Sun, 29 Nov 1998, Pavel Tolkachev wrote:
>
> Also be sure that your window manager ALLOWS so small Frames at all.
> Otherwise, peer can prevent your setSize() from doing its work.
If I use setSize(100,100); I get a frame that's smaller than that:
something like 90x72 I think: I've deleted th
> > It opens a frame with the size 1100x100.
> You and I should read more closely. 1100x100 works correctly here. 100x100 doesn't.
It's expected behavior of java. First time 'releasing' window or other
native component you indirectly call Component.addNotify() that adds
native peer to component.
On 29 Nov 1998, Juergen Kreileder wrote:
> Ok, the code does exactly what it's supposed to do on my machine:
> It opens a frame with the size 1100x100.
>
> What window managers do you guys use? What JDK version?
fvwm2 -cmd FvwmM4 -debug /etc/X11/AnotherLevel/fvwm2rc.m4
XFree86-3.3.2-5
RH 5.0++
J
On 29 Nov 1998, Juergen Kreileder wrote:
> It opens a frame with the size 1100x100.
You and I should read more closely. 1100x100 works correctly here. 100x100 doesn't.
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
> John Summerfield writes:
John> On Fri, 27 Nov 1998, Karthik Vishwanath wrote:
>> Hi all,
>> when i create an application as :
>> public class Myapp extends Frame
>> {
>> public Myapp()
>> {
>> super("MyApp");
>> setSize(100,100);
>> show();
>> }
On Fri, 27 Nov 1998, Karthik Vishwanath wrote:
> Hi all,
> when i create an application as :
> public class Myapp extends Frame
> {
> public Myapp()
> {
> super("MyApp");
> setSize(100,100);
> show();
> }
> }
>
> and run it, the setSize does not re
isn't a graduate trainee an undergraduate? sorry that this doesn't
answer your question, but your signature seemed interesting.
Karthik Vishwanath wrote:
> | Graduate trainee, |
> |
On Fri, 27 Nov 1998, Karthik Vishwanath wrote:
> when i create an application as :
> public class Myapp extends Frame
> {
> public Myapp()
> {
> super("MyApp");
> setSize(100,100);
> show();
> }
> }
>
> and run it, the setSize does not resize the f
Hi.
There is a problem with some components (Component) when you want to
change it size.
You must overwrite the method getPrefferedSize, and it works.
Or before caliing show method you write the pack method.
Karthik Vishwanath wrote:
> Hi all,
> when i create an application as :
> pu
13 matches
Mail list logo