Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-07-2013, 09:28 PM   #1
Baseband Member
 
drill's Avatar
 
Join Date: Mar 2013
Location: US
Posts: 34
Default Java Programming Application

Hello CF! I have made a Java application (the application really is not impressive at all), but it is a clipboard memory program.

How it works: The program will make a list of copied items. To get the item you want, first click the window. Then scroll with the arrow keys to the item you want in your clipboard. Press "Enter". Now the selected item is in your clipboard.


Requirements: Java 7 (works on Linux and Windows, Mac is untested but will probably work)


Things not to do: -do not copy anything but images and text (However, both CAN be copied at the same time)

-do not copy online material (save it first as an image or put the text in word first, then copy it)

-do not hibernate with the program on


NOTE: Items in the "Things not to do" will most likely be fixed in the future


If there are any bugs you see do not hesitate to report them to me.

Also, I am welcome to suggestions for the application.


Now, here is the link:

https://www.dropbox.com/sh/fbtyvcirtvm4nwd/KusrIhfELo
__________________

drill is offline   Reply With Quote
Old 03-08-2013, 02:02 AM   #2
In Runtime
 
Fujitsu_Technician's Avatar
 
Join Date: Sep 2012
Location: UK
Posts: 284
Default Re: Java Programming Application

good work however I do not trust jarva as it is main source for virus attacks but I always repect people who can write in jarva and and for making the effort to make applications I use VB.net myself and I know how frustrating it is when people don't trust what you have made becuase the anti virus states it is a theat because it does not know the application or herd of it before and becuase you do not have a website on the product if it was uploaded to a website and published from a website the av is happy so I don't bother making applications anymore for the public just for familey and friends and companys like Citizans advice who no me and trust what I write is good content.

Best of Luck I hope you do better than I did.

Kind Regards
__________________

Fujitsu_Technician is offline   Reply With Quote
Old 03-08-2013, 06:36 AM   #3
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Java Programming Application

Quote:
good work however I do not trust jarva as it is main source for virus attacks
Nah, Java applets have been frought with security holes for ages (which is why most modern browsers disable them by default anyway) but desktop Java is as secure as anything else.

Nice little starter app, although it's not resizable and doesn't scroll? Can't see the source because you haven't attached it to the jar, but try adding your main component to a scrollpane and making the JFrame resizable, which should solve that issue.
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 03-08-2013, 09:08 AM   #4
Baseband Member
 
drill's Avatar
 
Join Date: Mar 2013
Location: US
Posts: 34
Default Re: Java Programming Application

Quote:
Originally Posted by berry120 View Post
Nice little starter app, although it's not resizable and doesn't scroll? Can't see the source because you haven't attached it to the jar, but try adding your main component to a scrollpane and making the JFrame resizable, which should solve that issue.
Thanks! And yes it does scroll, you must use the arrow keys. I have never used the jscrollpane at all before, so it just seemed easier this way. That will be one of the things I add to this program, and probably the ability to use the mouse instead of relying on the enter key. Also, I guess I could make it resizable too, I guess I was thinking that wouldnt be a feature that people would want, but I guess I was wrong. Anyway, I attached the source file for you in case you still wanted to see it.

https://www.dropbox.com/s/w13h37kcbc...boardFile.java
drill is offline   Reply With Quote
Old 03-08-2013, 04:39 PM   #5
BSOD
 
Join Date: Feb 2013
Location: Parallel Universe
Posts: 313
Default Re: Java Programming Application

Any chance of looking at the souce code, its not attated to the jar.

Nice little applet.
XPikachu is offline   Reply With Quote
Old 03-08-2013, 04:48 PM   #6
Baseband Member
 
drill's Avatar
 
Join Date: Mar 2013
Location: US
Posts: 34
Default Re: Java Programming Application

Quote:
Originally Posted by Pichu View Post
Any chance of looking at the souce code, its not attated to the jar.

Nice little applet.

Thanks! And yes, here it is:

https://www.dropbox.com/s/w13h37kcbc...boardFile.java
drill is offline   Reply With Quote
Old 03-08-2013, 05:17 PM   #7
BSOD
 
Join Date: Feb 2013
Location: Parallel Universe
Posts: 313
Default Re: Java Programming Application

Very tidy code well done.

I am going to start moving away from Java and get into MYOB.
XPikachu is offline   Reply With Quote
Old 03-08-2013, 07:38 PM   #8
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Java Programming Application

Quote:
Originally Posted by drill View Post
Actually, and not meaning to be critical, but amongst other things that code has the potential for a few bugs in the GUI code because of threading issues. When I've got a bit more time I can run through them if you'd like?
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 03-08-2013, 08:12 PM   #9
In Runtime
 
Fujitsu_Technician's Avatar
 
Join Date: Sep 2012
Location: UK
Posts: 284
Default Re: Java Programming Application

Quote:
Originally Posted by drill View Post
Hello CF! I have made a Java application (the application really is not impressive at all), but it is a clipboard memory program.

How it works: The program will make a list of copied items. To get the item you want, first click the window. Then scroll with the arrow keys to the item you want in your clipboard. Press "Enter". Now the selected item is in your clipboard.


Requirements: Java 7 (works on Linux and Windows, Mac is untested but will probably work)


Things not to do: -do not copy anything but images and text (However, both CAN be copied at the same time)

-do not copy online material (save it first as an image or put the text in word first, then copy it)

-do not hibernate with the program on


NOTE: Items in the "Things not to do" will most likely be fixed in the future


If there are any bugs you see do not hesitate to report them to me.

Also, I am welcome to suggestions for the application.


Now, here is the link:

https://www.dropbox.com/sh/fbtyvcirtvm4nwd/KusrIhfELo

as long as you are happy with your work drill that is the main thing as it is not my adopted launage I don't tend to run jarva application much well not JAR files anyway but I respect you for your work and shear your views on programming like I do any one who can program as there is so much to learn in each language Best of luck.

Kind Regards
Fujitsu_Technician is offline   Reply With Quote
Old 03-08-2013, 08:28 PM   #10
Baseband Member
 
drill's Avatar
 
Join Date: Mar 2013
Location: US
Posts: 34
Default Re: Java Programming Application

Quote:
Originally Posted by berry120 View Post
Actually, and not meaning to be critical, but amongst other things that code has the potential for a few bugs in the GUI code because of threading issues. When I've got a bit more time I can run through them if you'd like?

Sure, be my guest. I always look forward to learning how to code better
__________________

drill is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0