🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
4 messages
4 total messages Started by Patrick W. McMichael Tue, 21 Sep 2004 12:50
SpringLayout
#1026
Author: Patrick W. McMichael
Date: Tue, 21 Sep 2004 12:50
2 lines
974 bytes
Does Borland have any intention of supporting the SpringLayout in JBuilder's UI designer?  This is a valuable layout, especially in terms of dealing with resizing issues.
Re: SpringLayout
#834
Author: Gillmer J. Derge [TeamB]
Date: Tue, 21 Sep 2004 14:24
24 lines
2133 bytes
Patrick W. McMichael wrote:
> Does Borland have any intention of supporting the SpringLayout in 
 > JBuilder's UI designer?  This is a valuable layout, especially in
 > terms of dealing with resizing issues.

For several versions jbuilder.jar has contained several 
SwingLayout-related classes that are not enabled.  My guess is that they 
intend to support it eventually but haven't yet figured out the right 
UI.  Having tried it myself once, I can say it's not an easy thing to 
create a usable interface for editing SpringLayout constraints.  There 
are almost more options than for GridBagLayout.

If you want to experiment (I make no assurances about what this may or 
may not break) you could try enabling it yourself.  Make a file whose 
contents are as shown below (two lines, 2nd line starts w/ a space). 
Create a JAR with this file as the manifest (jar cmf foo.txt foo.jar). 
Then put the JAR file in JBuilder's lib/ext directory and restart 
JBuilder.  You *might* have some kind of SpringLayout support after that.

OpenTools-Designer:
  com.borland.jbuilder.cmt2.designer.ui.SpringLayoutAssistant

-- 
Gillmer J. Derge [TeamB]
Re: SpringLayout
#835
Author: Patrick W. McMichael
Date: Tue, 21 Sep 2004 15:16
41 lines
3109 bytes
Ultimately, I'd envision a UI designer for SpringLayout that offered some Together-like functionality where "springs" were used as a type of link b/t components.  Add a "Spring Tool" to the UI pallette, where the link would be drawn as a "squiggly line" with hook points on the end.

The steps would go something like...

(1) Place the components on the UI almost as in flow-layout.

(2) Then, taking the Spring tool, establish links, hooking one end of the "spring" graphical icon to each of the two components to be addressed (two buttons, a label and a border of the enclosing container, etc.).  

(3) Once the spring-link was established, you could simply set the appropriate spacing b/t the hooked components.  The EAST, WEST, NORTH, SOUTH settings would be determined (by default at least) by the edge of each component the spring was "hooked to."

***

In the meanwhile, I'll have to try your workaround and see what happens to the UI designer.  Thanks!



"Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> wrote:
>Patrick W. McMichael wrote:
>> Does Borland have any intention of supporting the SpringLayout in 
> > JBuilder's UI designer?  This is a valuable layout, especially in
> > terms of dealing with resizing issues.
>
>For several versions jbuilder.jar has contained several 
>SwingLayout-related classes that are not enabled.  My guess is that they 
>intend to support it eventually but haven't yet figured out the right 
>UI.  Having tried it myself once, I can say it's not an easy thing to 
>create a usable interface for editing SpringLayout constraints.  There 
>are almost more options than for GridBagLayout.
>
>If you want to experiment (I make no assurances about what this may or 
>may not break) you could try enabling it yourself.  Make a file whose 
>contents are as shown below (two lines, 2nd line starts w/ a space). 
>Create a JAR with this file as the manifest (jar cmf foo.txt foo.jar). 
>Then put the JAR file in JBuilder's lib/ext directory and restart 
>JBuilder.  You *might* have some kind of SpringLayout support after that.
>
>OpenTools-Designer:
>  com.borland.jbuilder.cmt2.designer.ui.SpringLayoutAssistant
>
>-- 
>Gillmer J. Derge [TeamB]
Re: SpringLayout
#836
Author: Paul Furbacher [TeamB]
Date: Tue, 21 Sep 2004 18:14
29 lines
1950 bytes
Patrick W. McMichael wrote:

> Ultimately, I'd envision a UI designer for SpringLayout that
> offered some Together-like functionality where "springs" were used
> as a type of link b/t components.  Add a "Spring Tool" to the UI
> pallette, where the link would be drawn as a "squiggly line" with
> hook points on the end.  [...]

Where and when have I seen that before ... oh, yeah.
In 1989, InterfaceBuilder, NeXT 0.98.  I still have
the documentation.

Looks like we're making progress everyday.


-- 


Paul Furbacher (TeamB)

   Save time, search the archives:
        http://www.borland.com/newsgroups/ngsearch.html

   Is it in Joi Ellis's Faq-O-Matic?
        http://www.visi.com/~gyles19/fom-serve/cache/1.html

   Finally, please send responses to the newsgroup only.
   That means, do not send email directly to me.
   Thank you.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads