32,204 Topics

Member Avatar for
Member Avatar for jigvesh

Well, i searched all through google and stuff...but in vain..i want to add a functionality in my program to copy and paste buttons which are present on the screen.....I got a wonderful article to copy and paste text.but what about some swing components???????how do we copy and paste them????? [site]http://www.cafeaulait.org/course/week13/[/site]

Member Avatar for jigvesh
0
122
Member Avatar for Rearden

What happens if you call openStream twice? I have this code in which I open up a weather xml page and get information out of it. Unfortunately, the way I do it has me doing a linear search down the page for the line I need each time I want …

0
129
Member Avatar for seh1

Hi, This is my final question on my GUI , I promise. I wanted to create a global String array that once it was initialized and set in one GUI that it could be accessed by any of the other related GUIs or do I have to pass it from …

Member Avatar for hooknc
0
142
Member Avatar for docfish

Hello! I'm supposed to write a program that starts by drawing a 200 X 200 square at the top-left corner of the monitor. Continue drawing squares that become steadily smaller as they are displayed to right side of each preceding square. The bottom of the square stays at the same …

Member Avatar for server_crash
0
228
Member Avatar for seh1

Sorry I've asked a question about my GUI already but it's due Monday and I still having a few problems with it.... 1. When the GUIs opens it opens so that I have to change the size manually to view it i.e. the toolbar appears. Is there a way I …

Member Avatar for server_crash
0
144
Member Avatar for seh1

Hi, I wrote the following GUI. Its total crap but just need to get the basics working first. Its compiles fine and my Hello World test message comes up but no sign of the UI itself. Any ideas at all ? Much Thanks, Sean import javax.swing.JFrame; import java.awt.event.WindowEvent; import java.awt.Label; …

Member Avatar for seh1
0
121
Member Avatar for skalra63

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 …

Member Avatar for skalra63
0
74
Member Avatar for 3x108th

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 …

Member Avatar for masijade
0
189
Member Avatar for Tlhokomelo

;) Hi there... How do you get java applet to instantiate(execute) an application. like a Unix terminal for instance... :twisted:

Member Avatar for Rashakil Fol
0
105
Member Avatar for George2

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 …

0
60
Member Avatar for ilikerps

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 …

Member Avatar for ilikerps
0
298
Member Avatar for dsureesh

How can MySQL can be connected with Java I need sample coding

0
77
Member Avatar for DarKiCE

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 …

Member Avatar for hooknc
0
122
Member Avatar for qwester

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.

Member Avatar for qwester
0
113
Member Avatar for wejavalearn

:?: :?: 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 …

Member Avatar for wejavalearn
0
97
Member Avatar for dmgs11

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 …

Member Avatar for server_crash
0
95
Member Avatar for dmgs11

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 …

Member Avatar for dmgs11
0
236
Member Avatar for daniellcm

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] …

Member Avatar for johnroach1985
0
220
Member Avatar for sam1

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

Member Avatar for sam1
0
56
Member Avatar for sam1

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

Member Avatar for sam1
0
74
Member Avatar for radixthink

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 …

Member Avatar for iamthwee
0
228
Member Avatar for jigvesh

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????

Member Avatar for jwenting
0
187
Member Avatar for iamthwee

[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] …

Member Avatar for G-Do
0
205
Member Avatar for visual one

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 …

Member Avatar for jwenting
0
162
Member Avatar for k_en

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.

Member Avatar for jwenting
0
144
Member Avatar for seandro

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 …

0
70
Member Avatar for javafan

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 …

Member Avatar for javafan
0
226
Member Avatar for jigvesh

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 …

Member Avatar for jigvesh
0
96
Member Avatar for blackhawk982

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!

Member Avatar for tgreer
0
158
Member Avatar for Black Knight

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 …

Member Avatar for Black Knight
0
165

The End.