-5

Possible Duplicate:
Java Dialog Box

I am wondering how to produce this type of window using Java GUI:

http://postimage.org/image/61aa8hrvb/

I am not asking how to fill the window with data - just only how to produce the window. It seems that it just has a fixed size (length and width) and a border. It seems like it is a barebones window.

Is there anything that you can think of the resembles this style of a window?

Community
  • 1
  • 1
  • Are you asking how to make a fixed size window? Any UI toolkit can do that. Take a look at Swing. Or is this for a web app? Then look at an HTML table. – Thilo Aug 17 '12 at 00:07
  • 1
    Quite simply, it wastes our (volunteered) time. – Richard Sitze Aug 17 '12 at 00:14
  • 1
    Voting to close this duplicate. Are you trying to encourage folks to not want to help you in the future? Is that your goal? It seems to be working. – Hovercraft Full Of Eels Aug 17 '12 at 02:19
  • You can edit your original question to clarify. As both answers there are useful, you'll want to explain what didn't meet you requirements. – trashgod Aug 17 '12 at 02:53

3 Answers3

0

If you are using Swing, you can try a TableLayout

mittmemo
  • 2,062
  • 3
  • 20
  • 27
0

With Swing, use a JWindow, add a JPanel to the content pane of this JWindow and then override the Paint method of the JPanel to draw a border.

lockstock
  • 2,359
  • 3
  • 23
  • 39
0

You can use a JWindow to get a barebones window.
It's simple enough to then add a JPanel to it using window.add(panel);.

rtheunissen
  • 7,347
  • 5
  • 34
  • 65