Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2004

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Selecting a row in a JTable14 May 2004 06:46 GMT1
When I click on a cell, I'd like the whole row to be highlighted,
INCLUDING the selected cell. I've tried using the following code to no
avail:
setCellSelectionEnabled(false);
JTable error when add or remove datas14 May 2004 04:41 GMT1
The following code (putted in a inherited object from AbstractTableModel
object) make some errors :
public void deleteRow(int rowToDelete){
    try{
How to put a component on top of all other components?13 May 2004 20:55 GMT4
For adding components on top of other components, all code that I've seen
uses the method "add(Component, 0)" to add a component such as a ToolTip on
top of other components.  Such "add(Component, 0)" code works everywhere
that I've tried except for the Macintosh implementation of ...
Newbie questions13 May 2004 19:16 GMT3
I am a relative newcomer to Java and am using the Netbeans 3.6 IDE. I have
a couple of small projects that I am using to learn the basics. One is an
insurance form and all the text fields need to be filled in. I have tried
to validate this by using something along the lines of:
getScaledInstance for BufferedImage.13 May 2004 18:53 GMT2
getScaledInstance produces an Image out of my BufferedImage.
It does not produced a BufferedImage I can simply cast.
What is the best to way to either convert it back to a BufferedImage
or to get myself a scaled BufferedImage?
paint() Call Taking Too Long on Windows (Unless Two Copies Running)13 May 2004 18:27 GMT6
I'm writing a drawing program for a collaboration tool, and I'm
running into a very strange error: the invocation of the paint()
method of Whiteboard, my subclass of JPanel, takes something like a
quarter second under certain cicumstances; this occurs whether it is
ActiveX and Applet13 May 2004 10:24 GMT3
In order to reuse current components I need to call an ActiveX control
inside a Java applet or a Java program.
Could you tell me how this one is possible or where I can look for document
about that ?
returned data from dispose()'d JDialog13 May 2004 08:11 GMT6
I have a custom JDialog that is supposed to return several pieces
of data from the user. From the Java tutorial, I learned that one
good way is to have the JDialog provide accessor methods to
return the data.
File Selector12 May 2004 22:07 GMT2
How can I open the Swing-FileSelector in a special subdir?
I tried it with the pathname as String, but the FileSelector starts
always in the default dir.
Thank you.
Speeding up ScrollPane12 May 2004 16:25 GMT2
I notice that AWT ScrollPane scrolls with the wheelmouse more slowly
than the equivalent amount of text would.  Has anyone got some code to
speed up the wheelmouse for Images in a ScrollPane?
Need help with 2D array12 May 2004 15:25 GMT3
Would someone shows me the java syntax to create a 2D array of a calendar,
where the rows represents months, such as: Jan, Feb... and columns represent
days; assuming that there are 29 days in Feb?  I don't know whether to
declare this 2D array in String or int, since the months are ...
fill3DRect() and Gradients?12 May 2004 15:17 GMT1
Is it possible to use the Graphics2D.fill3DRect() function and paint
with a gradient?  I've tried calling setPaint(new GradientPaint(...))
and then calling fill3DRect(), but all I'm left with is a black
rectangle.  Any thoughts?
dispatchEvent does not work12 May 2004 15:13 GMT1
For somewhat reason I don't get the attached code to work. I want to
delegate a key event to an other component eg. a JTextField in big Swing
application. But with my version JDK 1.4.2 tested on a Linux JVM and a
Windows JVM it does not work.
How to convert TreePath object into an XML file?12 May 2004 07:33 GMT2
I want to convert the selected fields of a JTree, into an XML file.
The getSelectionPaths() of JTree returns a TreePath[] object.
But how do I convert this into an XML file?
Is there any standard java API for that?
Problems with printing JTable12 May 2004 06:42 GMT1
I have a panel with a JTable that I need to print. Printing from the
panel is no problem, that works fine. The problem is that I have to
print the JTable from an other class that implements Printable since I
have to customize the columns/rows first before printing. I pass the
Pages: 1 2 3 4 5 6 7 8 9 10 April, 2004
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.