36,051 Topics
![]() | |
i am using ADODB to connect an access database to my forms. i have the folloing code which searches the database table for a barcode. it searches and displays correctly, until you put in a non existant barcode, then it comes up with error 3021. eof bof error. it highlights … | |
i am working on a program where the user enters a number and the computer will generate N number of characters and print them in all combonations. For example: enter number: 3 aaa aab aac aba abb abc aca acb acc baa bab bac bba bbb bbc bca bcb bcc … | |
;) Hi there... How do you get java applet to instantiate(execute) an application. like a Unix terminal for instance... :twisted: | |
Hello everyone, I want to use JDBC to access DB2 database. I also want to display the content of a specific table (table name is configurable) into web page (just like what is displayed when we use command line "select * from <table name>" on the console). I am wondering … | |
Hello, I know this question is stupid, but I cannot find an exact answer to it. I am using Eclipse, and have written some classes to be used as a small database editor for XML. It compiles and runs fine in Eclipse. However, I made it so that it can … | |
| |
Hello to all, I am currently working on several project assingments and at the moment I don't think I will be able to complete this one. I have completed the class, initial class diagrams for this project but I need help from someone to complete the coding/design of the application … | |
I am having difficulting creating a Kayles game for java using eclipse. I have all the needed funtions, except for the computer movements, which is what I am having difficulty with. Any help would be appreciated, I have attached the file to this post. | |
:?: :?: I dont understand what jbuilder is trying to tell me .. by all right my code seims fine I spent 4 days working it up (yes I am a beginer) I know there are most likly better ways to do what I am doing. The point is compiled … | |
Error .java:132: incompatible types found : int required: int[] int[] months= numOfYears[i]*12; //The variable used for user input for exact month information ^ 1 error Tool completed with exit code 1 [code] public void actionPerformed(ActionEvent Mortgage) { // Starts Mortgage Calculator DecimalFormat decimalPlaces=new DecimalFormat("0.00"); appMonthlyPayment.setText(""); // The next 3 lines … | |
I am looking to create a mortgage applet with an array for the 3 amounts. There is something I am missing here. Any help can be of use [CODE] /* GOAL Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term … | |
Hi, I'm from Bolivia; so excuse me my english, I need to know how or what i have to do for programming my ports with java, i'm new in java but i need that because i'm doing my project for the university, so what i need is this: [list] [/list] … | |
hi i have this code: if(r instanceof Message){ Message mess = (Message)r; but it says Message not found.... I thought message was one of the libraries in java... thanks | |
hi everyone, I have a concern would java run on any processor or it is just intel processor? because im thinking of buying AMD Sempronâ„¢ processor. thank you | |
The client has developed global trading, decision-support and risk management solutions for the world's premium investment banks since 1990. They have offices in London, New York, San Francisco and Tokyo. Please submit your resumes to [email]topjobs@radixthink.com[/email] The Senior Software Engineer will play a lead role in the design and development … ![]() | |
I need to reserve a resource for a particular period of time,When i finished in specify the date & time (ie start time and end time). I need to give a report for the particular day by displaying the timing details visually( ie by shading the cell) in the table … | |
Well, i wanted to know if its possible to create a new format in which i can save and then open the files....lets say a .abc format which can be opened only in the editor developed by me.....i think it must be done in xml....if it is so then how???? | |
![]() | [COLOR=Pink]O[/COLOR][COLOR=Red]k[/COLOR][COLOR=Red],[/COLOR] [COLOR=Red] [/COLOR][COLOR=Plum] [/COLOR][COLOR=Red]H[/COLOR][COLOR=DarkRed]e[/COLOR][COLOR=Pink]r[/COLOR][COLOR=DarkRed]e[/COLOR] [COLOR=Pink]i[/COLOR][COLOR=Red]s[/COLOR] [COLOR=Pink]w[/COLOR][COLOR=Pink]a[/COLOR][COLOR=Pink]t[/COLOR] [COLOR=Red]i[/COLOR] [COLOR=Red]g[/COLOR][COLOR=Pink]o[/COLOR][COLOR=DarkRed]t[/COLOR][COLOR=Red]t[/COLOR][COLOR=DarkRed]a[/COLOR] [COLOR=DarkRed]d[/COLOR][COLOR=Pink]o[/COLOR] [COLOR=Red]i[/COLOR][COLOR=DarkRed]n[/COLOR] [COLOR=DarkRed]m[/COLOR][COLOR=Plum]y[/COLOR] [COLOR=Red]n[/COLOR][COLOR=DarkRed]e[/COLOR][COLOR=Pink]x[/COLOR][COLOR=Plum]t[/COLOR] [COLOR=Pink]a[/COLOR][COLOR=DarkRed]s[/COLOR][COLOR=DarkRed]s[/COLOR][COLOR=Red]i[/COLOR][COLOR=Pink]n[/COLOR][COLOR=DarkRed]e[/COLOR][COLOR=Red]m[/COLOR][COLOR=DarkRed]e[/COLOR][COLOR=Pink]n[/COLOR][COLOR=Red]t[/COLOR][COLOR=Plum].[/COLOR][COLOR=Red] [/COLOR][COLOR=Pink] [/COLOR][COLOR=Pink]I[/COLOR] [COLOR=Pink]a[/COLOR][COLOR=DarkRed]m[/COLOR] [COLOR=Pink]g[/COLOR][COLOR=Red]i[/COLOR][COLOR=Plum]v[/COLOR][COLOR=Red]e[/COLOR][COLOR=DarkRed]n[/COLOR] [COLOR=Plum]a[/COLOR] [COLOR=Pink]f[/COLOR][COLOR=Red]i[/COLOR][COLOR=Pink]l[/COLOR][COLOR=Red]e[/COLOR][COLOR=DarkRed],[/COLOR] [COLOR=Red]e[/COLOR][COLOR=Pink]i[/COLOR][COLOR=Red]t[/COLOR][COLOR=Plum]h[/COLOR][COLOR=Pink]e[/COLOR][COLOR=Plum]r[/COLOR] [COLOR=DarkRed]a[/COLOR] [COLOR=Plum]b[/COLOR][COLOR=Red]m[/COLOR][COLOR=Pink]p[/COLOR] [COLOR=Red]o[/COLOR][COLOR=DarkRed]r[/COLOR] [COLOR=Red]j[/COLOR][COLOR=DarkRed]p[/COLOR][COLOR=Pink]e[/COLOR][COLOR=Red]g[/COLOR] [COLOR=DarkRed]c[/COLOR][COLOR=Red]o[/COLOR][COLOR=Red]n[/COLOR][COLOR=Red]t[/COLOR][COLOR=Pink]a[/COLOR][COLOR=Pink]i[/COLOR][COLOR=Plum]n[/COLOR][COLOR=Red]i[/COLOR][COLOR=DarkRed]n[/COLOR][COLOR=Plum]g[/COLOR] [COLOR=DarkRed]a[/COLOR] [COLOR=Red]p[/COLOR][COLOR=Plum]i[/COLOR][COLOR=DarkRed]c[/COLOR][COLOR=Red]t[/COLOR][COLOR=Pink]u[/COLOR][COLOR=Pink]r[/COLOR][COLOR=Red]e[/COLOR] [COLOR=Red]([/COLOR][COLOR=Plum]a[/COLOR][COLOR=Red]t[/COLOR] [COLOR=Plum]t[/COLOR][COLOR=Red]h[/COLOR][COLOR=Pink]e[/COLOR] [COLOR=DarkRed]m[/COLOR][COLOR=Red]o[/COLOR][COLOR=DarkRed]m[/COLOR][COLOR=Pink]e[/COLOR][COLOR=Red]n[/COLOR][COLOR=Plum]t[/COLOR] [COLOR=Plum]i[/COLOR][COLOR=Pink]t[/COLOR][COLOR=Pink]'[/COLOR][COLOR=Red]s[/COLOR] [COLOR=Red]e[/COLOR][COLOR=Red]i[/COLOR][COLOR=Red]t[/COLOR][COLOR=DarkRed]h[/COLOR][COLOR=Red]e[/COLOR][COLOR=DarkRed]r[/COLOR] [COLOR=DarkRed]o[/COLOR][COLOR=Red]n[/COLOR][COLOR=Plum]e[/COLOR] [COLOR=Plum]o[/COLOR][COLOR=Plum]r[/COLOR] [COLOR=Pink]t[/COLOR][COLOR=DarkRed]h[/COLOR][COLOR=Plum]e[/COLOR] [COLOR=Plum]o[/COLOR][COLOR=DarkRed]t[/COLOR][COLOR=Pink]h[/COLOR][COLOR=Plum]e[/COLOR][COLOR=Pink]r[/COLOR][COLOR=Red])[/COLOR][COLOR=Plum],[/COLOR] [COLOR=Pink]I[/COLOR][COLOR=DarkRed]'[/COLOR][COLOR=Plum]m[/COLOR] [COLOR=Red]n[/COLOR][COLOR=Red]o[/COLOR][COLOR=DarkRed]t[/COLOR] [COLOR=Pink]s[/COLOR][COLOR=Pink]u[/COLOR][COLOR=Pink]r[/COLOR][COLOR=Plum]e[/COLOR][COLOR=Plum].[/COLOR][COLOR=Red] [/COLOR][COLOR=DarkRed] [/COLOR][COLOR=DarkRed]T[/COLOR][COLOR=DarkRed]h[/COLOR][COLOR=Red]e[/COLOR] [COLOR=Plum]f[/COLOR][COLOR=Pink]i[/COLOR][COLOR=Pink]l[/COLOR][COLOR=DarkRed]e[/COLOR] [COLOR=Pink]c[/COLOR][COLOR=Pink]o[/COLOR][COLOR=DarkRed]n[/COLOR][COLOR=Pink]t[/COLOR][COLOR=Plum]a[/COLOR][COLOR=Plum]i[/COLOR][COLOR=Pink]n[/COLOR][COLOR=Plum]s[/COLOR] [COLOR=Plum]a[/COLOR] [COLOR=Pink]w[/COLOR][COLOR=Red]o[/COLOR][COLOR=Pink]r[/COLOR][COLOR=Plum]d[/COLOR] [COLOR=Red]o[/COLOR][COLOR=Red]f[/COLOR] [COLOR=DarkRed]f[/COLOR][COLOR=Pink]i[/COLOR][COLOR=Red]v[/COLOR][COLOR=Red]e[/COLOR] [COLOR=Red]l[/COLOR][COLOR=DarkRed]e[/COLOR][COLOR=DarkRed]t[/COLOR][COLOR=Pink]t[/COLOR][COLOR=Red]e[/COLOR][COLOR=Plum]r[/COLOR][COLOR=DarkRed]s[/COLOR] [COLOR=Plum]f[/COLOR][COLOR=Red]r[/COLOR][COLOR=DarkRed]o[/COLOR][COLOR=Red]m[/COLOR] [COLOR=Pink]t[/COLOR][COLOR=Plum]h[/COLOR][COLOR=Plum]e[/COLOR] … |
I have several links <a href> in a JSP page.these links are to be passed in a parameter and retreived in the next jsp page.problem is that in future some other links may be added.So I need to pass these links dynamicalln in <a href> Need help..... | |
Hey guys I need some help with my assignment. First let me start off by telling you guys that I am new to program writing. My professor isn't helping us at all, in fact half of my class has dropped the course. I have to write a program that has … | |
Does anyone know how to create a JAR file using JCreator ? i have try to create it but it gives me this error [COLOR=Red]" Failed to load Main-Class manifest attribuite from c:\hello\.jar" [/COLOR] which i doesn't know how solve it. | |
I was wondering if anybody else had experienced this same problem and had a fix or work around. Using netbeans 5, I created a new project, added a JFrame and then put a few JTabbedPane's on it. change the background colors of each tab and then run it. What happens … | |
Please see the code [code] import java.awt.*; // Defines basic classes for GUI programming. import java.awt.event.*; // Defines classes for working with events. import java.applet.*; // Defines the applet class. public class ColoredHelloWorldApplet extends Applet implements ActionListener { // Defines a subclass of Applet. The "implements ActionListener" // part says … | |
Well I must say, this site is a great database regarding all the possible difficulties one can have........of course before anyone starts commenting I must add HELP IS GIVEN ONLY IF WE TRY.......Now my question...i wanted to know how do we refresh an application partially........What i mean is that lets … | |
Does ne1 have an already made script for a blog to put on ur page!i had a blog but it only let me post not the ppl visiting the site :mad: ! if you do have a premade code plz post it! | |
Hi Just wondering if anyone can help. I have a gui and have assigned a KeyListener to it, It recognizes keyboard input for standard keys but doesnt seem to recognise special keys like shift and function keys? Is there some special way to be able to get it to react … | |
Alright I have been using the setSize method for the JSlider to try to set it's size but it seems to be having no effect what soever. I have the JSliders instead a JPanel that is using a GridBagLayout, the JPanel is then being adding to another JPanel which uses … | |
I have tried to connect my JSP codes to my database server but i seem to get an error saying that it cannot locate the driver. My normal java codes to retrieve data frm database works fine but not my JSP codes. I m a bit lost in the configuration … | |
Can anyone suggest me how should i remove java.shinwow.BA? It was only detected by my zonealarm. However zonewalarm is unable to remove it. Can someone help me? Is it a virus? | |
Anyone here got this [URL=http://www.sesfocus.com/education/catalog/CX-310-035.html]java certificate[/URL]. | |
i download a evaluation version of weblogic6.1. It gives me the following exception when I start Weblogic $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$ Unable to start WebLogic Server !! Missing license file for: WebLogic Server 6.1 $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$ Regards, Hemanth [url]http://www.javaprogrammingworld.com[/url] | |
Here is my problem: Create Two classes ProcessInt Class knows An array of integers ProcessInt class knows how to One constructor that will set the size of the array of integers Method to set the value of a particular array element Method to get the value of a particular array … | |
Can somebody please provide my with usefull info how to open internet browser from java program? The way how this should work, work cross platform & open default browser don't force certain browser I tried to use info from [URL=http://today.java.net/pub/a/today/2004/10/14/jdic1.html]this page[/URL] but couldn't get it work. Together with tutor we … | |
need to have an input of money to pay for an item and amount given. to return change due with denomination format: 20 dollar bills 10 dollar bills 5 dollar bills 1 dollar bills quarters nickels, dimes, pennies, etc. so far i got this: import java.util.Scanner; public class Cashier { … | |
Hi I am not able to set the position of Jpanel, having a tough time. Code is attached. 1. How can I reduce the gap between To and textbox Cc and textbox etc 2. How can I reduce the vertical space between Send/Contact/Spell/.... and the row containing To with textbox … | |
Greetings: I was wondering, how can i run a .class from a different location? For example, supose that i have c:\A.class, in MS-DOS supose that im at d:\whatever\whatever\, if i run java c:\A, i get: Exception int hread "main" java.lang.No ClassDefFoundError c:\A I`ve also tried using: [quote] java -cp . … | |
Hi there, I have a problem in my **controller.jsp** This page aims to retrieve the device's status from my database to display on the form. After that it will update device's new status when my customer wish to change the status. So I declared a **String array status []** to … | |
public class Palindrome extends JFrame { private String input;private Stack<Character> charStack = new Stack<Character>(); public Palindrome(String input) { this.input = input; fillStack(); } private void fillStack() { for(int i = 0, len = input.length(); i < len; ++i) { charStack.push(input.charAt(i)); } } private String buildReverse() { StringBuilder result = new … | |
Hi... I have come acroos with this new problem - Integration in Java. I need to use integration (Mathematics operation) in Java. Is this possible...? and if yes, then how....and which package I will need to use.....which class and everything. I need help on this asap. Is anybody up for … | |
hey just wanted to do my monthly hjt report and make sure im still runnin clean! Thanks! Logfile of HijackThis v1.99.1 Scan saved at 2:00:08 PM, on 2/7/2006 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\spoolsv.exe C:\PROGRA~1\Grisoft\AVGFRE~1\avgamsvr.exe … | |
hey guys any 1 know how 2 create a exit button in jcreateer... because i don't hav a clue how to do it..... i would really appriciate it ..if u guys can help me... thank u ps: if the method is simple..its better..coz im just started java.. thank u again | |
I have two user accounts on my computer and they are both administrators. I have downloaded and installed Java. It runs fine for one of the users but not the other user. Why can't both user use Java when it is already installed on the computer? | |
I would not be posting right now if it weren't for the fact that I've exausted my resources and have no where else to turn for a solution. First of all, let me give you guys a .class file, that when compiled, does exactly what my program is -supposed- to … | |
Hi I have a homework assignment that is due today. I've been working on it all week, but I just can't get it. My assignment is to write a program that creates a stack and tells if its a palindrome. Here's what I have: import javax.swing.JButton; import javax.swing.JFrame; import java.util.Stack; … | |
Hi everyone, Sorry to ask this question but i just wanted to clear something. If i were to serialize a java object using the ObjectOutputStream on a windows platform can i read back the same object file on a linux box that supports java. I can't really test this out … | |
hi all I have a class gui and a class server. I am using netbeans and there are no errors in those two classes. In the main class I have this : [CODE]public class Main { public static void main(String[] args) { MyServerGui g=new MyServerGui(); MyServer server1 = new MyServer(g); … | |
hi, can anyone tell me how to know the number of computers connected in LAN using java. actually i am doing a program and in that i have to find this , so can anyone tell me how to do this :?: | |
Which type of sorting would you prefer??Quicksort or HeapSort?Even though both of them have complexities of (N log(N)), quicksort in some situations degenerates to O(n*n).But however heapsort is known to be less efficient than quicksort!!So which one to use in practice?Under what criteria would you choose between those 2??An example … | |
Hi i was wondering if anyone can help me out. Im trying to make a applet when a button is clicked it will appear the name John . And when another button is pressed it will display "Smith" in a seperate text field. This is what I have so far. … | |
Hi I use the tag library and i have following Problem. [COLOR=Magenta]<c : out value="${nickname}"/>[/COLOR] Output of this statement is [COLOR=Magenta]${nickname}[/COLOR] and not the value of the variable [COLOR=Magenta]nickname[/COLOR]. I have no clue what i m doing wrong. jar's and tld's are in the right directory. Following is on the … |
The End.