Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
6
Posts with Downvotes
6
Downvoting Members
4
1 Commented Post
~24.0K People Reached
About Me

i am a very simple guy just concerned with my work n i like to learn new in programming.

Interests
i like to play basketball....n search for new stuff on net
PC Specs
as per the computer i will go wid dell......n os the best forever the windos xp...service pack 2
Favorite Tags

37 Posted Topics

Member Avatar for joe_ojah

i cant give you the code but i can tell you how to retrive data from database. you can take help from the following example. 1.the user enter the table name on the web page the coding is given below [CODE] <html> <head> <title></title> </head> <body bgcolor="green"> <center> <form name="f1" …

Member Avatar for ali.nazia999
0
2K
Member Avatar for AliQadir

Hi AliQadir, One option for this is you can first store the excel values in datatable and then check the columns rows for null values before binding the data in gridview and once you get the null value eliminate that particular row.

Member Avatar for KushMishra
0
119
Member Avatar for toferdagofer
Member Avatar for DavidKroukamp
0
1K
Member Avatar for Kamal_Java

Hello its possible to run when you create a java file in netBeans it creates a folder of that file. you will see a scr folder click on that inside u will see java folder where u can see your java file.so just open ur console give the path example …

Member Avatar for peter_budo
0
256
Member Avatar for judithSampathwa

Try using it in a Table to make proper alingments in your designing page i normally use Panel so that i can set the panel widht so that if i apply a table to it thn it get fixed in the panel area it wont extend

Member Avatar for judithSampathwa
0
298
Member Avatar for rbn01

on button Click you can fetch the original password value from the database store it in a variable and once you get the value run a if else loop where u can check the current password with the value fetched from database and if the condition succeeds then execute the …

Member Avatar for hericles
0
5K
Member Avatar for Saikumar Adep
Member Avatar for Atul Dhiman
0
104
Member Avatar for erum

There is no need of posting a Web.config file the errors is in your designing page try removing the <strong> keyword from your design.i would suggets you to use a label instead of directly writing on page. Regards, Karan

Member Avatar for DeadSoul
0
633
Member Avatar for jineesh

Can u elaborate a bit to make us understand. As in what is required .And for which control you have wrriten a code of ValueChanged.?

Member Avatar for DeadSoul
0
128
Member Avatar for Usmaan
Member Avatar for lohit kumar

i dont know whether we can convert .jar into .exe but for my recent java project i have tried to convert my .jar file into .bat which is similar to .exe file. you can do it by writing the code in notepad and save it as [filename].bat [CODE] java.exe -cp …

Member Avatar for Progr4mmer
0
172
Member Avatar for mani_1991

it is possible to convert your java file to not excatly a exe file but a similar one .bat file.which works the same as exe. first u have to convert your java file to jar file . thn after making a jar file open a notepad n just write the …

Member Avatar for amitbhanot
0
187
Member Avatar for jlancaster954

you have given a ; after main that was wrong and your 17th line also contains errors it is written like this [CODE] Scanner inFile = new Scanner(new FileReader("inData.txt")); [/CODE] and i hope the below code has solved your problem [CODE] import java.io.*; import java.util.*; class Ch3_PrExercise1 { public static …

Member Avatar for Stefano Mtangoo
0
384
Member Avatar for badae

There was two mistakes there was no applet code u have specified and there was no main method declared in it i think the below code must have solved your problem [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; /*<applet> <applet code = MenuDemo width = 400 height = 400> </applet> …

Member Avatar for badae
0
193
Member Avatar for DeadSoul

i have made this code which displays all the values in JTable can any one help me out how to get report of those data.this code is just the module of my library project .Now i want to generate a report for it . [CODE] import java.awt.*; import java.awt.event.*; import …

Member Avatar for Ezzaral
0
103
Member Avatar for Pushpasheela

you can use for loop to collect all the values from JTable i have used this for my project hope this may be helpful to u [CODE] for(int i1=0;i1<rows;i1++) { rs.next(); for(int j1=0;j1<8;j1++) { data1[i1][j1]=rs.getString(j1+1); } } JTable table=new JTable(data1,Colheads); int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED; int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED; JScrollPane jsp=new JScrollPane(table,v,h); getContentPane().add(jsp); [/CODE]

Member Avatar for DeadSoul
0
1K
Member Avatar for DeadSoul

I have made a program in c# where the user will input some data and that program should prompt the user to specify the date to view all the appointments of that day.i have made the code but still the problem lies is i can only find that the date …

Member Avatar for hanvyj
0
290
Member Avatar for monu952

i think with notepad you cant do a proper indentation that may confuse you while you doing your project and it may even consume lot of time to read where the errors have come or to identify the brackets{also called limiters} when i did my project i used JCreator its …

Member Avatar for monu952
-1
143
Member Avatar for DeadSoul

Is it possible to add a flash content in java.Can any one help me how to do it or just a hint from where i can get help for it. Thank You in advance.

Member Avatar for JamesCherrill
0
82
Member Avatar for musikluver4

Mac OS X provides built-in support for Java applets. You don't have to do anything special to set this up--just run Netscape under OS X and you should be able to run the BioViews applets. The best browser for running Java applets is Internet Explorer 5.1 or above. You can …

Member Avatar for DeadSoul
0
2K
Member Avatar for madhub2v

ok make a jar file of ur java file. then create a batch file of your jar file. google will be the best option for help.

Member Avatar for Stefano Mtangoo
0
152
Member Avatar for abbyo
Member Avatar for sonycharde

ha try to make project on "HOW TO CONTROL GLOBAL WARMING"....:-) never used by anyone till now.

Member Avatar for DeadSoul
-1
66
Member Avatar for DeadSoul

[QUOTE] Hello friends i have tried my code to get the values from the database n display it in JTables but i am getting two errors.please help me. [/QUOTE] [CODE] import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.JButton; import javax.swing.table.AbstractTableModel; import java.awt.Dimension; import java.awt.Component; import javax.swing.BoxLayout; import java.text.MessageFormat; …

Member Avatar for DeadSoul
0
7K
Member Avatar for lse123

you can use this code instead of adding one by one class file jar cmf SMTPClient.jar *.class *.class will collect all the class file which is been created by your java file. i hope this code will help you.

Member Avatar for lse123
0
241
Member Avatar for adity

Can you post the code you're using at the moment...? Otherwise I have no idea what to suggest.

Member Avatar for javaAddict
0
87
Member Avatar for DeadSoul

Hello friends i have spend a week to make a notepad.But i have one error in it i dont know where i am wrong . i am not able to add JFileChooser in my notepad i have JFileChooser in my code but its not working properly that's why i have …

Member Avatar for leiger
0
164
Member Avatar for lwschjang

you can take the help of AWT and SWING for making a java gui.you can take the help from the tutorial on Dani Web

Member Avatar for DeadSoul
0
152
Member Avatar for iRemember

can you just elaborate more where you are finding the logic error..?

Member Avatar for jwenting
0
99
Member Avatar for staufa

the above code line # String sURL = "jdbc:mysql://studdb-mysql.fos.auckland.ac.nz/<DATABASE_NAME>"; is quite complicated to understand you can take the help from the following code i hope this may help you. [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.sql.*; import java.io.*; public class Login extends JFrame implements ActionListener { …

Member Avatar for peter_budo
0
224
Member Avatar for Raakesh399

i dont know this may help you or not but i had used this method to delete a record from a database using JOptionPane example [CODE] int reply = JOptionPane.showConfirmDialog (this, "Do you really want to Delete\nthe " + txtMemberName.getText () + " Record?", "LibrarySystem - Delete Member", JOptionPane.YES_NO_OPTION, JOptionPane.PLAIN_MESSAGE); …

Member Avatar for jwenting
0
92
Member Avatar for prem2

i think so the best source for running the servlet is the netbeans.Using tomcat is just a waste of time.NetBeans will help u build servlet faster and in an easier way.

Member Avatar for prem2
0
137
Member Avatar for FoziaZafar

don't make your code more complicated try out some simple coding like the code given below to store the values into database. [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.sql.*; import java.io.*; public class Login extends JFrame implements ActionListener { JTextField txtname; JLabel lblname,lblpass1,lblpass2; JButton btnok,btncancel; JPasswordField …

Member Avatar for jwenting
0
119
Member Avatar for ketanbembi

i have tried this code hope this may help it quite complicated but still it will help [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.sql.*; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.awt.Dimension; import java.io.IOException; import java.util.Date.*; public class report extends JFrame { PreparedStatement ps; Connection con; ResultSet rs; …

Member Avatar for DeadSoul
0
157
Member Avatar for Abdel_eid

the best way to create a .bat file which is similar to exe .First create a jar file.n then i same location where your jar file is stored create a notepad file with .bat extension then write the following code in notepad. example java.exe -cp l.jar;. splashfrm

Member Avatar for DeadSoul
0
314
Member Avatar for ManojRay

can u just show us till where you have done your code so that we can help you..

Member Avatar for stultuske
0
254
Member Avatar for evak77

Hello can u just tell what all errors your are getting so that we can help you and please use code tag for posting your code.

Member Avatar for DeadSoul
-1
104

The End.