Re: need info on GUI class libraries....

From: krc (rckancharla_at_yahoo.com)
Date: 01/22/04

  • Next message: Adam: "Re: Would like suggestions on implementing a GUI"
    Date: 21 Jan 2004 21:53:45 -0800
    
    

    Thanks to you all for your messages. We are currently inclined towards
    using Swing. But we will definitely consider all the suggestions
    mentioned in the above mails.

    -krc.

    Karsten Lentzsch <Karsten@JGoodies.com> wrote in message news:<bu3532$p34$03$1@news.t-online.com>...
    > Patrick B. Haggood wrote:
    >
    > > You looking for fast implementation or most robust library? I'm using a
    > > couple of simple classes from an IBM article that allows *extremely* quick
    > > mockups of the GUI. If I need more control over layout later, I'll
    > > probably look into one of the other frameworks mentioned here. Just be
    > > careful and don't try to over-engineer a full app just to implement some
    > > validations and some data entry.
    > >
    > > http://www.javaworld.com/javaworld/jw-10-2002/jw-1004-dialog.html
    >
    > The article's LabelledItemPanel makes simple things easy
    > but it lays out poorly, and hard stuff remains impossible.
    >
    > With the default look&feel the label and component texts
    > are unaligned in *every row*. And the panel won't retain
    > proportions if you change the font, font size or resolution.
    >
    > Here's an alternative:
    > FormLayout layout = new FormLayout("right:pref, 4dlu, pref");
    > DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    > builder.setDefaultDialogBorder();
    >
    > builder.append("&Customer Code", customerField);
    > builder.append("&Name", nameField);
    > ...
    > builder.append("&Email", emailField);
    > return builder.getPanel();
    >
    > I'd say the alternative is quick too. In addition to the
    > LabelledItemPanel it offers more flexiblity - if necessary.
    > Label and component will be associated using #setLabelFor,
    > the layout will retain proportions, you can mix it with
    > any custom panel implementation, and it honors the component
    > orientation left-to-right vs. right-to-left.
    >
    > The Forms button bar for OK, Cancel gives both buttons the same
    > dimension and honors the platform's minimum size for buttons.
    > The order on a PC will be "OK, Cancel", and on a Mac "Cancel, OK";
    > all this just by invoking ButtonBarFactory#buildOkCancelBar
    >
    > Hope this helps,
    > Karsten


  • Next message: Adam: "Re: Would like suggestions on implementing a GUI"

    Relevant Pages

    • Re: Label not display correctly
      ... > Started in safe mode and the label is displaying correctly in safe mode, ... >it appears it is a driver problem. ... >>Font: Times New Roman ...
      (microsoft.public.fox.programmer.exchange)
    • Re: Can I change the font size in MsgBox
      ... My version of Excel does not mention "userform" in the help file, but I have seen the word before. ... I couldn't find any way to change the font on either a lable or an edit box. ... "Nick Hodge" wrote in message ... Rather than using a built in MsgBox you could build a userform with a label and commandbuttons. ...
      (microsoft.public.excel)
    • Re: postscript terminal fails if an explicit font size is given to labels
      ... set xlabel 'x label' font ",12" ... The x label will be unreadably small and of different size than the ... terminals don't show this forced enhanced-ization. ...
      (comp.graphics.apps.gnuplot)
    • Re: Excel chart help!!!!!! Please!!!!
      ... and drivers, screen zoom, and the planets' orbits. ... consolation is that usually the entire label prints fine. ... Short of reinstalling video drivers and mucking with monitor settings ... If I change the font size of the ...
      (microsoft.public.excel.misc)
    • Re: Y-Axis Label
      ... New monitor? ... factor, font and font size, and perhaps other undefinables. ... It has occurred since at least Excel ... the label prints fine (nothing ...
      (microsoft.public.excel.charting)