Java in Newer

  • Auto completion of jTextField or jTable
  • Fri, 06 Jan 2012 02:01:00 GMT
  • I am a beginner in java. I am making an application in which i want to auto complete jTextField and jTable with the values stored in database (as in address bar of browser). I am using java swing and MySQL in netbeans. Can anybody help me in doing that??...
  • how to create java beans & do the jsp:getProperty for radio button & checkboxes in my form ?
  • Sun, 06 Feb 2011 07:57:00 GMT
  • Hi,I am stuck at creating the java beans for a radio buttons and check boxes for my forms.At my forms, I have<td>Gender</td><td><input type="radio" id="txtGender" name"<jsp:getProperty name="tutorsBean" property="gender"/>value="male"and I&#...
  • How to use JAVA read certificate stored in IE
  • Wed, 15 Dec 2010 00:53:00 GMT
  • Hello,I am new in java.The user use IE connect to my SSL application server.And I will setup different certificate for every different user on thire IE.I need develop a java program to read users' certificate in IE and do same verificationwith certificate before they login my server.Is there som...
  • - i have to load image in struts aplication using com.oreilly.servlet.multipart. package in netbean
  • Wed, 23 Jun 2010 21:56:00 GMT
  • Qu.- i have to load image in struts aplication using com.oreilly.servlet.multipart.* package in netbeans.       I IMPORTED all classes of com.oreilly.servlet.multipart.... but it shows not exist error imageEntryDetails.java and in updateFormAction.java. What's problem...
  • Cannot use loop to get Jtable value
  • Mon, 12 Jul 2010 22:59:00 GMT
  •    I was tried to get Jtable every row value by use for loop, but it only show the first row of the table......thx         //establish connection         Connection connection = DriverManager.getConnection("...
  • i wrote file uploading program then i got package javazoom.upload does not exists. why?
  • Tue, 13 Jul 2010 22:41:00 GMT
  •  Pls send me code if any errors are there in my code and clarify why did come the above error reply very very urgent pls pls.......... below one is my program upload.html ---------------------------- <html> <head> <title>Shows how to upload files</title> ...
  • collection & StringBuffer?
  • Mon, 01 Nov 2010 11:07:00 GMT
  • What is the difference between collection and StringBuffer?? ...
  • Try Catch HELP!
  • Thu, 02 Dec 2010 19:25:00 GMT
  • import javax.swing.JOptionPane; //Author: Sean Nixon //Purpose: Green Cards public class marryj {     public static void main(String[] args)     {         int areas, painlvl, treatment; //Variables      &nb...
  • direct acyclic graph
  • Sat, 01 May 2010 08:21:00 GMT
  • I have input file containing such data 9  (no of node) 0 0 (node index, child) 1 0 2 1   0 2 (child belongs to index 0 and edge weight) 3 1  0 4 4 2  1 1 (child belongs to index 1 and edge weight)  2 2 5 1  3 3 I want to read these data and make a a...
  • what are the advantages of java over vc++ in client server communication
  • Mon, 26 Apr 2010 21:35:00 GMT
  • what is the main disadvantage of vc++ over java in client server connection ...
  • zwei verschiedene CVS Repositories für das ein
  • Sat, 26 Apr 2008 16:18:00 GMT
  • --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...
  • zwei verschiedene CVS Repositories fr das
  • Sun, 18 May 2008 21:08:00 GMT
  • 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...
  • zwei verschiedene CVS Repositories fr d
  • Sun, 18 May 2008 21:08:00 GMT
  • 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...
  • zwei verschiedene CVS Repositories fr d
  • Sat, 26 Apr 2008 16:11:00 GMT
  • 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....
  • Zulu 0.2 beta released
  • Mon, 12 May 2008 13:13:00 GMT
  • Zulu is a Flash RIA platform for producing XML based cross-platform user interfaces.Zulu can be your next generation presentation layer, your choice in the transition process from HTML-based interfaces into the world of Rich Internet Applications.Use Zulu to build a desktop-like user interface and...
  • Zooming on a large drawing
  • Wed, 19 Sep 2007 10:49:00 GMT
  • Can someboby, please, help me to manage the zooming of an area of size 30x30 pixels of a large drawing.The drawing contains a number of shapes, but in the code that I will be posting I will be using only one shape. The drawing is made up of more than 500 shapes, reason for which has to be ...
  • Zooming in + JTextPane
  • Wed, 19 Sep 2007 13:24:00 GMT
  • We are building a program that allows for HTML editing using JTextPane. Our beta users are complaining that the text is too small while editing. Is there a way to add a zoom feature to this component so users can zoom in and out of the text areas?Thanks! ...
  • Zooming graphics
  • Thu, 20 Sep 2007 20:22:00 GMT
  • Dear all,I am learning Java and have an assignment that requires drawing floor plan. One of required functionality is to allow zooming in or out of part of the floor plan. I have been searching reference books and have no idea of how this can be achieve.I shall be grateful if anybody can give ...
  • zooming causes components on JPanel to displace
  • Fri, 21 Sep 2007 09:59:00 GMT
  • Hi friends,my english is somewhat weak, but i am trying to clear my point.I have a prob regarding zoom. In my application I have A JPanel which is drawing some rectangles on it and having some JLabels. My prob is when i zoomin my JPanel through my zooming code and try to select any of JLabel ,I ...
  • Zooming an Image
  • Thu, 15 Nov 2007 10:18:00 GMT
  • Hello people,i am new to java and i need to know how to zoom (in and out) an Image Object that I insert to a Jframe or JPanel. My guess is that i need to download some code, a package or maybe both.The program I use to compile my projects is JCreator Pro ( it comes with the book "Java For ...
  • zooming a graph
  • Sun, 23 Sep 2007 16:08:00 GMT
  • I need to zoom in on rectangle by dragging the mouse on a graph. When the mouse button is released the graph is rescaled to display only the new rectanglular region. Plz someone help me.....
  • When I zoom on images I am animating, the animatio...
  • Wed, 19 Sep 2007 10:09:00 GMT
  • When I zoom on images I am animating, the animation becomes increadibly slow. Is this normal or perhaps a design flaw? I am using an Affine transform for zooming. scaling_op = new AffineTransformOp ((new AffineTransform ()).getScaleInstance ...
  • zoomable JPanel which can take JComponents (with full mouse support)?
  • Mon, 12 May 2008 13:58:00 GMT
  • Anyone know a way of allowing a JPanel to be zoomable not only in terms ofhow it draws itself, but also so any JComponents within the (zoomed) panelbehave correctly?In particular, anyone know a clean way of avoiding these two problems -1. The JRE's mouse system looking in the untransformed...
  • zoom problem (help needed urgently)
  • Fri, 21 Sep 2007 09:54:00 GMT
  • friends,i m working on a class in which there is one JPanel inside a JInternalFrame. i have functionalities like zoomin and zoomout. for that i m writing my code on mouse clicked of JPanel but my problem is that mouseClicked method is getting called several times even if i click once on JPanel ...
  • zoom a selected area of JPanel
  • Fri, 21 Sep 2007 09:59:00 GMT
  • although this problem hasbeen discussed many times but i m not getting my poblem solved here. I want to zoom a selected area of my JPanel. how should i do this. I have labels in JPanel and should be able to select these labels even after zooming the Panel.please help me . ...
  • Zoning with Brocade 200E
  • Wed, 14 Nov 2007 11:44:00 GMT
  • Hello AllI'm a SAN rookie my current config is a 6140 with two Brocade 200e 4gb switches.I've got the 6140 ready to roll , I'm just having some issues in creating the config in the 200e to point to my host's Could anyone recommended a good how to or some doc's or throw me a few pointers.My ...
  • ZoneView or ways of dealing with large objects?
  • Wed, 07 May 2008 19:04:00 GMT
  • Hi all.I've got a program which displays potentially very large files. Fileslarger than 250k or so cause Java to run out of memory. I'm building abigger view based on the file (converting binary to hex) so this viewobject just over one megabyte when the JVM poops out.Is there some stan...
  • Zones & Zone Sets
  • Wed, 14 Nov 2007 08:05:00 GMT
  • I am trying to create a zone (hard zone - VPF) that is composed of 2 different blades. I would like the fibre attached into these 2 different blades to see each other and anythinf else plugged into the switch. I get an error message saying that I can't do this type of zone because it crosses 2 ...
  • ZLib Inflate of Arbitrary Length Output?
  • Tue, 25 Sep 2007 03:29:00 GMT
  • Greetings. I have a question regarding java.util.zip.Inflater, used for zlib.The class seems pretty straightforward, but I have trouble creating the output buffer because it is unknown size. Now, before you go yelling at me to go find out the size or for not keeping track of the size, let me ...
  • Zipping in java?
  • Wed, 09 Jan 2008 00:57:00 GMT
  • I want to zip the files in .tar format (not .zip) ... is there any class in java to tar and untar files? I heared that GZip class is only for zip format.Pls advice..Thanks...
  • Java Technology Blogs
  • "Java in Newer" Related Questions
  • Decendents count
  • Can any one help me to count the number of decendents in java.Waiting for your early reply....
  • Garbage collection of non-heap strings
  • If a string were created without using the new keyword as follows:String s = "abcd";This string "abcd" will be placed in the special Java string pool. My question is whether this pool is subject to garbage collection or not. If it is, is there any difference in the way garbage is collected from...
  • commons or jdk14 logger to out file
  • I have common logger set up and it is working but only writes to the consolehow in the properties file would I specify an file to put it out toI ran across this:Handler fh = new FileHandler("%t/wombat.log"); Logger.getLogger("").addHandler(fh);but I would like it in the properites fileorg.apache...
  • separate container from event
  • hi all!i need some advice.is it good idea to separate events to the containerex.i have a JMenuBar and all event from JMenuItem are separatedto another class,im having problem, right now on my app, because my main gui is also separated from jmenubar it calls the jmenubar's class then ...
  • mail attachments with JavaMail
  • I'm attempting to add the ability to use attachments to an already existing mail application (which uses the JavaMail 1.2 API). I am very new to JAVA and would like to know if I am headed in the correct direction with this. Please point out any errors:public String getAttachment (String file) ...
  • erro in connection
  • hi im new to this ,when i execute the below program, im getting error message package com.stardeveloper.example;import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;public class sampleconn { public static void main(String args[]) {Connection con = null;try ...
  • I don't know what to ask for. Need a dialog box for a erorr
  • Can anyone tell me or show me a sample of code the will allow me to have an error dialog box.I have a date that when the date format is wrong a dialog box pops up and informs the user of the correct date format.This is the code that changes the background of the text box to red and stops the ...
  • Temporarily disable STMS/MPXIO for maintenance
  • Hi-Looking for advice. I have six active/active arrays using STMS/MPXIO, Sun/Qlogic FC4 hbas and V40z's running S10_U3 x86. Each array has 84 LUNs, with 8 paths, presented to around 20 hosts. Periodically I need to bring down one of the arrays for maintenance (firmware upgrades). When the ...
  • Tutorial for the HTMLWriter class
  • hi,I have a question on generating a new html page. Suppose I fill in a form which has 3 fields (name, age, address) in form.jsp. The action page of the form is form_action.jsp.I want to generate a new page, say new.html, by using the form_action.jsp.Does the HTMLWriter class is suitable for my...
  • help me to align the text
  • hi all,i am making an html editor . i have used JEditorPane.i have used//bar.add(getTextComponent().getActionMap().get("left-justify")); toalign the text on the page.but if i align the text which lies in paragraph it align the text andwhen i save this document it saves like<p align="left">...