adityanagal / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Linux-IDE : use javax.swing.jfilechooser instead of the awt-dialogs #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?
The IDE uses AWT-Dialogs for file-open file-save. Replace these dialogs
with their swing counterparts.

Why?
The look and user experience of the AWT-dialogs does not integrate with any
of the linux desktop themes in use.    

Would this cause any incompatibilities with previous versions? 
No.

Two files attached:
AWT.jpeg shows the current look on linux 
swing.jpeg shows a standard javax.swing.JFileChooser (from another app)

Eberhard

Original issue reported on code.google.com by e.fa...@wayoda.org on 15 Jun 2009 at 7:56

Attachments:

GoogleCodeExporter commented 9 years ago
This should be fixed in Processing and ported over.  Can you submit a bug 
report there?

Original comment by dmel...@gmail.com on 15 Jun 2009 at 8:28

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 15 Jun 2009 at 8:31

GoogleCodeExporter commented 9 years ago
>> This should be fixed in Processing and ported over.  Can you submit a bug 
report
there?
I think you'll understand that I'm not going to put any work into a software I 
don't
use and then wait a year for my code to get merged with the Arduino-IDE.
If the processing people find this useful they should be the ones to port it...

Original comment by e.fa...@wayoda.org on 16 Jun 2009 at 6:55

GoogleCodeExporter commented 9 years ago
Since most of the development to the IDE code-base is done by the folks working 
on Processing, it's important 
to keep the Arduino code-base in sync to make it easier to receive updates / 
improvements.  I'd rather not fix 
random little things in a way that makes it more difficult to incorporate other 
fixes and improvements.  If you 
submit a patch, I can try to modify it so that it can be incorporated upstream 
as well, but it won't be a high 
priority.

Original comment by dmel...@gmail.com on 16 Jun 2009 at 2:57

GoogleCodeExporter commented 9 years ago
This is really annoying me as well (and I've only had an Arduino for two days), 
so I've created and submitted a patch against the svn trunk of Processing. No 
idea if/when it will get accepted but you can follow the issue at: 
http://code.google.com/p/processing/issues/detail?id=1076

Original comment by Mark.A.G...@gmail.com on 6 May 2012 at 3:30

GoogleCodeExporter commented 9 years ago
This issue (sort of) fixed itself by moving to Java7.
I work with the OpenJDK7 on KUbuntu and this Java version uses the GTK flavour 
of the FileChooser-Dialog. 

That means it still ignores the users LookAndFeel settings, but at least it 
doesn't look like being an application from the 1990's any more.

Eberhard

Original comment by e.fa...@wayoda.org on 8 May 2012 at 4:33

GoogleCodeExporter commented 9 years ago
You're right OpenJDK7 definitely uses the normal Ubuntu file dialog for the AWT 
FileDialog class rather than falling back to the horrid GTK+ one. This might be 
motivation enough for me to upgrade to Java 7 permanently.

Original comment by Mark.A.G...@gmail.com on 9 May 2012 at 6:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just to let everyone know that this issue has now been fixed in Processing so 
hopefully should make it's way into the arduino code base soon -- see 
http://code.google.com/p/processing/issues/detail?id=1014

Original comment by Mark.A.G...@gmail.com on 30 Jul 2012 at 5:12

GoogleCodeExporter commented 9 years ago
Code from Processing here: 
http://code.google.com/p/processing/source/detail?r=9902

Original comment by dmel...@gmail.com on 2 Aug 2012 at 12:51