I have JTable in JDialog (Its is the only component in that frame). When the JDialog is resized using mouse drag I want the JTable to be resized accordingly.
I am using JDK 1.6
Thanks
Im using SAX to parse an xml file, if there is an exception, id like to display the xpath for the current node.
i understand sax do not keep track of this by default unlike DOM parsers, and o...
hi guys
I am using DAO in my backend with IBATIS
I have a java value-object in which i have defined something like
public String id = null;
public BigDecimal[] ...
Hello,
Please answer this question only if you know JFreeChart.
I try to use this library :
http://www.jfree.org/jfreechart/
Here how I load the datas :
Code:
date[1] =...
Hello,
I have a java package conatain three files. I compiled this package correctly using Netbeans V.6. When I run each file in the package, it gives me a message
"class org.bluer.cg.filen...
Hello,
I'm building a plugin for a file transfer system and I need functionality to decompress/unarchive compressed files /archives.
Using com.ice.tar I'm able to handle tar archives and...
import java.util.*;
class Grades
{
public static void main(String args[])
{
int score1, score2, score3;
System.out.println("Input three exam score");
Scanner input = new Sca...
I have some java classes (with their corresponding java files) in a package structure, on my hard drive. Example:
C:\Library\com\something\utility\foo.java
C:\Library\com\something\utility...
hello. because of the complexity of database structure, i may need to have 2 or more datasource to retrieve all the results for the report. how can the datasources be used in the report?
I have a Java .java program that I'm trying to compile. I've been working on this problem for a while now, and it's always compiled fine in the past, including a couple of times today. However...
Hi,
I need to create XLS file with formating.
So I am planning to use XML and XLST technology, which i used to generated PDF document using FOP framework.
Is there any framework or wo...
Hello,
I got some applications that launch a dialog for reporting purposes.
In there I load some large pictures and/or create some large arrays.
I noticed that every time I do so my memory ...
Below mentioned program gives this output when run on WIndows XP
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
C...
I installed J2SE SDK 5. I added an entry in the PATH enviroment variable that points to the /bin directory inside the main Java directory.. I created a Dog.class file and a DogTestDrive.class ...
Hello!
I want to ask am I possible to make exe from java program on windows system?
I am using NetBeans as tool to develop java program, is NetBeans able to make exe file?
If no, how can ...
Our system makes a large amount of HTTP requests via Java every day, and periodically we have periods where we get a large percentage of "java.net.UnknownHostException" exceptions (10-50%). O...
I use a combo box to populate the cell of a table , this combo box is dynamically generated based on a tree value change. Now my combo box eventhough it gets populated wit a fresh data the new...
Hi Experts,
I was wondering if someone could provide me with the following information...
How can I create a java applet that has the functionality of xmlHttp.Send("") and .Open
Thank...
Hi,
How do I add a drop down box to a cell in a tableView in java?
The reason why, is that I want the table to be user editable, however some cells only require a Boolean value (true /false)...
hi,
i've got a problem that is driving me mad so i've assigned a bunch of points to this one (500).
i am trying to collect mail from a straight plain text pop3 account using javamail. h...
hi,
I have a project that has a JFrame windows( let call A JFrame). However, I want to have a B JFrame with a button. So when I click
that button, it will call my A JFrame. Please help wi...
hi guys
I have a code like this
List CustomerVOList = getMyVOList();
CustomerVOList contains objects of type CustomerVO
CustomerVO contains
int id;
String name;
setId()
getId...
I have a long body of text contained in a JTextPane that I want to display a short preview of.
The preview (currently I'm using a JLabel) is located in a resizable JFrame, and I'd like the ...
I have implemented a very simple sort in my class (see below).
This works really well when i issue
Collections.sort(orderList);
My question is, it is possible to set up different sort m...
i have to design component like below and i tried following code but did not come right...
---------------------------------------------------------------
Label1
combobox1
Label2
textBox...