Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to do this - DataInputStream/DataOutputStream

 
Sofia Stevens
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it working thanks!
 
Rob Spoor
Sheriff
Pie
Posts: 20492
54
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
Sheriff
Posts: 48363
56
  • 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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic