06 April 2005 - java_dev (original) (raw)

Java developers

April 6th, 2005

| | 12:37 am - andr3 - hmmm.. interesting... O'Reilly launched a website with lots of code available for download.From the site:CodeZoo exists to help you find high-quality, freely available, reusable components, getting you past the repetitive parts of coding, and onto the rest and the best of your projects. It’s a fast-forward button for your compiler.**( article @ slashdotCollapse )**check it out @ codezoo.net. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

10:06 am - gimmemyradio - troubleshooting I know this is a tall order, but does anyone have an old java/jsp/access db webshop project lying about that they'd like to share with me?Or even point me in the write direction of some coding.I have to create an online sports club with login+shop, and I've just come to a dead end.I don't seem to be getting anything working.Thanks for any input.
02:39 pm - alexz75 - Some trouble with focus (SWING, Gui) I build some TCP Service, on TCP request must be opened popup windows.Here code: SendfaxDialog sf=new SendfaxDialog (null,true,fileName); sf.applyComponentOrientation(hylaFrontFrame.getInstance().getComponentOrientation()); sf.setAlwaysOnTop(true); sf.setVisible(true); SendfaxDialog is JDialog child.It work fine, but when dialog opened, in Windows i have focus on native application...User must click on dialog to start input. What can i do to change it??Dialog must be activated automatically.I tried toFront(), requestFocus(), requestFocusWindow() - it all not help....
03:44 pm - zeraphan - GUI Question Ok, I got the Thread issue resolved, I think, to slow down the movement process from my previous post. Here is a simple version of what I am trying to do.//assume the label is initialized and added to the panefor(int i = 0; i < 100; i++){ label.setLocation(label.getX() + 1, label.getY(); Thread.sleep(10);}Now when I run this, the label starts and ends in the appropriate spot. The time taken for it to get there is right with the Thread statement. The problem is when I hit the button to do the movement the label still goes from its original spot to the end spot in one jump, there is no updated "slide" effect. How do I create the slide transition to actually see the label moving over?