Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
34% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
7
Posts with Downvotes
6
Downvoting Members
5
3 Commented Posts
0 Endorsements
Ranked #818
~25.6K People Reached
Member Avatar for jrosh

Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Member Avatar for Sardar_1
0
2K
Member Avatar for sincerelibran

Dear Friends, I have a frame which is a JSplitPane which is split horizontally into two. On the upper half I want a JFrame to appear and on the lower half I want a JTable to appear. I tired but couldn't get the answer correctly. Will anyone be able to …

Member Avatar for jouj
-1
737
Member Avatar for bullockc83
Member Avatar for javanew

i have 3 months to learn my course Data Base Management System, where i must make a project. I have chosen to make a software to dentist clients. Please help me with any ideas, my entity , my relationships, is it easy to make or hard??? i am null in …

Member Avatar for Ezzaral
0
477
Member Avatar for PadmeTraner

It just won't. No matter what I try, it won't even output what I tell it to, muchless as me for input. Here's the code: [CODE]package javatask1; import static java.lang.System.out; import java.util.Scanner; public class Main { public static void main(String[] args) { public static int moneyEarned = 0; Scanner myScanner …

Member Avatar for sincerelibran
0
149
Member Avatar for erogol

I divided 13/24 in java but the result value is printed as 0.0; the variables like; int asd = 13; int dfg = 24; double result = (double)(asd / dfg); print(result); // 0.00 How can I get the exact value?

Member Avatar for sincerelibran
0
99
Member Avatar for Slyvr

I'm fairly new to java, but I'm sure I've done this before and now it's not working right. What am I forgetting here? LeftPanel class [CODE]Inventory inventory; JTextField txtMoney = new JFormattedTextField([COLOR="Red"]inventory.getInvWallet()[/COLOR]);[/CODE] Inventory class [CODE] public class Inventory { public int invId = 0; public int invPrice = 0; public …

Member Avatar for Slyvr
0
102
Member Avatar for musikluver4

I am just curious if anyone knows how to BEGIN to start the coding for telling the program to have a GUI with typical fields, labels, buttons, panels, etc in a GUI, and then when a user presses a button, it goes to a complete different GUI with brand new …

Member Avatar for musikluver4
0
5K
Member Avatar for andyhunter

part of bigger code but i cant understand why its not working in the correct range [code] Scanner input3 = new Scanner (System.in); System.out.println("Enter House Number;"); houseNumber = input3.nextInt(); do { System.out.println("You must enter a house number between 1 and 1000"); System.out.println("Enter House Number;"); houseNumber = input3.nextInt(); }while ((houseNumber <1) …

Member Avatar for sincerelibran
-1
113
Member Avatar for Crono

I am writing a program that calculates Fibonacci numbers... But I keep getting an error on my code when I try to compile it...: Fibonacci.java:18: illegal start of expression public int calcFib (int n) { ^ 1 error I don't know what I am doing wrong? Someone help? Here's my …

Member Avatar for sincerelibran
0
258
Member Avatar for kchadek

Yeah I know the usual Palindrome problem, but anyway here it is. Given a number greater than zero and up to 200. Find Palindrome of it by adding its reverse to it and repeating until a Palindrome is reached. If taken more than 10 iterations stop. So here is my …

Member Avatar for kchadek
0
101
Member Avatar for jems5

My program requires that the user input values for an array do not exceed a declared final int variable. To control this I wrote this code to catch and throw exceptions in order to prevent computer from crashing the program. There are two conditions to be handled. (1) Exceeding array …

Member Avatar for dangari
0
143
Member Avatar for AGU.Jessica

How do I go about centering my entire web page in Dreamweaver CS3? I could really use some assistance. Thanks for any input! - J.

Member Avatar for charlesying
0
402
Member Avatar for BlueCharge

Please could someone find out why the website i have made for a client is completely screwed up in Internet Explorer but pretty much perfect in Mozilla Firefox. Problems in IE: 1. Cells in tables are centered 2. Footer is not in line and looks bad 3. On the contact …

Member Avatar for diafol
0
98
Member Avatar for lrolsto1

So, I am working on a project that uses inheritance. I have a class Creature, which extends Thing. Also, I have classes Tiger and Ant that extend creature. I also have a TestCreature class. All of these are in the same directory, and they all compile. However, when I run …

Member Avatar for Ezzaral
0
89
Member Avatar for Alex_

Hello, i made a basic java desktop application. After building the interface in the form, i compiled it and it worked perfectly. But after i added an event to a button (on click) my app won't close. I use the X button from the title bar, or ctrl+q from the …

Member Avatar for Alex_
0
2K
Member Avatar for keny2020j

My code is : /* Database.java*/ [code] import java.sql.*; import java.awt.*; import javax.swing.*; public class Database{ private static Connection con = null; public static Statement statement = null; public static void makeConnection() { JOptionPane.showMessageDialog(null, "database"); String driver = "sun.jdbc.odbc.JdbcOdbcDriver"; String url = "jdbc:odbc:lib"; String username = ""; String password = …

Member Avatar for keny2020j
0
213
Member Avatar for ctsarsh

i need to convert this java code to java applet code here in my java code: import java.io.*; import java.util.*; public class fyp { static int t_value=2; static int no_of_parameter = 0; String binary_setting; static int data[]; static ArrayList<String> constraint = new ArrayList<String>(); static ArrayList<String> seeding = new ArrayList<String>(); static …

Member Avatar for masijade
0
177
Member Avatar for Dmith

how to deal with awt and swing component in java .error is produced when i compare the swing component so what i do for solving it;

Member Avatar for javaAddict
0
101
Member Avatar for Stefano Mtangoo

What are rules to observer when writting More than one class in single Java file. Let say three classes on the same file Thansk

Member Avatar for kvprajapati
0
135
Member Avatar for JuneM

I am trying to compile this java file and it is giving me an error say : java.lang.nosuchmethodeorror.main what could be the problem? [code=c] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JChangeFont extends JApplet implements ActionListener { JLabel banner = new JLabel("Your Name"); int fontSize = 18; Font theFont …

Member Avatar for sincerelibran
0
213
Member Avatar for laelzio.mosca

I`m trying to write a sample program in java, but the book doesn`t explain how I should write my html code to execute it, I don`t even know what I should use to write a HTML code, I looked online, but didn`t find much. this is the java code: [CODE]import …

Member Avatar for sincerelibran
0
81
Member Avatar for JuneM

I am trying to compile my java file here but I am getting 8 erros with the same sybmol : illegal start of an expression here is my coding: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JChangeFont extends JApplet implements ActionListener { JLabel banner = new JLabel("Your Name"); int …

Member Avatar for sincerelibran
0
402
Member Avatar for gaya88

hi I have a problem regarding calling print() method through main().It asks to pass arguments but i already done so using constructors.Any help in missing statement. [code] public class ElectricityBill { public static void main(String args[]){ current c1=new current(500,"January"); current c2=new current(1600,"February"); c1.print(double total,String month);/[COLOR="Green"]/this is the place i wanna …

Member Avatar for PopeJareth
0
162
Member Avatar for kathmartir

I have a problem with the dispose method. . .I got 3 java files with a class name: MainProgram.java MainPanel.java PageOne.java The MainProgram java extends JFrame. The MainPanel.java extends JPanel. The PageOne.java extends JFrame. The MainPanel.java is where all the actions and etc. are being set. The MainProgram.java calls the …

Member Avatar for FriQenstein
0
5K
Member Avatar for kat1

I am using java.io package in my j2me programe in order to use PrintWriter but package does not show PrintWriter option nor it shows BufferedReader option , why this happen ??i do not know.if any one knows the solution plz tell me.is it require any specific library???? plz help me …

Member Avatar for sincerelibran
0
105
Member Avatar for abu taher

I made a queiry. but every data show in this queiry double. I mean every data show two time in this queiry. why this problem occured. any body help me please.

Member Avatar for johnly
0
96
Member Avatar for iamwa

i am an IT STUDENT MY INSTRUCTUR HAS GIVEN ME ATASK TO BUILD WEB BROWSER IN JAVA AFTER GUI WHAT I HAD TO DO PLEASE HELP ME!!! NOT GIVE ME THE CODE JUST TELL ME EASY STEPS COMPLETE IT THANKS!!!

Member Avatar for saggy4
0
105
Member Avatar for davidnorth

Hello, I have a problem with my code and can't see what the difference can be. I am trying to change my JLabel text via a timer using .setText I have 2 small apps to demonstrate my problem. 1 - I have a JLabel within a JPanel within a JFrame, …

Member Avatar for davidnorth
0
557
Member Avatar for anusha88

hi,i have a unique problem.actually i wish to put a polarchart developed using JFreechart on the frame that already has components placed on it.What i want to do is to make the particular component overlap the polarchart. How can i do so? i thought of creating the polar chart using …

Member Avatar for kvprajapati
0
257