- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 15
- Posts with Downvotes
- 13
- Downvoting Members
- 7
228 Posted Topics
Re: I came here today to look for this information. LOL I guess I found it. That was easy. Thanks | |
I am using NetBeans and I have the MySQL server with SQL db running on my computer. I have a desktop app with embedded db. I would like to find some good info on how to add button functionality to initiate another desktop app. I would like to explore possibilities … | |
Hello. I was trying a new apache derby SQL prepardstatement to send numbers incremented form one into three tables. if it find the number in any of the tables than it is not the number I need to create the next primary key in my payment table. I am not … | |
Re: Personally, I use Netbeans to create a master GUI with basic component needed because it is so much quicker. Besides component placement and the adjusting name and the "code" Variable Modifiers (public static ... etc) it turns into a mess. So once there is a master template created then you … | |
Hello all. In my Apache derby db I set up Decimal data types like this: [code] admin_pay_rate DECIMAL(5,2), [/code] I use JFormattedTextFields to filter decimal usage in text fields concerning money Like admin pay rate would be 150.00: this is good. In the JFormattedTextField it will allow 1,000.00 but the … | |
Hello I have created a multi tabbed JDesktopPane that will load 5 different configurations depending on the profile of the user logged in that has dozens of forms And dozens of interactive JInternalFrames, JList, JTables, JTrees and a complete unique file system that is created for each new user sorted … | |
I went and tried to learn how to use Enum So I apologize for the lack of logical construction but I had to start somewhere I have code that I am not sure how to use it because I don't know how to call it so all the logic went … | |
I was reading some code that encouraged the use of vectors but my IDE is saying that it is an obsolete Collection. I need to use Vector because it can does not need to be a set size. and I would like to have a Vector of Vectors. Is there … | |
Re: You may want to pay attention to setString(1,val1) as it should not interfere with the Primary key. when I set the strings I start with the data needed and I do not attempt to alter the primary key so there are six columns in the db but five values "?" … | |
My MASKFORMAT is "##:00" which allow rounded hours but can I include that ## can only contain [0-23]? what would that code look like? [code] private PropertyChangeSupport propertySupport; public static final String PROP_TICKING_PROPERTY = "clock is active"; //public static final String MASKFORMAT = "##/##/#### ##:##:## UM"; public static final String … | |
Below is how I set up my JFormattedTExtField. The database (derby) will take the format no prob. The db will then change the form to yyyy-MM-dd If I follow that format from begining to end the JFormatted Field will be fine. However, when a date is queried from the database … | |
Re: Here is a Browser and some links to examples. Maybe you can send it a address when you need it good luck. [code] package view.utils; /* Examples: * Browser.displayURL("http://www.javaworld.com") * Browser.displayURL("file://c:\\docs\\index.html") * BrowserContorl.displayURL("file:///user/joe/index.html"); * * Note - you must include the url type -- either "http://" or "file://". */ //C:\Users\depot\Documents\ceyesumma\java_cache\my_projects\schooldb_project\target_schooldb\schooldb\schoolofdb\src\view\learn\guitar\gm\bin\index.html … | |
When I parse this date: [code] SimpleDateFormat sdf = new SimpleDateFormat(); Date utilDate=sdf.parse(txtFieldArray[i].getText());//12/31/1955 java.sql.Date sqlDate=new java.sql.Date(utilDate.getTime()); instructorBean.setStartDate(sqlDate); [/code] error [code] May 9, 2011 7:10:43 PM view.forms.profileForms.InstructorProfileForm actionPerformed SEVERE: null java.text.ParseException: Unparseable date: "12/28/1955" at java.text.DateFormat.parse(DateFormat.java:337) [/code] Can someone show me some code on a date that can be parsed? | |
Hello all. The Java Date and time classes are difficult. I think I have to use java.sql.Date which is a sub class of Date but is not a date unless the time is normalized to zero. so I've heard. I would like to work with my studentDOB first by collecting … | |
When Using DOM can the text in [ICODE]<linkDesc>[url]www.deleteme.com[/url] desc</linkDesc>[/ICODE]be replaced or will the link element need to be Removed and replaced? [CODE]<?xml version="1.0" encoding="utf-8"?><links> <links> <link action="save"> <linkName>www.deleteme.com name</linkName> <linkPath>www.deleteme.com</linkPath> <linkDesc>www.deleteme.com desc</linkDesc> </link> </links>[/CODE] thanks | |
Hello. I am not sure how this is supposed to work. I need to find a file that will be in a folder data/gm in my package. If I move the program around is there a way to have the program find its new absolute path [icode].getAbsolutePath()[/icode] from its path … | |
Hello. I have search my app for all classes to implement java.io.Serializable. I think that the needed classes are covered.I create and serialize JInternalFrames. When I re-open a JInternalFrame some of the JMenuItems do not do thier job. Also when I right click the Tabs on the JTabbedPane to bring … | |
Does any one know where there is some Java code already written to handle deleteing directory trees? Maybe with some undo functions? | |
Hello. I going to write fames.xml with my app. I need to know the best way to handle adding a block of XML but not at the end because I need to have the root element at the end. Any ideas. 1.never end it but when I use it add … | |
Hello. Can anyone bring me up to speed to use XML to manage adding and removing tabs from a JTabbedPane? I am adding tabs and I Would like some code or links that could show me how to serialize any changes I make to a JTabbedPane. Thanks | |
Hello I am not sure what is getting serialized. I would like to serialize a JInternalFrame. So what do I send my SaveFrame.java. because it puts a file "null.dat" in the folder. I sent the frame got null.dat sent something I thought was the class of the frame (as shown … | |
I would like to learn how to save a JInternalFrame. Currently reading through Serialize info. I have never ran the app outside of Netbeans. I have had no success with creating the jar for the app (JDesktopPane). Now Serialization is adding to the confusion. Do I have to have the … | |
Hello Could help me get the right MySQL on my computer. I had it installed but it was a couple years ago. My cp crashed. I can't remeber how or what to install. All I have left is the script I used. I was running the command window one. that … | |
Hello all. Is there any one that could suggest some key words or links (besides "How to use JTabbedPane") that could generate some links to tutorials that describe how to implement the process of adding tabs to JTabbedPane during runtime? or profide some feedback on what kind of learning trail … | |
Hello. I have been reading some stuff on the action command pattern. ever heard of it? More inportantly, Do you understand it? Because I do not. although I would like to ask if the following class could use the command pattern as aposed to 'if" or "switch" statements. I understand … | |
Hello I just started working with JTabbedPane tabs. I have been using the index to navigate the pane. Now I add and remove tabs from the pane so clearly the index navigation is no good. Does anyone know some code for an easy solution for using the title or something … | |
Hi. I can't figure out how to remove an element from an array. will I have to move get the element to be removed and swap it out with the last element and use the pop()? | |
Hello I am trying to get to a Component On a JInternalFrame. I have a reference to the frame on the frame there is a panel. on the panel there is a JTabbedPane. to add a tab to the JTabbedPane I need to reference the Pane. Is there a way … | |
Hello. I created a JTabbedPane on a panel and put it on a JInternalFrame of a JDesktop in SetObjects.java. Why can't I get a tabbcount for it after running an AbstractAction? [b]reference JTabbedPane[/b] [code] [/code] [b]reference JTabbedPane[/b] [code] M =(" --> in controlJMenuItems("+e.getActionCommand()+") var: e.getActionCommand() : xxxxxxxx<-- \n"); System.out.println(M); jtp=SetObjects.getCurrentJTabbedPane(); … | |
Hello. I have an app (JDesktop) and it has the JMenu and some JMenuItems. One will build an JTabbedPane with a dozen or so tabs. I start that one and it works good. Another MenuItem builds another Internal Frame with JtabbedPanels it works too. When I go back to the … | |
Re: This example may help. You can also declare an array of arrays (also known as a multidimensional array) by using two or more sets of square brackets, such as String[][] names. Each element, therefore, must be accessed by a corresponding number of index values. In the Java programming language, a … | |
Re: I have not worked with XML lately. You should try the XML forum | |
Re: [QUOTE=packetpirate;1365556]Don't worry yourself trying to remember every little method... just memorize the syntax and keep a cheat sheet or a pocket reference with you.[/QUOTE] Hello. There is no way to memorize it all.learn the basics but more important is to begin a repository (file system or whatever) and start organizing … | |
I keep getting this error. The app is looking for a class and in fact so am I where should this class be? I can't find it in the: [b]db-derby-10.6.2.1-bin[/b] and check sup of the dl said it was unaltered? Thanks [code] java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) … | |
I have a java app that used to use a property and I am not sure with the changes I've made to the class path how to find the driver. I thought I was using the exact same installation but I can't find the driver. Can someone please tell my … | |
I am having a problem with running my Derby embedded db. I have to set the path and I tried the following commands. the first one is wrong and I would like to learn how to remove it.please. the other ones do not seem to work . I have a … | |
Hello: I tried to create the jar of a project on C drive I have these command with the error. Could someone help with the creation of the jar? [b][/b] [b]command[/b] f [code] C:\Program Files\Java\jdk1.6.0_11\bin>jar -cvmf [/code] [b]path to manifest.txt[/b] [code] C:\Users\depot\Documents\ceyesumma\java_cache\my_projects\guitar_master_project\target_guitar_master\guitar_master\guitar_master\build\classes\view myManifest.txt [/code] [b]intended gm.jar denied on c: and … | |
hello I need a temp fix for putting times into my form. I suspect that soon I will have to work with some kind of calender class that will send selected data in all the correct formats. I have no clue. BUT right now it stop me in the first … | |
MusicSys:unsolved: Hello Could someone tell me which (if any combination of code to use to put a date in a derby db using a JFormattedTextField? [code] createBooking ...etc ..., book_date DATE, ...., ... [/code] here are the many tries I have so far [code] if (i == 3) { //I … | |
MusicSys:unsolved JDesktop:JInternalFrame out of scope ///////////////////////////////////////// Hello; I Have a JDesktopPane that opens with a x frame (JInternalFrame)wit a JMenuBar and 11 JTabbedPanels .produced by x.class.I click the menuItem to produce z.frame using x.class a new JInternalFrame with 4 tabbedPanels on it again produced by x.class. Now I click on … | |
| |
Hello Could someone tell me if I had a table and I have the meta data for the columns,could I somehow collect the table name,column name and the data type and save it in something so as I could have these attributes to draw from in other classes? Thanks | |
Hello: listed below is the order for the creation of tables and execution of ALTER TABLE resources in an Apache Derby Embedded db; Note the error at: alterInstructor. I create the instructor table then the booking table. The instructor table has book_num FK. After the booking table is created I … | |
Hello; I was having a problem understanding how to collect a date dataType as 1111-11-11 from a textFiels) and set a variable that accepts ex:public Date dob; Is there a way to get a string from an array element and parse it to conform to the Date data type? [icode]Exception … | |
Does any one know of a class that creates unlimited JTextFields that can collect data? Thanks. | |
Re: I always delete the .nbi,.netBeans,.netbeans-derby ,.netBeans-registration folders and empty any server folders when re-installing netbeans. On re-install it will tell you if a folder needs to be empty. | |
Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] stu_uid VARCHAR(11) PRIMARY KEY, stu_password VARCHAR(11), stu_lname VARCHAR(20), … | |
Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] <entry key="createStudentTable"> CREATE TABLE student ( stu_uid VARCHAR(11) … |
The End.