Menu

Swing - Length of the fields displayed

Users
Nprieto23
2012-06-05
2012-11-23
  • Nprieto23

    Nprieto23 - 2012-06-05

    Hi Richard,
    I ran into another problem as I attempt to improve the visual of my application, the basics with me metawidget work well, but right now I need to establish length certain to the fields displayed in the UI,
    Length of the fields displayed for data entry is very small, it does not take the values that I use in the metawidget-metadata.xml, I  also try setting an  hibernate inspector, but do not work because I am using hibernate configured with Spring, so I don´t know how to resolve this issue, and I cant advance in de develop of my UI because in the metawidgets I use to create new records, the fields appear too small (length).

    You can give me a clue to how I can resolve this issue?

    The configuration of my application is Java SE, with Spring, Hibernate, and Log4j

    Sorry for the inconvenience.
    Thank you very much in advance!

    Greetings.
    Nicolas Prieto

     
  • Nprieto23

    Nprieto23 - 2012-06-05

    Richard, thank you very much for the guidance.
    I actually was referring to the number of pixels in width, and am using a GridBagLayout, but after reading your comment I started to review the code and realized that while this layout metawidget has set, the JPanel that contains did not have a defined layout, then I assign a BorderLayout to JPanel, using this and the GridBagLayout for metawidget shows me the fields drawn across the width of the container.
    I will consider the examples you gave me to control data entry.
    You were very friendly and quick to respond. Thank you very much for the help, and for your time!.

    Greetings.
    Nicolas Prieto.

     
  • Nprieto23

    Nprieto23 - 2012-06-06

    Thanks a lot!

     

Log in to post a comment.