Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.09 seconds.

  1. Re: TextField taking up the entire window space

    Well, since Frame is a Container, then you may be able to just change the LayoutManager. Try saying:
    frame.setLayout(new FlowLayout());
    before you add anything.
    No idea if it will work, but its...
  2. Re: TextField taking up the entire window space

    Why can't you use JPanels? The assignment specifics or something? Can you use any sort of container? Is it a Frame or a JFrame?
  3. Re: TextField taking up the entire window space

    Are you adding to the frame or a JPanel? I believe this is an issue with the default layout manager or something. I can't remember off the top of my head since I haven't done any low-level GUI work...
Results 1 to 3 of 3