You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com
I'm trying to change the font of some components but this does not seem to work or I must be doing something wrong.
For example:
var tree = new JTree(); var v = new Verdana();//my embedded font var f = new org.aswing.ASFont(v.fontName, 12, false, false, false, true); tree.setFont(f); tree.setModel(treeModel);
When using the above, the cells of my Tree don't display any text at all. When I change the last argument to 'false' it always uses 'Times New Roman', no matter what I set for fontName.
I'm using the haxe version of ASWing. Can anyone tell me what is going wrong or what I'm doing wrong.
Cheers,
Jan
ProG4mr
unread,
Sep 3, 2012, 12:19:44 PM9/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com, Jan Flanders
Hey Jan,
Have you tried compiling with nme 3.4.0? Alot of things are broken in nme since that version (specially on other targets that flash)
Sorry i havent tried your example but there is a chance your example works with nme 3.4.0
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com, Jan Flanders
I mean broken in *aswing*, bad english im in a hurry :).
Jan Flanders
unread,
Sep 3, 2012, 12:47:44 PM9/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com, Jan Flanders
On Monday, September 3, 2012 6:21:31 PM UTC+2, ProG4mr wrote:
I mean broken in *aswing*, bad english im in a hurry :).
On Mon, 03 Sep 2012 17:19:44 +0100, ProG4mr <pro...@gmail.com> wrote:
Hey Jan,
Have you tried compiling with nme 3.4.0?
Hey ProG4mr,
I'm not using NME at all. I checked out the latest haxe aswing code from svn and I am only targeting flash/swf. I also tried 'haxelib aswing' but I haven't noticed any difference between the two.
Cheers,
Jan
ProG4mr
unread,
Sep 3, 2012, 12:57:54 PM9/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com, Jan Flanders
Well im not sure, but i thought aswing was using nme, truth is that it doesent even compile for some targets
if you update nme past 3.4.0, im not very experienced so i assume it uses nme.
Having said that, let me know if it solves your problem, alot of textfield related bugs appear after upgrade to nme 3.4.2 (or 3.4.1).
Jan Flanders
unread,
Sep 3, 2012, 1:58:12 PM9/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com, Jan Flanders
I'm not using NME at all and NME is in no way related to aswing. NME is a haxe library that lets you use the flash API on other targets than Flash. I'm not targeting any other platform than Flash. I don't need NME at all and aswing doesn't need NME either. ;)
Cheers,
Jan
ProG4mr
unread,
Sep 3, 2012, 2:04:33 PM9/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com, Jan Flanders
Ummm ok, thanks for the explanation, its good to know that aswing can be used without nme.
Still i use flashdevelop nme template to make my apps/games, and strangely it gets all broken if
i use latest nme version (flash target is the only one ok tho).
Good luck using aswing, best ui library out there ^^