Localtion: Home»Directory »» Java
I have a page that will generate a zip file from the users selected files(checkbox).Here is the code:if(counter >= MAXFILES){counter=0;}outFilename = "C:\\ZIP\\OK"+counter+".zip";counter++;ZipOutputStream outfile = new ZipOutputStream(new FileOutputStream(outFilename));// Compress the filesfor (int...
By jerry_garciaa, Sat, 3 Jul 2009 10:29:00 GMT, 1,243 bytes, 3 Comments
hey theresorry if this is thr wrong place to post - i couldnt find anywhere else to post.i have sun java runtime environement SE v5.0 update 4 running on my machine. I have a program (with extension *.jar) that opens with javaw.exe or javaws.exe. When i try to open the program the box opens up, but...
By jpmad4ita, Sat, 3 Jul 2009 10:28:00 GMT, 1,320 bytes
When I use this code to scale bufferedImages of TYPE_USHORT_GRAY or TYPE_BYTE_GRAY, the image returned is brighter than the one passed to the method?Does anyone have any idea of what I am doing wrong here?Thanx in advance.public BufferedImage scale_ (BufferedImage img, double magFactor){int...
By olzen, Sat, 3 Jul 2009 09:52:00 GMT, 612 bytes, 4 Comments
http://www.youtube.com/watch?v=nRKIDdIaFyEZune Phone...
By andrewmonkhouse, Fri, 25 Jun 2009 11:49:00 GMT, 54 bytes, 2 Comments
Hi,I need to add zoom functionality to my swing based editor. My editor contains a JScrollPane constructed with a JDeskTopPane as the constructor argument.The JDeskTopPane contains further controls like JTextFields, JLabels , Shapes etc. For zooming functionality the approach I'm using is to...
By patniksa, Thurs, 24 Jun 2009 20:11:00 GMT, 1,197 bytes, 1 Comments
Hello there,I'm working on the well-known graphic demo 'turtle',which will be included in a larger project,where I have to simulate a route of a robot.As I'd like to insert functions like zooming, streching etc.,I'd like to know which classes are most suitable for that?At the moment I'm using...
By adrian_m_hanslik, Thurs, 24 Jun 2009 20:09:00 GMT, 586 bytes, 1 Comments
Canoo and Java User Group Switzerland (JUGS) are organizing an event on "RIA for Mobile Devices" with Dierk Koenig, Markus Pilz and Peter Wlodarczak Mark your calendar:May 29, 2008 in Zrich.Topics:Going Mobile with JavaFX Script, Groovy, and Google Android The Android GUI Framework Further...
By sandrawendland, Thurs, 24 Jun 2009 20:08:00 GMT, 353 bytes
Is it possible to create a window in Java which will be displayed over the taskbar?I want to use the windows systray with a swing menu. The menu must not be partially hidden by the taskbar. By default windows(like JPopupMenu) created from Java are in lower z-order then the taskbar.Anybody an...
By ribizlia, Thurs, 24 Jun 2009 20:07:00 GMT, 306 bytes
Not really ... ;-(. But before committing myself to this reply, why not show us what table layout you have in mind ?Wernerkendeng9898-castor@yahoo.com.cn wrote:Hi Werner,This can help me. If I want to just put a foreign key in a one table. Can I make the bidirection relation?ThanksKenHi,there's...
By werner_guttmann, Thurs, 24 Jun 2009 20:06:00 GMT, 1,389 bytes
I'll do my best to help reproduce these problems, if those aren't universal,as I feared ;-)ymajoros wrote: I have never tried debugging these kind of applications myself, so I cannot help you here. However, there are NetBeans team members in this list. So if they read your mail, I am sure they...
By ymajoros, Thurs, 24 Jun 2009 20:03:00 GMT, 692 bytes
So, debbuging deployed beans works fine?If so, we still have to find out why this doesn't work quite well here.Any other bad or good experiences?Yes. I also have dedugged several applications with NetBeans (versions 5.5,5.5.1 and 6.0). I found it quite annoying that GlassFish is started in normal...
By wouter_van_reeven, Thurs, 24 Jun 2009 20:01:00 GMT, 732 bytes
Hi JW ,Many thanks !!Ken :-)"Janwillem Borleffs" glsD:4285d5b0$0$6770$dbd41001@news.euronet.nl...> Nek wrote: > import java.text.SimpleDateFormat;> import java.util.Date;> ...> SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");> System.out.println(sdf.format(new Date()));> *Or*...
By nek, Thurs, 24 Jun 2009 20:00:00 GMT, 553 bytes
I want to add Date and Time to my Java Program , How can i get the system time and date and pass to Java program ?import java.text.SimpleDateFormat;import java.util.Date;...SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");System.out.println(sdf.format(new Date()));*Or* when you...
By janwillem_borleffs, Thurs, 24 Jun 2009 20:00:00 GMT, 418 bytes
I have done Laser Operation last week to remove glass. I had power -3.5 and 3.75. It cost me 11.5k to both eyes.My eyes are perfect now If any one have plan to do you can post your quries here...
By ndpprasad, Thurs, 24 Jun 2009 19:59:00 GMT, 192 bytes, 7 Comments
I want to add Date and Time to my Java Program , How can i get the system time and date and pass to Java program ?Many Many Thanks~ Samba, more than a low cost File and Printer server ~-- Let us OpenSource --...
By nek, Thurs, 24 Jun 2009 19:59:00 GMT, 220 bytes, 2 Comments
Hi I have a code something like this in JSP. With this code i'm displaying a large number of records(in thousands) in the one single JSP. Rather i would like to paginate it or like to display the results in multiple pages (with page Links).I want to display some 100 records in each page.. . Can...
By briskrook, Thurs, 24 Jun 2009 19:58:00 GMT, 1,512 bytes, 1 Comments
--BEGIN PGP SIGNED MESSAGE--Hash: SHA1Sebastian Brocks schreef:> Peter K?ker schrieb: > Wahrscheinlich, dass er Code aus Repository A für B ver?ndert, tippe ich> mal.Und jetzt mal die Frage auf Englisch, damit wir vielleicht antworten kriegen (ich bin nl. auch interessiert):In English:I have a sort...
By hendrik_maryns, Thurs, 24 Jun 2009 19:52:00 GMT, 964 bytes
Hallo allerseits,ich habe eine etwas "ausgefallene" Frage :-), u.z. ich mchte fr das eine Java-Eclipse-Projekt zwei versch. CVS-Repositories mit Hilfe v.Eclipse-CVS-Plugin benutzen. Das ganze sieht wie folgt aus:1. Repository A --> mein lokaler Rechner (nur Update)2. Repository B mein lokaler...
By a_blei, Thurs, 24 Jun 2009 19:51:00 GMT, 816 bytes
A. Blei schrieb:> 1. Repository A --> mein lokaler Rechner (nur Update)> 2. Repository B mein lokaler Rechner (Update und Commit).Und was spricht dagegen, da das zwei Projekte sind?_____| \|____/|eter...
By peter_kker, Thurs, 24 Jun 2009 19:50:00 GMT, 217 bytes
Peter Kker schrieb:A. Blei schrieb: Und was spricht dagegen, da das zwei Projekte sind?Wahrscheinlich, dass er Code aus Repository A fr B verndert, tippe ich mal....
By sebastian_brocks, Thurs, 24 Jun 2009 19:49:00 GMT, 168 bytes
These are ejb3 applications.One problem, for example (nb 6): to debug my application client, I have ...
By ymajoros
Zulu is a Flash RIA platform for producing XML based cross-platform user interfaces.Zulu can be your...
By zulu
Hi,Looking through the archives, I came upon ZScrollableDesktop and have been trying to adapt it to ...
By ashayka
Thanks,What I want for example is a GUI that given a pom.xml it will show mefor each dependency the ...
By rahamim_zvi_zvi, 1 Comments
Hi,Is there a gui for maven (besides eclipse plugin)?Thanks!To unsubscribe, e-mail: users-unsubscrib...
By rahamim_zvi_zvi, 1 Comments
Thank you both,Suppose I use the Maven using a java code (MavenEmbedder~).How can I leverage this in...
By rahamim_zvi_zvi
Hi,I want that in case I try to deploy a version that is already exist, thebuild will fail.Can you g...
By rahamim_zvi_zvi
zOxygen is a "free of charge" Windows based utility that wrapsaround the Doxygen documentation tool....
By jussi_jumppanen
There is an application, which acts as a GUI-server.A client can connect to this server and askthe s...
By feimada
http://www.zvon.org/xxl/XSLTutorial/Output/example7_ch1.html<br>Stylesheet1 example.<br>why is commo...
By shanjava, 3 Comments
Hi wonder how to put a z-value on a imageicon or jlabel? (which to be on top, and second..etc)Thanks...
By hannesruns_hotmail_coma, 3 Comments
I just bought the book java 2D API Graphics?by Vincent J. Hardy. I am having a problem running the e...
By proubekas, 6 Comments
is there anyone know how to add the texture as backgroud , and then have the 3d word in as well . Th...
By jojoa, 4 Comments
Here's the setup: I'm runnig Solaris 10 11/06 x86 under VMware WS 6.0, with / and /var on ufs filesy...
By blackyx11a, 3 Comments
Dear all, I have a JFrame in which I have add a toolbar inside a JPanel which is kept at t...
By rajiparthiban, 4 Comments
Is there any alternative to the ZOrder methods in 1.5 for 1.4.2 without using a LayeredPane?...
By maglok, 5 Comments
Anyone into Zope?<br>How does it compare/compete with J2EE ?<br>-Barry...
By barrygaunt, 7 Comments
In my application i have a JPanel filled with Swing components. I have to zoom this JPanel within a ...
By schlenzkaa, 3 Comments