comp.lang.java.gui
  Home FAQ Contact Sign in
comp.lang.java.gui only
 
Advanced search
February 2008
motuwethfrsasuw
    123 5
45678910 6
11121314151617 7
18192021222324 8
2526272829   9
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.java.gui Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  cursor problem in swing component...         


Author: nono_jun
Date: Feb 28, 2008 04:56

Hi. I have problem related with swing component.

I want to change a cursor which is a default icon in windows xp.
(C:/WINDOWS/Cursors/stopwtch.ani) -> animation icon. Icon move like
clock rinigng.

But Because of the file description ( .ani, and .cur. ) I can't use
that icon in swing component.

Cursor works invisiblely. Java doc says that when cursor is inable ,
Icon become trasparent.

When I use jpg format for below logic, it was working well.

So is there any way to use that file for cursor ?

logic is here.----------------------------------
File file = new File("C:/WINDOWS/Cursors/stopwtch.ani");

if(file.exists()){
Image image = Toolkit.getDefaultToolkit().getImage("C:/WINDOWS/
Cursors/
stopwtch.ani");
Show full article (0.96Kb)
1 Comment
  Need Strong Java Swing Developer For Dallas ,TX.         


Author: recruiter.isaac
Date: Feb 26, 2008 12:48

Hi Friends,

This is John Isaac from innovative InfoTech technologies; we have an
urgent requirement for the "Java Swing Developer ". If you are
comfortable with requirement please send your updated résumé's to
John@innovativeinfotech.com . ASAP.

Job: Java Swing Developer

Location: Dallas, TX.

Duration: 12 Plus month.
Rate :$43-$45.

Skills Set Required: Java, J2EE, and Java Swing.

· Client needs strong Java Swing experience.

· Should have great communication skills

· Airline Industry experience will be a plus

--
Thanks and Regards
Show full article (0.75Kb)
no comments
  Thomas Weidenfeller's GU FAQ         


Author: Roedy Green
Date: Feb 26, 2008 11:34

Does anyone know the status of Thomas Weidenfeller's GUI FAQ and where
the latest copy is posted?
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
1 Comment
  Duplicating and Swapping Out A Component         


Author: Hal Vaughan
Date: Feb 26, 2008 09:11

I have an unusual situation that would most easily be solved by being able
to duplicate a JTextArea in size and position, then to swap between them by
making each visible at different times.

I know I can duplicate the JTextArea with clone() and I can get the size to
make sure they match. If I were working with an absolute layout, I know I
could position them both at the same place and switch between them by
making one visible while the other isn't. However, I'll be working with
other layouts types and I don't have access to the container the first one
is in.

Is there some fairly easy way I can duplicate the first JTextArea and swap
the two in and out without messing up other components or the display?

Thanks!

Hal
4 Comments
  Re: editing nodes in JTree, icon problem         


Author: John
Date: Feb 26, 2008 08:44

Ender a écrit :
> I have a JTree with a child node that has a dropdown list in it. When I
> click on the node to make the list appear, then make a selection, the
> icon changes to what looks like a document icon.
>
> My problem is that the document icon stays there after I make the
> selection in the dropdown list until I click on another node. It's like
> the process of making a selection is unfinished.
>
> Anyone know what that is?

The combo box is still in editing state when you select a value. You could add an action listener to the combo box (problem for reselecting the same value) and stop the editing when you receive an action event.
no comments
  JTabbedPane         


Author: Thorsten Kiefer
Date: Feb 26, 2008 01:35

Hi,
many programs have close-buttons or a context menu in the tabs.
Can this be done with JTabbedPane?
Is it possible to customize the tabs ?

jdk 1.6.0

Regards
Thorsten
1 Comment
  Popup similar to Tooltip         


Author: RC
Date: Feb 25, 2008 12:50

I want a simple popup for few seconds

Popup popup = new Popup(null, new JLabel("Done"), 10, 10);
popup.show();

try {
Thread.sleep(2000);
} catch (InterruptedException ie) {
}
popup.hide();

Everything is OK except I don't see the word "Done" in the label.
If I comment out the lines for try, Thread.sleep(###) and catch
Then I can see the word "Done in the label, then I can't make the popup
for few seconds.

Anyone knows why the word "Done" won't show up if I use Thread.sleep?
Any idea how do I fix the problem?

I don't need JProgressBar nor JMonitor for my simple application.
I want similar to the Tooltip popup for few seconds, but without
move the mouse pointer to a particular JComponent.

Thank you in advance!
4 Comments
  Need help to convert my C++ codes to Java with GUI         


Author: vampireex
Date: Feb 23, 2008 06:18

I'm currently exploring GUI with java and I've wrote a program in c++
to convert binary to decimal and a caesar cipher codes. Could anyone
help me to convert it to Java with GUI? I'd like to explore more on
GUI codings.

I've setup a GUI based on visual basic 6.0. it's uploaded on

http://img299.imageshack.us/img299/3698/fypgui1mf6.jpg

My c++ codings for both programs are as below.....
Show full article (2.43Kb)
16 Comments
  java developper exam (gui design)         


Author: Bruintje Beer
Date: Feb 23, 2008 01:45

Hi,

I am starting with my Java Developper Exam and I was asking myself if it is
alowed to use netbeans to design the gui.

John
3 Comments
  JTable Row Height Problem         


Author: Edsoncv
Date: Feb 22, 2008 05:58

I'm having the following problem while configuring a JTable row
height.
The fact is when my row height does not have the exactly heigth of
"row header", exactly figure bellow:

http://www.crionics.com/products/opensource/faq/swing_ex/images/table...

The line height seems almost the same but this little difference
increases as the # of rows increase or the look and feel is changed.

My code is very similar like this:

/* (swing1.1beta3) */

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;

/**
* @version 1.0 11/09/98
*/

class RowHeaderRenderer extends JLabel implements ListCellRenderer {
Show full article (2.51Kb)
2 Comments
1 2 3 4 5