Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for neo_31591

(<type 'exceptions.NameError'>, NameError("global name 'MenuPage' is not defined",), <traceback object at 0x028BEC38>) The MenuPage contains buttons to All functions of the PDF shuffler software. This is one such function which retirieves Information about the PDF files. Problem is, It executes once, goes back to MenuPage , then again if i …

Member Avatar for TrustyTony
-1
303
Member Avatar for neo_31591

hey, I'm making a Portfolio website for myself, and its mostly being made to showcase my Photoshop skills, hence all my web pages have been made in Photoshop. The ContactMe page, with the fields NAME,Email,Message have text box along with them, the text boxes have also been made in Photoshop …

Member Avatar for neo_31591
0
105
Member Avatar for neo_31591

[code] BufferedReader reader = new BufferedReader(new FileReader(strPath)); String line; while ((line = reader.readLine()) != null) { out.println(line); } [/code] My textfile is like: Statement1 Statement2 Statement3 the output i get is: Statement1Statement2Statment3 I need the output as it is..same as the text file...i have tried to identify the newline charc …

Member Avatar for neo_31591
0
740
Member Avatar for neo_31591

[code] //package Answer; import java.sql.*; class Answercheck { public static String correct; public static String user="Brandon"; /* public static void check(int q1) { String dataSourceName = "questions"; String dbURL = "jdbc:odbc:" + dataSourceName; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection(dbURL, "",""); Statement s = con.createStatement(); s.execute("SELECT copt FROM Ques WHERE …

Member Avatar for neo_31591
0
119
Member Avatar for neo_31591

hey guys/...am stuck at one point....help me please! ! ! its a quiz progg... one ques...4 options... i have one button---NEXT QUES--- It should display the next ques--it should also take the user selected option, compare it with the correct option and show if the Answer is right or wrong …

Member Avatar for neo_31591
0
88
Member Avatar for neo_31591

hey guys... i made a database using Access....it consists of questions and 4options each... i made a quiz progg through java and connected the database using jdbc.... before,since it was my trial attempt, i entered silly ques into the database like whats ur name with 4 options....just to check if …

Member Avatar for neo_31591
0
120
Member Avatar for neo_31591

A little help guys i have a JButton..i wanna use it to repeat the SQL statements but with an updated value.... my JButton reads [code] if(ae.getSource()==b1) { v1=v1+2; System.out.println(v1); } [/code] v1 gets a new value everytime i click the button and the v1 is used here ...under public static …

Member Avatar for JamesCherrill
0
76
Member Avatar for neo_31591

hey guys... my database consists of questions...for a quiz....i need to read the question so that its displayed into the JLabel... [CODE=JAVA] //package Proj; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*; class Testpage extends JFrame implements ActionListener { public static String usr; JMenuBar mbr; JMenu File,Help; JPanel p1,p2; JLabel …

Member Avatar for neo_31591
0
2K
Member Avatar for neo_31591

hey am creating a quiz(examination) which randomly selects questions from a database,and each question has 4 options,out of which 1 is correct.....also i need to show the final result of the number of ques correctly answered,wrong and those not attempted.... im at loss at MySql...don't know how the design of …

Member Avatar for nohup
0
116
Member Avatar for neo_31591

readLine() returns string type.... i have a file of usernames and passwords and am trying to check the username as when entered into login page..... [code=java] InputStreamReader i1=new InputStreamReader(new FileInputStream("usr")); BufferedReader b=new BufferedReader(i1); String str; str=b.readLine(); for(int i=0;i<str.length;i++) if(str[i]==("USERNAME: "+Login.usr)) { bool=true; } [/code] now i know im trying to …

Member Avatar for JamesCherrill
0
101
Member Avatar for neo_31591

ok so the thing is im trying to save information from a register page into a file [code=java] else if(ae.getSource()==b1) { fname=t1.getText(); lname=t2.getText(); rol=t3.getText(); branch=cb1.getSelectedItem().toString(); username=t5.getText(); password=t6.getText(); username.savedata(); setVisible(false); } [/code] the username file is--- [code=java] package Proj; import java.io.*; public class username { public static void savedata() { try …

Member Avatar for neo_31591
0
97
Member Avatar for neo_31591

hey..im new to JAVA...i wanna use an Icon for a JButton..i did it already but unable to do so in the project that im making.... the back.gif is in the same folder as the .java file...it compiles well... just shows a blank white icon.... can you please find the problem …

Member Avatar for tong1
0
106