Java course...
import javax.swing.*;
import java.io.*;
public class grava1
{
String nome;
public void ler()
{
nome=JOptionPane.showInputDialog(null, "nome:" wink ;
}
PrintWriter p;
public void grava()
{
try
{
p=new PrintWriter(new FileWriter("c:/aula.txt" wink );
p.print(nome+"n" wink ;
p.close();
}
catch(Exception e)
{
}
}
public static void main (String args[])
{
grava1 x=new grava1();
x.ler();
x.grava();
System.exit (0);
}
}
Manage Your Items
- Avatardress up & check your inventory
- Avatar Builderbuild your dream avatar
- Aquariumcreate the perfect fish tank
- Carcustomize your ride for rally
- Housedecorate your gaia house
- Personas (beta)build your Persona
- Sign Up for Gaia News Weeklyproduced by Gaia art community for all Gaia users
Other Stuff
- Mailcheck your private messages
- Friendsconnect with your friends
- Profileedit your profile page
- Journalsyour personal journal/blog
- Achievementssee what you've accomplished
- Account Settingsadjust your preferences
- Gaia Labssee what we're cookin'
- Favoritessee your collections
- Marriageget Married!
- Vlogsee our vlog and Gaians latest creations!