Hi Sir/Ma’am,
Can anyone help me to create a project which is bingo game with betting?I’m new in java.
Thank you in advance.
Hi Sir/Ma’am,
Can anyone help me to create a project which is bingo game with betting?I’m new in java.
Thank you in advance.
I don’t think that anyone here wants to help you with such vague design documents! Try to create the bingo game for yourself - and when you hit a problem, ask about that specific problem.
It’s sorta like a fellow engineer asking the other guys if they want to help him build a nuclear plant…
sir,
i have already the design and i’m starting to create a console for that game but my problem is in a console how can i place the bingo cards in my console?
Here’s my code:
import java.io.;
import java.awt.;
import java.awt.event.*;
public class try4 extends WindowAdapter implements WindowListener, ActionListener, Runnable {
private Frame f;
private TextArea textArea;
public try4() {
f = new Frame("Java Console");
Dimension screenSize=Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize=new Dimension((int)(screenSize.width/2),(int)(screenSize.height/2));
int x=(int)(frameSize.width/2);
int y=(int)(frameSize.height/2);
f.setBounds(x,y,frameSize.width,frameSize.height);
f.setLocation(x, y);
f.setBackground(Color.LIGHT_GRAY);
textArea=new TextArea();
textArea.setEditable(false);
Button button=new Button("CLEAR");
Panel panel=new Panel();
panel.setLayout(new BorderLayout());
panel.add(textArea,BorderLayout.CENTER);
panel.add(button,BorderLayout.SOUTH);
f.add(panel);
f.setVisible(true);
f.addWindowListener(this);
f.setResizable(false);
boolean resizable = f.isResizable();
button.addActionListener(this);
System.out.println("Test ko lang.." + new java.util.Date().toString());
}
public void run() {}
public void actionPerformed(java.awt.event.ActionEvent actionEvent) {}
public synchronized void windowClosing(WindowEvent evt)
{
f.setVisible(false);
f.dispose();
}
public static void main(String[] arg) throws IOException
{
new try4();
}
}
Hi
Seems that you don’t have the basics so I would suggest you head over to java.sun.com and read the Swing tutorital. After that you should have a pretty good picture of the basic of making a swing application.
You do not say what your bingo cards are, images or? Please try to write down all information you can possible think of in case you need help. Unfortunate I can’t read your mind.