This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to do this - DataInputStream/DataOutputStream  RSS feed

 
Sofia Stevens
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it working thanks!
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Use Code Tags. I've added them just to be able to read it.

Also, please compress your code into a SSCCE - this code is much too long to filter out anything useful.

As for the window closing event, use a WindowListener.
 
Campbell Ritchie
Marshal
Posts: 55793
164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are beginning Java, please write your own Layout code, and don't rely on the tools with NetBeans.
If you want a list of teams, set up those teams names as an array (or List) and iterate through the array and set up radio buttons as anonymous objects. That way you can have sensible results if you change the number of teams suggested.

And welcome to JavaRanch
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!