swingwt-developers Mailing List for SwingWT (Page 3)
Status: Beta
Brought to you by:
bobintetley
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(21) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(16) |
Feb
(20) |
Mar
(10) |
Apr
(35) |
May
(117) |
Jun
(41) |
Jul
(14) |
Aug
(19) |
Sep
(14) |
Oct
(5) |
Nov
(7) |
Dec
(4) |
2005 |
Jan
(29) |
Feb
(38) |
Mar
(32) |
Apr
(17) |
May
(5) |
Jun
(15) |
Jul
(2) |
Aug
(9) |
Sep
(5) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
|
Feb
(1) |
Mar
(30) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(4) |
2007 |
Jan
(5) |
Feb
(12) |
Mar
(9) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(7) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Karoliina L. <sp...@ja...> - 2006-12-23 08:24:49
|
Hi =20 AM_MBlEN $ 2. 90 VA_ALlUM $ 1. 25 Vl_lAGRA $ 3. 30 Cl_lALlS $ 3. 75 XA_ANAX $ 1. 50 =20 http://www.aerionkandesunrentionkandes.com =20 =20 =20 look of mingled fury and fear came over him. You! he said, staring at Moody as though unsure he was really seeing him. Me, said Moody grimly. And unless youve got anything to say to |
From: Venceslav D. <sa...@wa...> - 2006-12-17 16:37:07
|
Re: centigra info=20 HOT MONDAY FOR TTEN =20 TTEN *** TTEN *** TTEN =20 TTEN - Ten & 10, Inc. =20 GROUND FLOOR opportunity in the WIFI Industry!! =20 TTEN could see explosive growth as a newly trading company - 500%-1000% is not uncommon. =20 Current: 0.14 Sh or t Term Tar get: 1.20 =20 TTEN has grown from China business focus to USA, Europe, Latin America as well as other areas of Asia. Within 12 months expected to generate $2 MILLION in NET INCOME. $200 MILLION in 5 years. =20 TTEN is made up of 4 operating subsidiaries: =09 Tech 10: WIFI and WiMAX Mobile 10: Music and mobile entertainment delivered via Internet, G3, etc Dream Learning Center: Digital Media Learning products Ten & 10 Network: Sales and marketing Telecommunications is globally a TRILLION dollar industry. =20 Tech 10 has entered into a strategic alliance with FSP Holding an Asian based WiFi and WiMAX provider. The collective goal of the venture is to become the premier MAN/LAN (metropolitan area network/local area network) provider satisfying the needs of government and corporations in Asia. FSP is currently a pioneer in developing high performance, efficient and expandable wireless/wired communication networks in Asia. The Core business is: metropolitan wireless broadband for emergency responses, the WiMAX applications and value-added services, include: Public Safety Surveillance and Mobile Command Center, Distance Learning, Cyber Cafe Access, Dynamic Video Surveillance, SOS Poles, Public Traffic System, Road Monitoring System, Video-Conferencing, Multi-media Broadcasting, Train Compartment Monitoring etc. FSP anticipates the ability to generate gross revenues of about $2 b billion in five years, and net profits of about $200 million. =20 WATCH TTEN GO HIGHER AND HIGHER. |
From: Rhetta S. <lon...@ma...> - 2006-12-16 05:04:13
|
Re: discontentedl info=20 HOT FRIDAY FOR TTEN =20 TTEN *** TTEN *** TTEN =20 TTEN - Ten & 10, Inc. =20 GROUND FLOOR opportunity in the WIFI Industry!! =20 TTEN could see explosive growth as a newly trading company - 500%-1000% is not uncommon. =20 Current: 0.11 Sh or t Term Tar get: 1.20 =20 TTEN has grown from China business focus to USA, Europe, Latin America as well as other areas of Asia. Within 12 months expected to generate $2 MILLION in NET INCOME. $200 MILLION in 5 years. =20 TTEN is made up of 4 operating subsidiaries: =09 Tech 10: WIFI and WiMAX Mobile 10: Music and mobile entertainment delivered via Internet, G3, etc Dream Learning Center: Digital Media Learning products Ten & 10 Network: Sales and marketing Telecommunications is globally a TRILLION dollar industry. =20 Tech 10 has entered into a strategic alliance with FSP Holding an Asian based WiFi and WiMAX provider. The collective goal of the venture is to become the premier MAN/LAN (metropolitan area network/local area network) provider satisfying the needs of government and corporations in Asia. FSP is currently a pioneer in developing high performance, efficient and expandable wireless/wired communication networks in Asia. The Core business is: metropolitan wireless broadband for emergency responses, the WiMAX applications and value-added services, include: Public Safety Surveillance and Mobile Command Center, Distance Learning, Cyber Cafe Access, Dynamic Video Surveillance, SOS Poles, Public Traffic System, Road Monitoring System, Video-Conferencing, Multi-media Broadcasting, Train Compartment Monitoring etc. FSP anticipates the ability to generate gross revenues of about $2 billion in five years, and net profits of about $200 million. =20 WATCH TTEN GO HIGHER AND HIGHER. |
From: Chirag <cs...@ya...> - 2006-10-05 14:23:55
|
I use javacompiler which converts my swing code to SWT code. The problem is that I have used 2 classes,java.awt.FocusTraversalPolicy and javax.swing.event.MouseInputAdapter very extensively. Is there any solution to it Thanks in advance Bye for now CSJakharia Subscribe to bermudaEmail: [input] [input] Browse Archives at groups.google.com --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. |
From: Robin Rawson-T. <ro...@ra...> - 2006-08-09 13:13:56
|
Hey guys, I know it's been a while coming but recently I've had a bit of time to work on SwingWT and I've done the following: Applied 2 large patches from Sean Flanigan and Niklas Gustafsson, implement= ing lots of compatibility methods to help Swing apps compile with SwingWT Moved all source into a /src subdirectory of the project (just laziness, I should have done this at the beginning) Stripped all CVS $Log$ stuff off since we're on subversion now (and it doesn't support it, plus it makes the source files huge for not much gain) Updated to SWT 3.2 Fixed Makefile and SWT 3.2 source for native building Removed image/text and windows foreground kludge from JButton since SWT3.2 supports these things natively now. Finally fixed the Window show/hide bug that meant hiding a window destroyed it. show/hide behaviour now works like proper Swing. Cheers, Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Robin Rawson-T. <ro...@ra...> - 2006-08-05 08:10:29
|
> 1) How to enable Windows XP theming in SwingWT and SWT. I have downloaded > the manifest file for Xp javaw.exe.manifest. > But not sure how to use it while compiling with gcj the SwingWT > application. I don't think the javaw.exe.manifest works with gcj. > 2) It seems the Border class doesn't implements all the borders available > in Swing. Like etched boder doesn't look like etched. > And most of the components still doesn't support border. SWT supports it? No, SWT doesn't support those borders - they aren't generally part of all native platform widgets. SwingWT does have some borders (eg: TitledBorder), but the others aren't implemented. They could be, but may look a little odd on a different platforms. Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Abir B. <abi...@gm...> - 2006-08-05 06:19:24
|
Hi, 1) How to enable Windows XP theming in SwingWT and SWT. I have downloaded the manifest file for Xp javaw.exe.manifest. But not sure how to use it while compiling with gcj the SwingWT application. 2) It seems the Border class doesn't implements all the borders available in Swing. Like etched boder doesn't look like etched. And most of the components still doesn't support border. SWT supports it? Thanks -- Abir Basak, Member IEEE B. Tech , IIT KGP Software Engineer, Read Ink Technologies |
From: Remo A. <rem...@gm...> - 2006-04-19 14:48:13
|
I had some trouble to show a JTable. After some debuging I found out that the NullPointerException was caused by Window.repaintFix() on line 747. I could fix it for my own problem by setting the size of the JFrame. I didn't take a closer look into the source of SwingWT though. Thanks a lot for the great work of this project! Remo |
From: Scott C. <sc...@co...> - 2006-04-11 12:34:57
|
I've just checked out SwingWT from scratch and I remembered I had to mess with the eclipse build path to get eclipse to stop complaining about libraries. The errors I saw where for: lib/linux_gtk2/swt-mozilla.jar lib/linux_gtk2/swt-pi.jar These files don't exist (in the SwingWT project) and they don't seem necessary so I removed them from the build path. I also excluded the entire bin and lib folders from the source path. Plus I removed the definition of the test source folder. These are all just changes to .classpath file. If you have local changes to your eclipse project you might see some weird errors when subclise tries to merge your local .classpath with this new one. The only way I've found to resolve this is to manually edit/merge the .classpath file. If you do have changes to your .classpath file, let me know what they are so we make sure everyone is able to use the exact same file. If you have local paths in your version hopefully we can handle those with classpath path variables. Scott |
From: Robin Rawson-T. <ro...@ra...> - 2006-03-28 10:53:42
|
> svn co https://svn.sourceforge.net/svnroot/swingwt/swingwt > svn co https://svn.sourceforge.net/svnroot/swingwt/awtonswt Correction: svn co https://svn.sourceforge.net/svnroot/swingwt/swingwt/trunk swingwt svn co https://svn.sourceforge.net/svnroot/swingwt/awtonswt/trunk awtonswt --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Robin Rawson-T. <ro...@ra...> - 2006-03-28 08:40:14
|
> > I'm a big fan of subversion, so that would be great. I'm hoping that > > subclipse will be included with the default eclipse install soon. > Excellent, I'll do that tomorrow morning. Migration is now done. Everyone has had their CVS rights revoked and=20 Subversion enabled. svn co https://svn.sourceforge.net/svnroot/swingwt/swingwt svn co https://svn.sourceforge.net/svnroot/swingwt/awtonswt (Optionally suffix "trunk" on the end of those if you don't want branches, although there aren't any right now) Cheers, Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Robin Rawson-T. <ro...@ra...> - 2006-03-27 19:03:43
|
> > On a side note, I meant to ask, could you update the CHANGELOG file in > > the bottom of the tree when you commit changes? Cheers. > Sure. I didn't know what to do about that. Do you want me to change > the version string too? =20 I do it so the next release is at the top of the CHANGELOG and all items for that release go there. No need to change the version string - I do that after a release. > Do you want me to put in changes to the AWTonSWT stuff too? Not in the main one, but maybe keep one in the bottom of the AWTonSWT module? > > Also, I'd like to take advantage of SourceForge's new Subversion support > > and move SwingWT to at some point - is this likely to cause you any > > problems? > I'm a big fan of subversion, so that would be great. I'm hoping that > subclipse will be included with the default eclipse install soon. Excellent, I'll do that tomorrow morning. Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Scott C. <sc...@co...> - 2006-03-27 15:07:21
|
On Mon, 2006-03-27 at 08:42 +0100, Robin Rawson-Tetley wrote: > > The aqua look and feel doesn't work, but the metal look an feel does. > > It seems like the aqua laf loads a native library that depends on apples > > version of libawt, but I haven't confirmed this yet. > > Sounds like a pretty good win - good work! > > On a side note, I meant to ask, could you update the CHANGELOG file in > the bottom of the tree when you commit changes? Cheers. Sure. I didn't know what to do about that. Do you want me to change the version string too? Do you want me to put in changes to the AWTonSWT stuff too? > > Also, I'd like to take advantage of SourceForge's new Subversion support > and move SwingWT to at some point - is this likely to cause you any > problems? I'm a big fan of subversion, so that would be great. I'm hoping that subclipse will be included with the default eclipse install soon. Scott |
From: Robin Rawson-T. <ro...@ra...> - 2006-03-27 07:42:43
|
> The aqua look and feel doesn't work, but the metal look an feel does. > It seems like the aqua laf loads a native library that depends on apples > version of libawt, but I haven't confirmed this yet. Sounds like a pretty good win - good work! On a side note, I meant to ask, could you update the CHANGELOG file in the bottom of the tree when you commit changes? Cheers. Also, I'd like to take advantage of SourceForge's new Subversion support and move SwingWT to at some point - is this likely to cause you any problems? Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Scott C. <sc...@co...> - 2006-03-24 06:09:48
|
I just got osx running part of awtonswt. I had to write a special version of libawt.jnilib. So far I've had to create 5 native stub methods. The standard libawt checks to see if it is running on the first thread. And if it stops the VM. SWT needs to be on the first thread. Just using the Component class loads libawt. Apple supposedly fixed this in osx 10.4, so maybe 10.4 won't need a special libawt. Since awtonswt implements all the native functionality of awt, the code in Apple's libawt isn't really needed. It seems to work if the special libawt does just enough to keep Sun's classes from throwing exceptions on initialization. I think supplying a custom libawt is ok from a legal point of view. Because of how Sun has implemented the awt classes to always load this library, it seems natural that any awt peer implementation should provide its own version of this library. The aqua look and feel doesn't work, but the metal look an feel does. It seems like the aqua laf loads a native library that depends on apples version of libawt, but I haven't confirmed this yet. Scott |
From: Scott C. <sc...@co...> - 2006-03-23 15:48:51
|
Legally yes it can be deployed. I do not override any classes in rt.jar. I am interpreting "overriding" to really mean replacing. I do extend classes in the rt.jar but so does every java program. I do extend one class that is not in a public package: sun.java2d.SunGraphicsEnvironment. But that is not illegal, just not discouraged. In this case it seemed to be the only way to make it work. The boot classpath is required because of the way the toolkit and graphics environment classes are loaded. The way Sun implemented things they are loaded by the bootclassloader. Scott On Thu, 2006-03-23 at 09:13 -0600, Curt Cox wrote: > "To run it I had to add AWTonSWT and SwingWT (and its dependencies) to > the boot classpath." > > Can it currently be deployed? > > "-Xbootclasspath:bootclasspath > Specify a semicolon-separated list of directories, JAR archives, > and ZIP archives to search for boot class files. These are used in > place of the boot class files included in the Java 2 SDK. Note: > Applications that use this option for the purpose of overriding a > class in rt.jar should not be deployed as doing so would contravene > the Java 2 Runtime Environment binary code license." |
From: Robin Rawson-T. <ro...@ra...> - 2006-03-23 14:38:55
|
Great work! Updating now... On Thu, Mar 23, 2006 at 09:03:11AM -0500, Scott Cytacki wrote: > I added a more complete implementation of imageproducer and > imageconsumer for working with swt.graphics.Image. > The producer should be able to "produce" correct awt image data from any > swt image. It should handle transparency and indexed palettes. > =20 > The consumer can only handle the standard aRGB pixel format that is used > a lot in awt.=20 >=20 > I also added a temporary fix in ImageIcon. If fixes what looks like a > bug in swts use of cairo on linux. If a image is indexed and has a > transparentPixel then it is drawn incorrectly when the GC is in advanced > mode. I submitted a bug about this: > https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D132912=20 >=20 > Scott=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Swingwt-developers mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swingwt-developers --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Scott C. <sc...@co...> - 2006-03-23 14:37:37
|
I also finally checked in AWTonSWT at the top level of cvs. If you want to try it you'll have to apply part of the patch which is in AWTonSWT to SwingWT. The only part of this patch you need is the changes to SWTGraphics2DRenderer. I haven't checked these changes in because they are still messy. To run it I had to add AWTonSWT and SwingWT (and its dependencies) to the boot classpath. I also had to copy the swt native libraries into jdk/jre/lib/[platform]/ It seems the java.native.lib property isn't used by the bootclassloader. And finally you need add something like the following when you run java: -Dawt.toolkit=awtonswt.SWTToolkit -Djava.awt.graphicsenv=awtonswt.SWTGraphicsEnvironment -Djava2d.font.usePlatformFont=false -Djava.awt.fonts=/opt/sun-jdk-1.4.2.10/jre/lib/fonts I'm just starting to try it on OSX. Scott |
From: Scott C. <sc...@co...> - 2006-03-23 14:15:49
|
I added a more complete implementation of imageproducer and imageconsumer for working with swt.graphics.Image. The producer should be able to "produce" correct awt image data from any swt image. It should handle transparency and indexed palettes. The consumer can only handle the standard aRGB pixel format that is used a lot in awt. I also added a temporary fix in ImageIcon. If fixes what looks like a bug in swts use of cairo on linux. If a image is indexed and has a transparentPixel then it is drawn incorrectly when the GC is in advanced mode. I submitted a bug about this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=132912 Scott |
From: Scott C. <sc...@co...> - 2006-03-14 16:54:29
|
More commits: I checked in the mouse event constant changes. I tested it with the everything class and things seemed to work. I noticed the tree control seems to be affected by the dark gray background, probably related to the getForeground, getBackground changes. Added processPaint method on Component so subclasses can modify the paint handling. Used new SwingUtilities.Task class to implement getGraphics. I also started on a change to SWTGraphics2DRenderer that allows it to handle the Graphics2D.create method correctly: the create method should return a new Graphics2D that has a separate state from the original Graphics2D. And if the second one is disposed the first one should be still valid. I implemented this by creating a GC wrapper class that keeps track of which graphics2D is actively using it, and has a count of how many graphics2D are using it. Then before every operation on the gc an activateGC method is called, if the current graphics2D isn't active then this method configures the gc to match the state of the graphics2D (sets color, style, transform, clipping). The dispose method decrements the counter in the GC wrapper, and if it reaches 0 the gc is disposed. This wasn't strictly needed for gcs that come from swt controls, because you can create multiple gcs for one control. However images are different, there can only be one gc per image. Inorder to support multiple Graphics2D pointing to single image, then something like what I described above is needed. It appears to work, but I'm not sure about the resource disposal. Fonts, Colors, and Transforms are created and I need to make sure they are cleaned up. Scott |
From: Robin Rawson-T. <ro...@ra...> - 2006-03-14 08:17:11
|
> - added a new method invokeSyncReturn to SwingUtilities > This method can be used so synchronized tasks can return > objects. This makes it possible to remove the temporary object > fields that need to be used otherwise. Those fields are not thread > safe. example where it could be used: Component.getGraphics Good bit of work - this definitely needed doing. Thanks! > I've created this page to track my progress on the toolkit and peers > implemented with swingwt: > https://confluence.concord.org/display/CCTR/SWT+Toolkit Looks great! > Inorder to keep things separate, I could put it in a different > subfolder in CVS. So in addition to /cvsroot/swingwt/SwingWT there > would be a new folder /cvsroot/swingwt/AWTonSWT (or something like > that). That's fine with me - I look forward to having a play with it :-) > I hope I'm not causing too much traffic on the list. It is just that > I'm able to do a lot of work on this right now, and I want to keep you > all up to date.=20 That's excellent - this list hasn't seen much traffic in a while (I've been busy with other things and not had much time for SwingWT) so I'm really pleased to see someone working on it! Rob --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Robin Rawson-Tetley (ro...@ra...) Jabber: bob...@ja... Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc |
From: Scott C. <sc...@co...> - 2006-03-13 22:44:57
|
- added support for curveTo in GeneralPath - added a new method invokeSyncReturn to SwingUtilities This method can be used so synchronized tasks can return objects. This makes it possible to remove the temporary object fields that need to be used otherwise. Those fields are not thread safe. example where it could be used: Component.getGraphics - added createSWTWindow() to Window, this was needed by the awt peers I'm implementing with swingwt. They need to have a valid graphics before setVisible is called. - added drawString(String,float,float) to Graphics2D - added getDefaultConfiguration to GraphicsDevice I went ahead with the mouse event constant changes, but I'm waiting to check them in. I've created this page to track my progress on the toolkit and peers implemented with swingwt: https://confluence.concord.org/display/CCTR/SWT+Toolkit I would like to check in the code for this toolkit somewhere. Putting it in the SwingWT code base seems natural, but its no problem if you don't want it there. Inorder to keep things separate, I could put it in a different subfolder in CVS. So in addition to /cvsroot/swingwt/SwingWT there would be a new folder /cvsroot/swingwt/AWTonSWT (or something like that). I hope I'm not causing too much traffic on the list. It is just that I'm able to do a lot of work on this right now, and I want to keep you all up to date. Scott |
From: Scott C. <sc...@co...> - 2006-03-13 16:08:18
|
I'm looking at the mouse event handling. I'm trying to make it match the awt api, but I've found a few things that are puzzling. There is an eventID field both on MouseEvent and AWTEvent. The event handling code in Component.SWTEventAdapter sets the MouseEvent.eventID field. So calling getID() on the mouse events returns 0. The is a special set of mouse event constants that aren't the standard api constants. these are the special constants: public static final int CLICKED = 0; public static final int ENTERED = 1; public static final int EXITED = 2; public static final int PRESSED = 3; public static final int RELEASED = 4; These are the standard constants: public static final int MOUSE_FIRST = 500; public static final int MOUSE_LAST = 507; public static final int MOUSE_CLICKED = MOUSE_FIRST; public static final int MOUSE_PRESSED = 1 + MOUSE_FIRST; public static final int MOUSE_RELEASED = 2 + MOUSE_FIRST; public static final int MOUSE_MOVED = 3 + MOUSE_FIRST; public static final int MOUSE_ENTERED = 4 + MOUSE_FIRST; public static final int MOUSE_EXITED = 5 + MOUSE_FIRST; The special constants are used through out all of swingwt. Currently this is only about 10 places. However, any thirdparty components, that look at mouse events don't seem like they would work. Is there something I'm missing here? Can I clean it up: remove the double eventID field, and convert everything to use the standard api constants? Scott |
From: Scott C. <sc...@co...> - 2006-03-13 15:07:35
|
I don't if you send emails when you check things in, so I though I'd better be safe than sorry. Yesterday I checked in some more changes to support graphics2d, among other things this includes support for translating and transforms in the graphics object. Scott |
From: Pierluigi 'L. R. <pie...@gm...> - 2006-03-12 12:26:48
|
Hi, I'm trying to get SwingWT working under Ubuntu Linux (version 5.10, "Breezy Badger"). The included version does not work, when I launch 'swingwtdemo' it enters an endless loop of exceptions and it does not even print the intial boilerplate. I've tried to download the most recent CVS (as of yersterday) from sf.net, then I've tried the 2 most recent releases. None of them compiles out-of-the box neither with the java 1.5 compiler (javac 1.5.0_05) nor with gcj (version 4.0.2 and 4.1). List of errors: --------------- ** SwingWT-0.87: [javac] /home/lanugo/download/swingwt/SwingWT-0.87/org/eclipse/swt/browser/Browser.java:815: cannot find symbol [javac] symbol : method error(int) [javac] location: class org.eclipse.swt.browser.Browser [javac] if (rc != XPCOM.NS_OK) error(rc); ** SwingWT-0.86.1: The same problem as above, only this time it happens 96 times. ** CVS: After some modifications, the code compiles with gcj and javac, but this is what happens when I run swingwtdemo: lanugo@ganimede:~/download/swingwt/SwingWT_cvs_2006-03-11$ ./swingwtdemo This is SwingWT (http://swingwt.sourceforge.net) Version: 0.88 PRE (110306)[SWT gtk 3138] Copyright(c)2003-2005, R.Rawson-Tetley and other contributors. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details. Abortito (Abortito is aborted in Italian) Is it possible to obtain a working copy? What causes the abort with the current cvs? I've tried to juggle with gcj options (adding -findirect-dispatch), but to no avail. Thank you, Pierluigi Rolando |