help me out with frame plz

1 view
Skip to first unread message

siddharth vadhera

unread,
Aug 19, 2009, 10:13:07 AM8/19/09
to jiits...@googlegroups.com
hiii
i want to randomly change photograph on my frame
im nt able 2 do tt
plz help me

--


regards
Siddharth Vadhera

saurabh aswani

unread,
Aug 19, 2009, 1:59:58 PM8/19/09
to jiits...@googlegroups.com
hey thats not gtlak
\thats gtlk shell sumthing like that
net pe hai usme ur pics changes like powerpoint slides
--
$@ur@bh

siddharth vadhera

unread,
Aug 19, 2009, 2:05:17 PM8/19/09
to jiits...@googlegroups.com
hey saurabh yaar i want 2 change the photo on button click
like there vil be a button on the frame as wel on whose click the photograph vil be changed
--


regards
Siddharth Vadhera

saurabh aswani

unread,
Aug 20, 2009, 6:42:50 AM8/20/09
to jiits...@googlegroups.com
r u talking about making frames n all by coding?
if it is then u can use netbeans if u want to code in java n all
frames n akll are available there drag n drop change the setting there are some inbuilt functions also
otherwise make urself a bit clear...i mean what you want to do exactly n where??
--
$@ur@bh

saurabh aswani

unread,
Aug 20, 2009, 6:51:34 AM8/20/09
to jiits...@googlegroups.com
to change pics using button you have to call actionlistener n pass the object of button handler in  it
then make a class which implements action listener interface
and inside that class define a function void action performed i.e in that function change the pic of the panel in the form or whatever..
n import java.awt.event.*;seperately  then java.awt.*;
sometimes there sub packages are not imported using *....okay
try it n if u still afce some problem i will write a code for you
:)
--
$@ur@bh
Reply all
Reply to author
Forward
0 new messages