35,618 Topics

Member Avatar for
Member Avatar for musthafa.aj

hello! i want to create jtable dynamically... i have two class one is add records to Data Base another one is show records list that were inserted... how do pass each records in JTable without replacing existing on... i need to grow the table every time the records success fully …

Member Avatar for javaAddict
0
115
Member Avatar for Genni

import java.awt.*; import java.lang.Math; public final class mastermind extends java.applet.Applet { int i,j,k; int pointX,pointY,pickX=-1,pickY=-1,dragX=-1,dragY=-1; int dotMap[],pointMap[],secretCol[]; static int shadX[]={0,8,142,142,136,136,0}, shadY[]={242,246,246,10,0,242,242}; int pickedCol=0,changedCol; int pickedDot,changedGrfx,currentRow; boolean drawBoard=true,gameGoing=false; boolean pickable[]={true,true,true,true,false,false}; boolean finished; Color lights[],darks[],darkGray; Image buffer,peg; Graphics bufg,pegg; Math m; public void init() { dotMap = new int[32]; // Holds colored …

Member Avatar for javaAddict
0
97
Member Avatar for l_03

hello guyzz,,i really need your help,,we are about to make a mastermind game in java,,i already have the code,,,but it has no main method..and i dont know how to implement the main,,help guyzzz,,,we are about to pass it next week.... import java.awt.*; import java.lang.Math; public final class mastermind extends java.applet.Applet …

Member Avatar for Genni
0
249
Member Avatar for jaytheguru

Dear all, No matter what I do, I can't seem to be able to make the JSP with Database work. How can I connect to an Oracle database which is hosted in our University, over a JSP page. I have a project where we need to connect to Oracle database …

Member Avatar for parry_kulk
0
383
Member Avatar for musthafa.aj

hi ! Happy new Year!!!! I struggling with open IE browser within swing .... like frame content pane showing IE... any help please......

Member Avatar for musthafa.aj
0
123
Member Avatar for musthafa.aj

hello! i want to convert my jar application into exe.. because i need seal all class files extracting from jar... any freeware available for this.. i found something that are not free... thank you!

Member Avatar for kvprajapati
0
279
Member Avatar for corey.alexander

I am having a problem using both ActionListener and KeyListener in the same class that extends JPanel for a basic game i am working on. For the KeyListener only the KeyPressed class is implemented and is implemented as such. [code=java] public void keyPressed(KeyEvent e) { switch(e.getKeyCode()){ case 37:{ grid.moveSelectedWest(); break; …

0
181
Member Avatar for nyny11211

I'm hoping someone out there can help me. i have to use a 2nd class to create a JMenuBar to attach to a JFrame i get an error :49: incompatible types found : javax.swing.JFrame required: java.lang.String return aTestFrame; (i have also tried something else and got a static/non static error) …

Member Avatar for gunjannigam
0
149
Member Avatar for adams161

I have a chat window, JTextBox i think, and you hit enter and it invokes an action listener, to send text. It generally works, but now and then i hit enter, and nothing. I have to hit enter again and typically it sends text. the focus is there for typing, …

Member Avatar for adams161
0
103
Member Avatar for Zaney

:cry: I have searched forever, need help, I am an older person, who ejoys to play games, for some reason one of the sites I was using I can no longer get into. I get the java applet failed, and applet not inited, I have checked in internet options and …

Member Avatar for rocker2686
0
172
Member Avatar for sindhu1

hi friends i am doing project on "design and implementation of misused intrusion detection system by using autonomous and mobile agents " if u have aglet code for this one , plz send it to me. It helps me a lot to go further work. i hope u will do …

Member Avatar for masijade
0
50
Member Avatar for seriousgeek

Hi all.. AJAX is famous for its dynamic displaying feature(forgive me if the desc. aint right, i just wanted you all to get the point). I want to do a non-web based project which will implement this feature. I've read that AJAX can be used only for web applications. Is …

Member Avatar for masijade
0
91
Member Avatar for ramjeev

How to kill the running .jar file from another jar in java? There are two jars running A.jar & B.jar Both jars are running. I want to kill B.jar from A.jar. Pls let me know, if any one knows. Thanks in advance.

Member Avatar for valatharv
0
4K
Member Avatar for semsem-6321

Hi all, it's my first post. i'm using tomcat 6 and put under it website done by jasper . this website contain xml.html ang jsp pages .the jsp pages needed to be encrypted, i try using ant but i'm fail may be i don't use it right. could you please …

Member Avatar for c_blimey
0
99
Member Avatar for adams161

I got a basic telnet socket connection working in an applet. YOu can log onto a server and type and read text. My issue is to show the servers chat i'm using a JTextArea. now this may be the best to use i dont know, maybe i just need to …

Member Avatar for adams161
0
141
Member Avatar for shani1986rox

Hi, thank you for havin me in the forum... I'm kinda newbie to java... This is the code that I wrote for heapsort, but it seems like there is problem, can you pls pls help.. coz I'v been workin on this for a whole day, and i'v to submit it …

Member Avatar for adams161
0
115
Member Avatar for araaraa

[code] <?php include "config.php"; include "header.php"; echo "<tr>"; echo "<td width=\"250\" valign=\"top\">"; include "left.php"; echo "</td>"; echo "<td width=\"4\" bgcolor=\"#CCCCCC\">&nbsp;</td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> &nbsp;<span class=\"menu1\">&nbsp;&nbsp;Sistem Pakar Gangguan Perkembangan pada Anak</span></h3>"; echo "<p class=\"pagesect judul_besar\">"; echo "<blockquote>"; if(!pasien()) { echo "<div align=\"center\"><span class=menu>Access Denied !!!</span></div>"; …

Member Avatar for javaAddict
0
99
Member Avatar for Crushyerbones

Hello, is there an acceptable way to do the following? [CODE=java]public CriarEquipamentoGUI (boolean showWindow) { if !(showWindow) dosomething(); return; else initComponents(); }[/CODE] Currently the return statement completly screws up the window.

Member Avatar for Crushyerbones
0
82
Member Avatar for yramu

Hi all, Here i pasted some code, In that i added to images to container but it is displaying the last one only, and one more thing is how to set the boundaries for jbutton, TextArea and Image. I need the code of count down timer. Thanks in Advance............... [code]import …

0
43
Member Avatar for isuruj

If somebody knows how to merge two SVNs plese tell me. I need to merge the code in local svn into client's svn. Actually there are 2 SVN servers.

0
50
Member Avatar for musthafa.aj

Can anybody giving or suggest java solution to fill form in website automatically...

0
72
Member Avatar for jadeite100

Hi: I took a course on Spring 2.56 from Interface21 and the labs I got get it to work during the training. But when I tried it at home it doesn't work. I go to the following url and it's find. [url]http://localhost:8080/accounts/[/url] It display "This is my JSP page. " …

Member Avatar for phpbeginners
0
143
Member Avatar for darsiguruprasad

i don't know hoe to set key in blog opensource.please anybody who knew the process send the process. opensource name:blog

0
35
Member Avatar for SoulMazer

Hi, so as an excuse to learn Java (I currently only know Python), I would like to write a simple 2D web-based game. How would you recommend me doing this? Should I write the entire game from the ground up? Should I use a game engine? If you would like …

Member Avatar for SoulMazer
0
185
Member Avatar for kjpadilla

A summary of the errors I have received can be found here - [IMG]http://i46.tinypic.com/2cdcvat.jpg[/IMG] [CODE]import javax.swing.event.*; import javax.swing.*; import java.awt.*; import java.io.*; import java.net.*; import java.applet.AudioClip; public class Whackan extends JFrame implements ActionListener { JButton[][] spots = new JButton [ 5][ 5]; JLabel score = new JLabel(); int maxDelay = …

Member Avatar for kjpadilla
0
125
Member Avatar for bernadlosini

hi, i need to use both java and c++ for my project.but i don't know how to set path for both.i use jdk 1.5.6 for java compiler and mingw compiler for C++ .but i am able to use one compiler at a time. is there any option to use both …

Member Avatar for bernadlosini
0
217
Member Avatar for billybobc

Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so …

Member Avatar for billybobc
0
3K
Member Avatar for joshuaravi

hi i am new to this forum. How to connect Oracle database from JSP page. Can you help me with some example. regards Joshua Ravi

Member Avatar for jaytheguru
0
117
Member Avatar for Crushyerbones

Hello everyone, I'm having a really strange problem and I can't figure out why. [CODE=java] public void readEmpregados(ArrayList <Classe_Pessoa> list) throws IOException, ClassNotFoundException { FileInputStream file; try { file=new FileInputStream(this.empregados); } catch (FileNotFoundException e) { this.empregados.createNewFile(); return; } System.out.println("I'm here"); try { ObjectInputStream out=new ObjectInputStream(file); Object prototype=out.readObject(); if (prototype instanceof …

Member Avatar for Crushyerbones
0
177
Member Avatar for coud_ren_26

May someone give me an idea of how can I scan integer in the text field and compare it to use in an if else statement. Thank you for the time.

Member Avatar for harsh2327
0
93

The End.