BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Positioning controls...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
Gene Buckle
Guest





PostPosted: Thu Apr 15, 2004 5:40 pm    Post subject: Positioning controls... Reply with quote



By whatever accident, I got controls that I place on a form to actually show
up. However, the controls all center themselves at the top of the screen
and dragging them is impossible. There is no clues in the properties box
as to why these controls seem to auto-center and lock themselves in place.

What is going on? If this is some kind of (mis)feature, why is it the default
behavior?

No amount of hunting on Google has provided an answer and the documention
won't install (the installer silently fails after the installer finishes
unpacking to a temp directory).

I'm insanely frustrated by this damn thing. It's like Borland used their
brightest minds to create the Delphi and C++ Builder IDEs while hiring
Lloyd the Slow Janitor to do JBuilder's after making him suitably qualified
by subjecting him to 6 months of electroshock therapy followed by a frontal
lobotomy.

C'mon guys, throw me a rope here. If you can't help at least I'll have some-
thing handy to hang myself with. :)

g.

Back to top
Kevin Dean
Guest





PostPosted: Thu Apr 15, 2004 7:33 pm    Post subject: Re: Positioning controls... Reply with quote



Java (not JBuilder) uses layout managers to manage component placement. It
can be a little confusing at first, but once you understand the flexibility
of GridBagLayout you'll wish it were available in Windows. For a tutorial
on layout managers, see:

http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html

--
Check out our latest white papers at
http://www.datadevelopment.com/papers/index.html

BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server

Dolphin Data Development Ltd.
http://www.datadevelopment.com/

"Gene Buckle" <geneb (AT) grumble (DOT) deltasoft.com> wrote

Quote:
By whatever accident, I got controls that I place on a form to actually
show
up. However, the controls all center themselves at the top of the screen
and dragging them is impossible. There is no clues in the properties box
as to why these controls seem to auto-center and lock themselves in place.

What is going on? If this is some kind of (mis)feature, why is it the
default
behavior?

No amount of hunting on Google has provided an answer and the documention
won't install (the installer silently fails after the installer finishes
unpacking to a temp directory).

I'm insanely frustrated by this damn thing. It's like Borland used their
brightest minds to create the Delphi and C++ Builder IDEs while hiring
Lloyd the Slow Janitor to do JBuilder's after making him suitably
qualified
by subjecting him to 6 months of electroshock therapy followed by a
frontal
lobotomy.

C'mon guys, throw me a rope here. If you can't help at least I'll have
some-
thing handy to hang myself with. :)

g.




Back to top
Gene Buckle
Guest





PostPosted: Thu Apr 15, 2004 8:00 pm    Post subject: Re: Positioning controls... Reply with quote



Kevin Dean <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote:
Quote:
Java (not JBuilder) uses layout managers to manage component placement. It
can be a little confusing at first, but once you understand the flexibility
of GridBagLayout you'll wish it were available in Windows. For a tutorial
on layout managers, see:

http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html


Thanks for the info Kevin. I hammered on it for a while and discovered
that if I set the Frame layout property to NULL I could position the
controls how I liked.

g.


Back to top
John McGrath [TeamB]
Guest





PostPosted: Mon May 03, 2004 2:44 am    Post subject: Re: Positioning controls... Reply with quote

On 4/15/2004 at 4:00:29 PM, Gene Buckle wrote:

Quote:
Thanks for the info Kevin. I hammered on it for a while and discovered
that if I set the Frame layout property to NULL I could position the
controls how I liked.

Yes, you can. But you still might want to read that tutorial on layout
managers and take a little time to understand them. For starters, when
your program uses fixed x,y coordinates, it may not work correctly on
other operating systems or even on the same operating system with a
different font configuration. Fixed coordinates can also make a program
rather unfriendly to users.

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.