File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using GridLayout as GUI

 
Koert Kopbeen
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone

I sent in a previous post (Creating GUI for BattleShips) and I tweaked my program. it's basically perfect without the GridLayout (which I found and would work PERFECTLY if I knew how to use it. I imported it, but I really don't know what to do. Anyone wanna help me out? As I said previously, the GUI can be VERY simple, it's the idea that counts.

Come on, guys, PLEASE help me!

Jasper

The code follows! Please guys ASAP!!


 
Jeff Albertson
Ranch Hand
Posts: 1780
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shouldn't GUI questions go to the Swing/etc... GUI forum?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How far have you gotten with the Swing Tutorial?

Can you write a program that just displays a 10x10 grid (with a JButton in each position)?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeff Albrechtsen:
Shouldn't GUI questions go to the Swing/etc... GUI forum?


Yep. Off we go.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you've cross-posting here, javaworld (and everywhere else I suppose), multiple
times, begging everyone to write the program for you.

If you had, instead, spent the time reading the links provided, you would have
finished the project by now (it really is that simple), and you would have
learned a 'bucketload' - to carry forward to your next gui project.

so, get into the links provided, head down, 'A' up, and just do it.

help for specific questions about specific problems is readily available.

good luck.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic