Utente Firefox 228f88

Informazioni utente

Informazioni sullo sviluppatore
Nome Utente Firefox 228f88
Utente da Giugno 8, 2010
Numero di componenti aggiuntivi sviluppati 0 componenti aggiuntivi
Media delle valutazioni sui componenti aggiuntivi di questo sviluppatore. Nessun voto

Le mie recensioni

Pink Orkut

Assegnate 2 su 5 stelle

DateÖÄverarbeÖÄtung Text SchreÖÄben

try {
BufferedWrÖÄter out = new BufferedWrÖÄter(new FÖÄleWrÖÄter(pfad,true));
BufferedReader ÖÄn = new BufferedReader(new FÖÄleReader(pfad));
//for (ÖÄnt ÖÄ =0;ÖÄ

Pink Orkut

Assegnate 3 su 5 stelle

Dateiverarbeitung Text Schreiben

try {
BufferedWriter out = new BufferedWriter(new FileWriter(pfad,true));
BufferedReader in = new BufferedReader(new FileReader(pfad));
//for (int i = 0 ; i < bestellungen.length;i++){
out.write(bestellung);
((BufferedWriter)out).newLine();
//}
out.close();
in.close();
} catch (IOException e) {
e.printStackTrace();
}

// fuer lesen
while((s=in.readLine())!=null){
System.out.println(s + " index : " + i);
bestellung[i]=s;
out.write(bestellung[i]);
((BufferedWriter)out).newLine();
i++;
}

Pink Orkut

Assegnate 3 su 5 stelle

----> Binär Lesen, Binär Schreiben

Pink Orkut

Assegnate 3 su 5 stelle

----> text Datei Lesen / Schreiben

Pink Orkut

Assegnate 3 su 5 stelle

-----> Bilder

Pink Orkut

Assegnate 3 su 5 stelle

---> Bilder

Pink Orkut

Assegnate 3 su 5 stelle

JMenue

JMenuBar leiste = new JMenuBar();
JMenu m1 = new JMenu("Auswahl");
JMenu m2 = new JMenu("Bestellung");
JMenuItem m1i1 = new JMenuItem("Autos",'a');
m1i1.setActionCommand("autos");
m1i1.addActionListener(this);
m1i1.setAccelerator(KeyStroke.getKeyStroke('A',InputEvent.CTRL_MASK));
// m2Item1.setEnabled(false);

m1.add(m1i1);
m1.add(m1i2);
m1.addSeparator();
m1.add(m1i3);
m2.add(m2i1);

leiste.add(m1);
leiste.add(m2);
setJMenuBar(leiste);
//-------------------------------------------------------------------------------------------------------------

Pink Orkut

Assegnate 3 su 5 stelle

JList Hilfe
// oben - Global
private JList listeAuswahl;
private JTextArea ta = new JTextArea(5,10);
// im Konstruktor
for (int i=0;i

Pink Orkut

Assegnate 4 su 5 stelle

----> Tabelle

Pink Orkut

Assegnate 5 su 5 stelle

---> Tabelle

Pink Orkut

Assegnate 5 su 5 stelle

///Dateiverarbeitung Text Schreiben

try {
BufferedWriter out = new BufferedWriter(new FileWriter(pfad,true));
BufferedReader in = new BufferedReader(new FileReader(pfad));
//for (int i =0;i

Der Standard

Assegnate 2 su 5 stelle

´Dateiverarbeitung Text Schreiben

try {
BufferedWriter out = new BufferedWriter(new FileWriter(pfad,true));
BufferedReader in = new BufferedReader(new FileReader(pfad));
//for (int i =0;i

Questa recensione riguarda una versione precedente (20090604) del componente aggiuntivo. 

SMS Sidebar

Assegnate 2 su 5 stelle

Dateiverarbeitung Text Schreiben
try {
BufferedWriter out = new BufferedWriter(new FileWriter(pfad,true));
BufferedReader in = new BufferedReader(new FileReader(pfad));
//for (int i =0;i

Pink Orkut

Assegnate 2 su 5 stelle

Dateiverarbeitung Text Schreiben

try {
BufferedWriter out = new BufferedWriter(new FileWriter(pfad,true));
BufferedReader in = new BufferedReader(new FileReader(pfad));
//for (int i =0;i

Pink Orkut

Assegnate 2 su 5 stelle

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Bilder
//Oben-Global
private Image iBild;
private MeinJPanel Foto;
String dateiname="";
JPanel panelfläche;

//Klasse anlegen-------------------------------------------------------------------

class MeinJPanel extends JPanel{
private Image bild;
private int panelbreite;
private int panelhoehe;

public MeinJPanel(int breite, int hoehe, Image bild2) {
panelbreite = breite;
panelhoehe = hoehe;
this.bild = bild2;
setBackground(Color.black);
}

public Dimension getPreferredSize(){
return new Dimension(panelbreite,panelhoehe);
}
public void paintComponent(Graphics g){
super.paintComponent(g);
if(iBild!=null){
g.drawImage(iBild, 0, 0, panelbreite, panelhoehe, this);
}this.setVisible(true);
}
}
//Methode bildladen--------------------------------------------------------------
public Image bildladen(String dateiname){
System.out.println("--> bildzeichen " + dateiname);
Toolkit tk = Toolkit.getDefaultToolkit();
MediaTracker mt = new MediaTracker(this);
Image img = tk.getImage(dateiname);
mt.addImage(img,1);
try { mt.waitForID(1);

}
catch (InterruptedException e) {
System.out.println(e);
} repaint();
return img;
}
//aufruf im Konstruktor-------------------------------------------------


Foto = new MeinJPanel(300,200,bildladen("G:\\java\\uebung31\\vorgabe\\start.jpg"));
rechts.add(Foto);

Pink Orkut

Assegnate 3 su 5 stelle

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Bilder
//Oben-Global
private Image iBild;
private MeinJPanel Foto;
String dateiname="";
JPanel panelfläche;

//Klasse anlegen-------------------------------------------------------------------

class MeinJPanel extends JPanel{
private Image bild;
private int panelbreite;
private int panelhoehe;

public MeinJPanel(int breite, int hoehe, Image bild2) {
panelbreite = breite;
panelhoehe = hoehe;
this.bild = bild2;
setBackground(Color.black);
}

public Dimension getPreferredSize(){
return new Dimension(panelbreite,panelhoehe);
}
public void paintComponent(Graphics g){
super.paintComponent(g);
if(iBild!=null){
g.drawImage(iBild, 0, 0, panelbreite, panelhoehe, this);
}this.setVisible(true);
}
}
//Methode bildladen--------------------------------------------------------------
public Image bildladen(String dateiname){
System.out.println("--> bildzeichen " + dateiname);
Toolkit tk = Toolkit.getDefaultToolkit();
MediaTracker mt = new MediaTracker(this);
Image img = tk.getImage(dateiname);
mt.addImage(img,1);
try { mt.waitForID(1);

}
catch (InterruptedException e) {
System.out.println(e);
} repaint();
return img;
}
//aufruf im Konstruktor-------------------------------------------------


Foto = new MeinJPanel(300,200,bildladen("G:\\java\\uebung31\\vorgabe\\start.jpg"));
rechts.add(Foto);

Pink Orkut

Assegnate 5 su 5 stelle

Dateiverarbeitung Text Schreiben

try {
BufferedWriter out = new BufferedWriter(new FileWriter(pfad,true));
BufferedReader in = new BufferedReader(new FileReader(pfad));
//for (int i =0;i