Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » help in java application
help in java application [message #208417] Tue, 01 May 2007 17:27 Go to next message
Eclipse UserFriend
Originally posted by: avnit_m.walla.co.il

hi!

I am doing a java panel, with text line.
I don't know how to control the size of the text line.
I tried to use setPrefrableSize but it didn't
help.

Thanks in advance.
Re: help in java application [message #208488 is a reply to message #208417] Wed, 02 May 2007 00:04 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Avnit wrote:

> hi!

> I am doing a java panel, with text line.
> I don't know how to control the size of the text line.
> I tried to use setPrefrableSize but it didn't
> help.

> Thanks in advance.

It might help if you could be more specific. Are you using a SWING or SWT?
Are you using a layout? If so, which one? What control are you using? Are
you concerned with (a) the display size of the widget or (b) the number of
characters that can be entered? Answers to these questions might allow
someone to give you some help. HTH. Mark Dexter
Re: help in java application [message #208520 is a reply to message #208488] Wed, 02 May 2007 05:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avnit_m.walla.co.il

Hi Mark,
Thank you.
In an answer to your qestions: I am using SWT and a Border layout.
I don't think that the control here is relevant,because I am just
interesting in the display size of the Text area.

Can you tell me how to get a smaller Text area?

Thank you in advance.
Avnit.
Re: help in java application [message #208606 is a reply to message #208520] Wed, 02 May 2007 13:53 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Avnit wrote:

> Hi Mark,
> Thank you.
> In an answer to your qestions: I am using SWT and a Border layout.
> I don't think that the control here is relevant,because I am just
> interesting in the display size of the Text area.

> Can you tell me how to get a smaller Text area?

> Thank you in advance.
> Avnit.

Are you sure you're not using Swing? I believe a BorderLayout is a Swing
class. If so, here is a link to the Java Tutorials that might be helpful:

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

HTH. Mark
Re: help in java application [message #208848 is a reply to message #208606] Thu, 03 May 2007 16:09 Go to previous message
Eclipse UserFriend
Originally posted by: avnit_m.walla.co.il

thanks Mark.

Avnit
Previous Topic:A little help please
Next Topic:Build with Subclipse, #2
Goto Forum:
  


Current Time: Thu Apr 25 21:54:04 GMT 2024

Powered by FUDForum. Page generated in 0.08273 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top