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 / June 2004

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
JSlider Repaint gives NullPointerException from15 Jun 2004 20:10 GMT1
The code below gives the NullPointerException from
javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow(MetalLookAndFee
l.java:1071)
in JDK 1.3.1_12.   However, the error is not given in JDK 1.4.2_04 .  To be
MouseInputListeners and drag'n'drop15 Jun 2004 19:34 GMT3
I have a component, a Jwhich implements DragGestureRecognizer and has a
number of MousInputListeners added to it. As soon as those listeners are
added, it loses the ability to recognize a drag gesture (ie.
dragGestureRecognized never gets called). This can be traced exactly to when
How to programmatically scroll to the last row of a JTable? (eom)15 Jun 2004 19:23 GMT1
Thanks
Bora
Swing paintComponent() question15 Jun 2004 18:19 GMT1
I wrote a custom Swing component that overrides paintComponent() to implement
a tiled-image background. For optimal performance, I use the clipping
rectangle of the input Graphics object to decide which part of the tile to
repaint.
Checkbox TreeCellRenderer15 Jun 2004 17:45 GMT1
I have implemented the TreeCellRenderer, such that each node in
my JTree has a checkbox and a label in a JPanel.
Now I am creating a mouse listener for the tree. I can get the
name of the node using TreePath.getLastPathComponent(). But how can
JFrame.setExtendedState and Windows15 Jun 2004 08:50 GMT1
Is it true that setExtendedState(MAXIMIZED_BOTH) does not work for a JFrame
under Windows (XP in my case)?
The other constant (namely ICONIFIED) works flawlessly, but any form of
MAXIMIZED_* is ignored by my program.
JTextArea cut and paste question15 Jun 2004 07:34 GMT4
On MS Windows, I'm using ctl-C and ctl-V to cut and paste text info
between applications.
But when I use ctl-C to copy text from a JTextArea, it loses its
line endings ("\r\n" in this case). Can anyone please give me
Seleceting Tree Item15 Jun 2004 06:11 GMT2
How do i go about highlighting a node in a JTree given the Tree node.
I have the TreeNode and it already exists within the tree, but I want to
have it selected in the Tree
Eg
Treepath from DefaultMutableTreeNode 15 Jun 2004 06:10 GMT2
How does one obtain the TreePath gien a DefaultMutableTreeNode?
Click versus Drag to move JSlider14 Jun 2004 22:22 GMT3
How do you make it so a JSlider can be moved by clicking where you want it
to be?
The default behavior seems to only allow dragging it.
I've downloaded the demo's from
SQL optimisation14 Jun 2004 22:18 GMT6
Is there a more efficient way to write this query?
conn.prepareStatement( "SELECT confirm, ordertimestamp, unencrypted,
encrypted FROM orders WHERE confirm > ? AND vendorid = ? ORDER BY
confirm LIMIT 1" );
Scrollable JMenu  or like that14 Jun 2004 20:57 GMT7
Basically, I have a JMenu that contains so many items that it has become
quite unwieldy.  All the items under this particular menu would be very
difficult to sub-categorize.
Is a scrollable JMenu out of the question? If
JSpinner problem14 Jun 2004 13:23 GMT2
I want a JSpinner field to display a value between 1.000 and 1.100,
formatted like that.  So 1.01, for instance, should display as 1.010.
The following code:
       JSpinner ogField = new JSpinner();
EXAMPLES OF GUI's14 Jun 2004 02:51 GMT1
Hello I am working on a mortgage calculation project for class and am
having difficultly with the actionPerformed() and itemStateChanged()
methods. Can someone direct me to example codes dealing with
JComboBox() methods associated with calculations??
Drag and Drop on Linux not working14 Jun 2004 00:52 GMT1
I have an app that accepts both stringFlavor and javaFileListFlavor objects
dropped onto it.  This is working well under Windows and Mac OS X.  I just
tried testing under Linux and my drop area isn't recognized there.  When I
drag either a string or file object the cursor icon ...
Pages: 1 2 3 4 5 6 7 8 9 May, 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.