File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to do this - DataInputStream/DataOutputStream" Watch "How to do this - DataInputStream/DataOutputStream" New topic
Author

How to do this - DataInputStream/DataOutputStream

Sofia Stevens
Greenhorn

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

Joined: Oct 27, 2005
Posts: 19783
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40041
    
  28
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: http://aspose.com/file-tools
 
subject: How to do this - DataInputStream/DataOutputStream