1. Java: Help constructing a fillTextFields() method stackoverflow.comI have a Java project where I am to connect to a database and create buttons (next, new, save, delete, previous) to navigate through the database content where there are appropriate ... |
2. java database connection retrieval stackoverflow.comI am using the code below to display the records from my database in the swing form. However, when I click on the button it only shows the first record of ... |
3. corejava Project help needed stackoverflow.comI'm Riya a B.Tech. student and i have to make a corejava project on the topic COLLEGE MANAGEMENT SYSTEM . I have created the required database using MS Access. I m ... |
4. Insert into database stackoverflow.comI have a problem, I have a system to add users, I have to make check if this user exist before so that i will not add him again, I retrieved ... |
5. RowSet as backing data source for BeansBinding stackoverflow.comQuestion: Is there a way to use a RowSet as the source data for BeansBinding? Details: I would like to use the new BeansBinding support in JFormDesigner 5, based on JSR ... |
6. Create a new database in the controller class of a Java application stackoverflow.comCan some one show me how to create a new database in the controller class of a Java application? For example, I am able to connect to a database and save ... |
7. JDBC Connctivity through Swing Application via java webstart coderanch.com |
8. Hypersonic GUI tools coderanch.comAnybody know GUI tools to explore the Hypersonic DB that comes with Orion application server? I have tried the one that comes with orion. What are the parameters in the connect dialog to connect to a server on the internet? Can't get that working, only on local machine as in memory type. Thanks. |
9. jdbc + swing coderanch.com |
10. Connection Pools and Swing coderanch.comConnection Pools really have nothing to do with Swing. In fact, JDBC has nothing to do with SWING. You can use them with Anything. So the answer to your question is yes. As far as the code example...You are kidding, right? Do you want a SWING example or a JDBC example? A combination of the two? What is it that you ... |
11. Generic GUI JDBC DB manager ? coderanch.com |
12. General purpose database GUI tool coderanch.com |
13. inegrating jdbc and gui swing/awt interface coderanch.com |
14. programes for swings coderanch.com |
15. jdbc and gui coderanch.com |
16. Database-aware Swing Application coderanch.comI am writing a Swing application that manipulates data from a database (MySQL for testing, but hopefully I can generalize it enough to easily switch to other databases). Where can I find more information on writing database-aware applications in Java, specifically with Swing? If you are familiar with Delphi and Borland C++Builder, I would really like something similar to the data ... |
17. GUI to verify database login/pwd coderanch.com |
18. getting infomations from Gui and saving it in a data base coderanch.com |
19. Swing and JDBC coderanch.com |
20. how to connect to database from swing class coderanch.com |
21. GUI for tables? coderanch.com |
22. Java Swing connection to Oracle database coderanch.comDear Ranchers, I'm using Java Swing and Oracle Database at present for doing a project. But in each and every java file i want to add database connection parameters. Is that possible to use a particular file to store the username and password and also the DbConnection details so that i can include that file in all the pages. If my ... |
24. i want to send data from swings to oracle coderanch.comim even sendiNg the maptextdata.java file.. see it import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.text.MaskFormatter; public class MapTextData extends JFrame { static final long serialVersionUID = 02; // Variables for objects private CardLayout card_layout; JPanel cardstack = new JPanel(new CardLayout()); JTextField Name,StreetAddr,StreetName; JPanel GeneralPanel,ParcelPanel,BuildingPanel,ButtonPanel,DatePanel; JButton General,Parcel,Building,Record,Clear; JScrollPane Scroller; public MapTextData() { this.setTitle("Map ... |
25. Does HFSQL cover language specifics and GUI tools? coderanch.comIf I'm understanding, I believe you're asking about connecting to your databases with various programming. No, this book is strictly scoped to helping you learn SQL. The examples are command line based rather than using a particular GUI into SQL. I do mention some at the end of the book, but the point is to be comfortable writing SQL, not using ... |
26. Transactions in swing coderanch.comThe soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ... |
27. How Do I insert my data from a swing Input GUI coderanch.com |
28. Help building a list from a JDBC query coderanch.comHello I am at the stage where I need to implement a front end to an application. I need to display a list of server names that are held in an access database. I have done the JDBC work and have a Vector that holds the data. How do I use this data to create a lsit of TextFields to display ... |
29. Can I use Java Swing with JDBC and How? coderanch.com |
30. jdbc and swing coderanch.com |
31. Looking for good books on Swings and JDBC coderanch.com |
32. Making JDBC connection from Swing coderanch.comKeep in mind that applets are only allowed to connect back to the same server from which they originated. So if you are trying to connect to a database, the database and web server must be on the same machine. In most *real* production environments the database server and web server are different machines. You won't notice this behavior in the ... |
33. Odd LookAndFeel / JDBC problem coderanch.comHello, I was torn between posting this here or to the JDBC forum, but I'll start here. I'm developing an application using JDBC and everything seems fine as long as I am using the Metal or Motif L&F's. (I was also able to use the Kunststoff L&F). The problem occurs when I try to use either the Windows L&F (com.sun.java.swing.plaf.windows.WindowsLookAndFeel) or ... |
34. To get the table in jdbc code coderanch.com |
35. jdbc with awt coderanch.com |
36. what is JDBC? coderanch.com |
37. JDBC.... coderanch.com |
38. JDBC Connection coderanch.com |
39. regarding jdbc coderanch.comi am trying to say in order the view the current status supplier clicks on the get status (JButton) which on clicking must proceed to show the current status but it automatically ends this is the coding of supplier /*import javax.swing.*; import java.awt.event.*; public class Supplier extends JFrame implements ActionListener{ private JTextArea jTextArea1; private JButton ok; private JTextPane jTextPane1; private JLabel ... |
40. Web-based GUI using JDBC coderanch.comI programmed java when I was in school, but everything was given to us (students). Now I am trying to do some java on my own, and I am having a bit of difficulties. I downloaded apache Tomcat and compiled some servlets from a tutorial that I found online. Now I am trying to make this form but I can't seem ... |
41. problem with my jdbc/swing code coderanch.comjdbc/swing ============ Following is my code to retrive data from my ms-access table NAME to display the employee name and his id. But iam getting the error as can not resolve the symbol varaible addbutton in the line (e.getSource == addbutton) also can not resolve symbol variable rs ( which is my Resultset that i have created in my code). can ... |
42. Java Demystified - GUI and JDBC coderanch.comYou raise a good question. Someone told me that those topics are not for rookies - I disagree, obviously. In the real world , GUI and database interaction is basic stuff and it is for that reason I included in the book. Hey, I'm sure every rookie wants to at least build a decent GUI screen to show off to their ... |
43. Database Search Engine, Through GUI coderanch.comHey Guys. I did SQL2000 & Have a project to do in 3days. Now I am Stuck on coding. I use NetbeansV5.5 the idea i to insert Data of Movie titles & genres. Now I need help with the coding from scratch because I am really stuck. My Gui must be able to do partial Searches using Regular Expressions. for eg(when ... |
44. GUI tools for Derby DB coderanch.com |
45. Distibuted Transaction in Swing App coderanch.com |
46. Unable to connect to server inside swing app coderanch.comHi, I would like to ask for your help with my problem. The code below works fine if I run the class itself in netbeans. But in my swing application, calling the createTestFolder method using a command button gives this exception. com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.SocketException: Malformed reply from SOCKS server at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown ... |
47. Swing/DB2 deployment Issue coderanch.com |
48. I FACE SOME ERROR, PLEASE HELP ME, ALSO I SEE THE RESULT IN SIMPLE GUI coderanch.com |
49. Problems Connecting to a database through a Swing Application coderanch.comRe-posting with code tags:- Hi I have just started learning Swing. What I am trying to do: Creating an application which will retrieve some data from a Oracle Database. What I have done so far: I am trying to connect to the Database first and I wish to proceed further once the connection is established. PROBLEM: I am getting the following ... |
50. Method to retrieve information and output in GUI coderanch.comI have written a function which which take an argument to retrieve information from a database. My problem is that the result obtained should be output through a GUI. The function is trigerred at the GUI using using a button event. The code is as follows. public void viewStaffDetail (int id)throws RemoteException{ try{ Connect connect=new Connect(); Statement statement=connect.getCon().createStatement(); String sql="SELECT Name,Role,Address1,Address2,Address3,Email,Password, ... |
51. Display information from a database in a custom made GUI coderanch.comGreetings, I am hoping someone can help me. I have trawled through the internet for hours and hours now trying to find a solution to this simple problem and for some reason I cannot find anything that can remotely help. So what I am I trying to do I hear you ask? well its simple: *****Display information from a database in ... |
52. Java GUI and MS access database coderanch.comRanchers! I need your help, actually , a direction. I have MS Access database that i am working on.Also, i am learning Java GUI (swings basically) . I need to connect these two, so that i can get a sophisticated application that can show tables, run query, print reports, using Java GUI. Any idea, how do i start. What all things ... |
53. favorite GUIs besides Swing for db front end coderanch.comHi - Just curious if some of the database programmers would be interested in commenting on GUI's for db front ends. Swing is much maligned, but seems stable enough [Oracle can't deprecate something in the "core definition" of the Java language, right?] and rich enough to do the job (basically recreating an MS Access database application using Java as a front ... |
54. Help with GUI for an embedded JavaDB database coderanch.comhi I am working on a standalone application which has an embedded database. As I have many tables and quite complex database to be linked with a multi window application. for example when you click on products button, a window should be shown to let you work with a part of the database. I was thinking to use MDI and JavaDesktop ... |
55. Database problem with Gui coderanch.comHello javaranch i am newbie i try my life with java for over a year now. Ihave try to create a simple gui with 3 textfields and save update delete search and exit buttons. untill now everythink is ok when i try to save or update or deletei have exception error.the exit buuton works .. yea ok. the question is where ... |
56. How to devolop programs using AWT and JDBC? coderanch.com |
57. A "designing" guidance needed - simple Swing & JDBC coderanch.comHello, To avoid any troubles, I'll go ahead and anounce that I've posted similar question in my other thread about the same project in the last post. I'm afraid that the post has been not seen cause of missleading thread subject. Friendly advice appreciated with a small personal project (Beginner) What I am trying to achieve: "We have a small "warehouse" ... |
58. ClassNotFoundException: org.sqlite.JDBC java-forums.orgHey all! I've been having some real problems in compiling my program into one executable JAR from with in Eclipse. The error in the title keeps occurring and I've searched and searched and we can't figure it out. I've updated the manifest to include Class-Path: sqlite.jar - etc but no dice! So far only way I've got it to run was ... |
59. Java and JDBC java-forums.orghey guys! i have this program that will accept input from user via choosing from different forms like jcombobox and jradiobutton.. then after selecting, the selected item wil be added to one table of the database.. there is no syntax error for my entire program but the problem is, there comes a runtime error that states: SQLException: Operation not allowed after ... |
60. Java JDBC - Display Multiple Query Results in one GUI java-forums.orgHeya this is my first post. I'm using java in Eclipse and trying to create a GUI interface between a SQL 2005 Database. I can get everything to work aside from getting the joptionpane.showdialogmessage GUI to show all of the results. I can't paste my code right now, because my vpn isn't working. I have a user input part of the ... |
61. jdbc with swings java-forums.org |
62. Gui-Database_automaticRefresh java-forums.orgThanks Ramya, I know that i need to call repaint() or validate() methods, but i need somehow to get event automatically from database that table is changed, so that i can call repaint() method. Is there some way in Java to be notified when database table is changed. Other approaches will be to refresh GUI view on user action, or to ... |
63. How to view data from SQL to GUI on Java? java-forums.orgSo, the program will be like this: There is a menu that called "REGISTER" and we input the member id there (then it is stored to SQL database). Then there is a menu that called "HISTORY" to view what is the member history (it could be purchase items, etc). My questions is, How to check their history with just the user ... |
64. Problem connecting Microsoft Access to Java GUI java-forums.orgpublic Connection connect() { //Connection conn; String driver = "sun.jdbc.odbc.JdbcOdbcDriver"; String url = "jdbc:easysoft://localhost/C:/Documents and Settings/Chrysler/Desktop/MovieDatabase.accdb"; String username = "Chrysler"; String password = "chrisujt782"; try{ Class.forName("easysoft.sql.jobDriver").newInstanc e(); conn = DriverManager.getConnection(url, username, password); new JOptionPane().showMessageDialog(null, "IT WORKED"); }catch(Exception e){System.out.println(e.getMessage());} finally{return conn;} } -- The catch block always prints "valid logonuser and optional logonpassword must be specified to gain access to this system". ... |
65. ResultSet GUI java-forums.orgHi every one i am working on a project for my final year. and it is a database java application my database is Mysql i don't have any problem with connection the database with my application i can insert data throw GUI. my problem in how do i get data from database to GUI i need an example if anybody have ... |
66. JDBC with Swing question java-forums.orgok hi im pretty new to JDBC i was just wondering if anyone can help with this question i have ok here's the question. i was just wondering is that when you get a resultsset back from the database can you display all the results for that query in the different JLabels. like the first row received back will be display ... |
67. jdbc with swings java-forums.org |
68. jdbc with swings java-forums.org |
69. Bug Report for Admin-gui: unexpected behavior in JDBC connection pool configuration java.net4. get the value of "Validation Method" back to "table" set the value of "Validation Method" form "auto commit" back to "table", left the "Table Name" as blank and save it. #although "table name" can not be left blank when "Validation Method" is specified #as "table", indirectly set blank for it by step 3 and 4. I think it is the ... |
70. problem compiling a Swing/JDBC application forums.oracle.comhello. thanks for the reply. should i only use one actionPerformed for each combo box, including each check box associated with the combo boxes? i originally intended to be able to view CD/DVD/Game information in a database by name, age category, type and year. when viewing CD/DVD/Game information by name, i would want to be able to type the name of ... |
71. JDBC-ODBC Bridge, Swing Components forums.oracle.com |
72. JDBC And Swings forums.oracle.com |
73. SWING and JDBC questions forums.oracle.comHello!I want to develop databases applications using Java but I have some questions. 1 - is there any way to bind the swing components to some tables (or fields) or do I have to code myself all.I am asking because I want to display,synchronize and update data through it. 2- if I want to use a JTable to display a table ... |
74. advice needed, java + swing + JDBC forums.oracle.comThat's right. But you don't need to add any methods to it. You just want the database to be updated when the setValueAt() method is called. The naive way to do that would be to just stick the database update processing into that method, but that would mix the data with the logic. So it wants to go somewhere else. But ... |
75. Swing/JDBC problem (edited message) forums.oracle.com----jGRASP exec: javac -g X:\CP4B Project\Demo.java ProductForm.java:57: int cannot be dereferenced productNumber=Integer.parseInt(""+productNumber.getText()); ^ ProductForm.java:58: setProductNumber(int) in Product cannot be applied to (java.lang.String) p.setProductNumber(txtFlds[0].getText()); ^ ProductForm.java:59: int cannot be dereferenced productNumber = Integer.parseInt(productNumber.getText()); ^ ProductForm.java:61: float cannot be dereferenced rentalPrice=Float.parseFloat(""+rentalPrice.getText()); ^ ProductForm.java:62: setRentalPrice(float) in Product cannot be applied to (java.lang.String) p.setRentalPrice(txtFlds[2].getText()); ^ ProductForm.java:63: float cannot be dereferenced rentalPrice = Float.parseFloat(rentalPrice.getText()); ^ ProductForm.java:66: ... |
76. Swing/JDBC problem forums.oracle.com----jGRASP exec: javac -g X:\CP4B Project\Demo.java ProductForm.java:57: int cannot be dereferenced productNumber=Integer.parseInt(""+productNumber.getText()); ^ ProductForm.java:58: setProductNumber(int) in Product cannot be applied to (java.lang.String) p.setProductNumber(txtFlds[0].getText()); ^ ProductForm.java:59: int cannot be dereferenced productNumber = Integer.parseInt(productNumber.getText()); ^ ProductForm.java:61: float cannot be dereferenced rentalPrice=Float.parseFloat(""+rentalPrice.getText()); ^ ProductForm.java:62: setRentalPrice(float) in Product cannot be applied to (java.lang.String) p.setRentalPrice(txtFlds[2].getText()); ^ ProductForm.java:63: float cannot be dereferenced rentalPrice = Float.parseFloat(rentalPrice.getText()); ^ ProductForm.java:66: ... |
77. Swing/JDBC problem forums.oracle.com----jGRASP exec: javac -g X:\CP4B Project\Demo.java ProductForm.java:57: int cannot be dereferenced productNumber=Integer.parseInt(""+productNumber.getText()); ^ ProductForm.java:58: setProductNumber(int) in Product cannot be applied to (java.lang.String) p.setProductNumber(txtFlds[0].getText()); ^ ProductForm.java:59: int cannot be dereferenced productNumber = Integer.parseInt(productNumber.getText()); ^ ProductForm.java:61: float cannot be dereferenced rentalPrice=Float.parseFloat(""+rentalPrice.getText()); ^ ProductForm.java:62: setRentalPrice(float) in Product cannot be applied to (java.lang.String) p.setRentalPrice(txtFlds[2].getText()); ^ ProductForm.java:63: float cannot be dereferenced rentalPrice = Float.parseFloat(rentalPrice.getText()); ^ ProductForm.java:66: ... |
78. using a swing program with a gui-based jdbc program forums.oracle.comSystem.exit(0); } public static int getChoice(){ String choice; int ch; choice = JOptionPane.showInputDialog(null,"1. Maintain product details\n""2. Maintain member details\n""3. Maintain rental details\n""4. View product, member and rental details\n""5. Log Off\n\n"+"Enter your choice"); ch = Integer.parseInt(choice); return ch; } public static void getSelected(int choice){ if(choice==1){ addProducts(); } if(choice==2){ addMembers(); } if(choice==3){ addRentals(); } if(choice==4){ Demo test = new Demo(); test.setVisible(true); } } ... |