• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Using GridLayout as GUI

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!


 
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shouldn't GUI questions go to the Swing/etc... GUI forum?
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic