Hi,
I have a table where in i've stored images (BLOB) , now i wanna retirve these images and display them on an html page !
I am using JSP .
Kind regards,
Ramola
User Profile
Collapse
-
Retrive image from MySql
-
I am a beginner .......
So unintensionaly I have done some of the things tht I shouldnt have otherwise ,
and more importantly i've realized it only because of those "words of wisdom "
So ,Jos ...........Than ks alot !
kind regards,
RM -
Code:public void actionPerformed(ActionEvent ae) { if(ae.getSource().equals(bttndice)) { //bttndice.setEnabled(false); lblstatus.setIcon(new ImageIcon("WAIT.gif")); Move(); } if(ae.getSource().equals(bttnquit)) { if(n == 2) { JOptionPane.showMessageDialog((Component)null, "Other player has won the
Leave a comment:
-
Code:{ /* generating a random no. as roll */ int num; Random rand=new Random(); do { num=rand.nextInt(7); }while(num==0); txtdice.setFont(new Font("ARIAL",Font.BOLD,40)); txtdice.setForeground(Color.BLACK); txtdice.setText(" "+num); /* placing the
Leave a comment:
-
Panel expansion problem
hi,
I have a screen JFrame made using borderLayout
there are 2 panels (placed on a container): 1 to the EAST tht consists of a dice and scorecard.
2 pnl is a layered pane tht has an image on it
When I run this prg individually ,it works absolutely fine.
But since its a part of Client -server, if i run it after integrating it with the other screens , this is what... -
thanks alot !
will let u know the development ! :)
Apart from tht ( r035198x ) i was wondering if u could plz.....plz.. look into another thread called ' jmf ' .......
Its a very stupid thing tht i might be missing in ' jmf ' ............if u colud plz pointit out to me !
kind regards,
Malavika...Leave a comment:
-
so does tht mean " I cant customize JOptionPanes ".......... ...
kind regards ,
Malavika...Leave a comment:
-
how to coustomise JOptionPane
hi,
I was wondering if i can customise a JOptionPane ???
ex : A JOptionPane by default has a background color gray........... .. can i change it ?? can i put some images in the background ?
Its necessary coz............ in my game i cant afford having a JOptionPane tht looks sad .........I want to be catchy !!!
kind regards,
Malavika -
hi,
This was the vary basic example tht i thought of doing !
but it doesnt seem to work........... ..
Code:import java.applet.*; class Sound { public static void main(String[] args) { try { System.out.println("Hello World!"); java.applet.AudioClip AudioClip clip = new AudioClip(new URL("c://SOUND36.wav"));
Leave a comment:
-
Last time it was regarding something else...
n this time when i wanted to put images on the grid representing players and their scores..
It was totally different !
anyways i figured out how to do it..
so its fine .... in a way good i didnt get help ! :)
but now i am facing another difficulty :
Its a game on LAN so the no. of players will vary each time a new game is started.
...Leave a comment:
-
guys ..........
plz u need to help me yarrrrr [ a hindi word synonumous to friend ]!
I cant get it rite !!!!!!
just abt. a hint n i know i'll b able to do it !!!
kind reagards,
Malavika...Leave a comment:
-
putting images on a gridlayout
Hi, i need to know how can i put an image in a grid ?
as in i am developing a multiplayer game so.......
i need to display set of information like player name, score and the image of his marble.
the best way to do this according to me is using a grid ......
but somehow i cant place images on the grid ...
could u suggest something ?
kind regards,
Malavika -
yes i did.......
I want to start with a very basic ex. initially !
ok thanks alot !
kind regards,
Malavika...Leave a comment:
-
Applet.newAudio Clip. doesnt it require any applet thingee to run !
My entire coding is in JFrames !
i havent used applets anywhere !
can u suggest any tutorial tht wuld b helpful !...Leave a comment:
-
Jmf
I am totally new to JMF !
I am developing a game wherein i am interested in outting some amount of sound !
all that i know is tht it can be achieved using JMF !
i know nothing beyond this !
i was wondering if anybody culd help me guide ........as in tell me how to go about studying JMF n implementing it..
n 1 very imp thing tht i want to know is does JDK 1.5 support JMF internally... -
The point where u make an obj of the 2nd JFrame , call dispose() method immediately after it .
Kind regards,
Malavika...Leave a comment:
-
There is a totally different thing tht i wish to ask you :
how can i read data from a file n put it on a screen a JFrame ........
i was trying to do the following but it doesnt seem to work
Code:import java.util.*; import java.io.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Instructions extends JFrame {
Leave a comment:
-
1. Am i thinking in the rite direction with ref to : Having a list of co-ordinates n then traversing these co-ordinates using the list !
is there a better way to achieve to the same kind of functionality ?
kind regards,
Malavika...Leave a comment:
-
Hey, I used JLayeredPane n got it working !
Thanks Alot!
I am now able to place a marble on top of the map !
the next thing tht I need to know is.......
On the roll of the dice the marble takes the respective no. of steps.
These no. of steps will b taken automatically i.e. the player will not be allowed to drag the marble n place it ( so to avoid validation i.e. if the player has dragged only the...Leave a comment:
-
Jos,
when u say " myFrame.setGlas sPane(myGlassPa ne);"
here myFrame is gonna be the panel wherein I have my map rite ???
n then like I added the map to the panel in the following way :
[code=java]
JPanel pnlmap=new JPanel();
ImageIcon imgicon =new ImageIcon("main Map.gif");
JLabel lblmapimg=new JLabel(imgicon) ;
pnlmap.add(lblm apimg); ...Leave a comment:
No activity results to display
Show More
Leave a comment: