aspose file tools
The moose likes Beginning Java and the fly likes How to do this - DataInputStream/DataOutputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to do this - DataInputStream/DataOutputStream" Watch "How to do this - DataInputStream/DataOutputStream" New topic

How to do this - DataInputStream/DataOutputStream

Sofia Stevens

Joined: Jul 27, 2009
Posts: 1
Got it working thanks!
Rob Spoor

Joined: Oct 27, 2005
Posts: 19847

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.

How To Ask Questions How To Answer Questions
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 40468
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
I agree. Here's the link:
subject: How to do this - DataInputStream/DataOutputStream