hi, i want to detect mouse events on 4 jtextareas.
this is what i have.
Color orange=new Color(228,158,96);
add(Texta);
Texta.setFont(font);
Texta.setForeground(orange);...
Type: Posts; User: nirro
hi, i want to detect mouse events on 4 jtextareas.
this is what i have.
Color orange=new Color(228,158,96);
add(Texta);
Texta.setFont(font);
Texta.setForeground(orange);...
not working
faces[0].Questionset(ImageIO.read(getResource("src/Cristiano.jpg")),"cristiano ronaldo");
what to do?
in the classpath path.
so what should i write instade of
faces[0].Questionset(ImageIO.read(getResource("src//Cristiano.jpg")),"cristiano ronaldo");
?
it seems to work only when i put the dictionary src in the same folder as the jar file..
how can i use getResource()?
i tried...
it is a simple gui program with pictures.
-when i run it from cmd it says it cant load the pictures.
-when i run it from elipse it works.
the code looks like this-
try {...
Description Resource Path Location Type
The serializable class Mainp does not declare a static final serialVersionUID field of type long Mainp.java /Gui-test/src line 13 Java Problem
The import...
hi.. i am new to gui and i have some trouble.
i'm trying to create button that change background color to random color.
this is what i have done:
import java.awt.*;
import...