RE: [Cxtable-devel] RE: Can you help me guage how long this'd tak e?
Status: Alpha
Brought to you by:
xiarcel
From: Williams, D. <DAV...@ca...> - 2002-01-03 16:07:44
|
Yeah... I pretty much thought that I've simply been being lazy.. Although, I think my classpath might be set wrong... I guess, if I am ever to attract a user base, it should at least support some basic Swing stuff... The Chess game, for example, could _really_ use DnD...currently,but at least something such as an JLabel with Image support... Cause right now, the chesspieces are "Kg-w" (Label objects), and moving them is a matter of calling label.setText(newpiecename); You move the chess pieces with coordinates (not a bad thing necessarily), d2 d4, etc.. Given the time I've put into it, getting it done and working, and distributable to my close-knit buddy buddies.. I could then have the online, 4-city, D&D session I've dreamed of.. (Incidentally..if you ever played D&D..there are two types of people...the 'power-gamers' who played D&D and might as well have been playing a 4-player arcade game, and those that developed a story... I catered, of course, to the latter of these two styles...) Its really funny, though...I keep saying "I imagine the possibilities for a real application of this, not just toys", and then follow it with plans for a Battleship game... :-) ~Dave David Scott Williams Computer Associates Marketing Representative-Sales Call Center One Computer Associates Plaza Islandia, New York 11749 tel: +1 800-243-9462 ext. 73431 tel: +1 631-342-3431 (Direct) fax: +1 631-342-5734 wi...@ca... -----Original Message----- From: Borne Goodman-Mace [mailto:bm...@eg...] Sent: Thursday, January 03, 2002 10:52 AM To: cxt...@li... Subject: Re: [Cxtable-devel] RE: Can you help me guage how long this'd take? This would all be very simple to migrate to Swing, and all of the names of the Swing components relate to the names of the AWT components which they mimic. Rather than an awt.Panel you would use a swing.JPanel. Rather than a TextArea, you would use a JTextArea, or JTextPane (they have different abilities, and I personally perfer the Pane, though it is a little more tricky to implement). Since the xtable UI is very simple now, I think the transition to Swing would be a very fast process, and mostly just adding a J in front of the AWT object names :). --bjgm On Thu, 2002-01-03 at 10:43, Williams, David wrote: > Basically, I have a class, xPanel...its .create() method returns a awt.Panel with a TextArea on the South layout, and a "refresh"button and label on the north layout. > > I have a message-panel that basically has 2-3 buttons on the south, and a TextArea on the North.... etc... > > These are "simple" AWT things... How hard would it be to do as javax.swing? > > Advanced things like DnD could be added, etc...but if I am planning to stabilize it as is, I don't know if I require swing for it..unless, of course, a user base comes along... > > > David Scott Williams > Computer Associates > Marketing Representative-Sales Call Center > One Computer Associates Plaza > Islandia, New York 11749 > tel: +1 800-243-9462 ext. 73431 > tel: +1 631-342-3431 (Direct) > fax: +1 631-342-5734 > wi...@ca... > > > _______________________________________________ > Cxtable-devel mailing list > Cxt...@li... > https://lists.sourceforge.net/lists/listinfo/cxtable-devel > _______________________________________________ Cxtable-devel mailing list Cxt...@li... https://lists.sourceforge.net/lists/listinfo/cxtable-devel |