User Profile

Collapse

Profile Sidebar

Collapse
Ramola
Ramola
Last Activity: Feb 12 '08, 01:37 PM
Joined: Sep 24 '07
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ramola
    started a topic Retrive image from MySql

    Retrive image from MySql

    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
    See more | Go to post

  • 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
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Panel expansion problem
    in Java
    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
    ...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Panel expansion problem
    in Java
    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
    ...
    See more | Go to post

    Leave a comment:


  • Ramola
    started a topic Panel expansion problem
    in Java

    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...
    See more | Go to post

  • Ramola
    replied to how to coustomise JOptionPane
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to how to coustomise JOptionPane
    in Java
    so does tht mean " I cant customize JOptionPanes ".......... ...

    kind regards ,
    Malavika...
    See more | Go to post

    Leave a comment:


  • Ramola
    started a topic how to coustomise JOptionPane
    in Java

    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
    See more | Go to post

  • Ramola
    replied to Jmf
    in Java
    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"));
    ...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to putting images on a gridlayout
    in Java
    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.
    ...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to putting images on a gridlayout
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • Ramola
    started a topic putting images on a gridlayout
    in Java

    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
    See more | Go to post

  • Ramola
    replied to Jmf
    in Java
    yes i did.......

    I want to start with a very basic ex. initially !



    ok thanks alot !

    kind regards,
    Malavika...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Jmf
    in Java
    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 !...
    See more | Go to post

    Leave a comment:


  • Ramola
    started a topic Jmf
    in Java

    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...
    See more | Go to post

  • Ramola
    replied to JFrames
    in Java
    The point where u make an obj of the 2nd JFrame , call dispose() method immediately after it .


    Kind regards,
    Malavika...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Use of Canvas
    in Java
    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
    {
    ...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Use of Canvas
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Use of Canvas
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • Ramola
    replied to Use of Canvas
    in Java
    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); ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...