|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
NetBeans icon in the IDE vs the one in RCP applicationsThis is not really related to NetBeans, but it's something that's been
anoying me for some time now, and, as it's on NetBeans, here's my question. Why is the NetBeans icon on the main window of the IDE look so nice, transparent background working fine, and on my RCP application it has an ugly gray area around it? Isn't it the same file? The problem is that every image I set as my application's icon gets the same gray area around it, it makes me remember PNG files with transparency on IE :( Does anyone know a way to solve this? Or at least why is this happening? -- Sem mais e com os melhores cumprimentos, Sérgio Lopes |
|
|
RE: NetBeans icon in the IDE vs the one in RCP applicationsIt's NetBeans Branding editor corrupts your icon...<неиWorkaround: manually replace icon after open Branding editor.<неи<неи-----Original Message-----<неиFrom: Sergio Lopes [mailto:knitter.is@...] <неиSent: Tuesday, July 15, 2008 6:45 AM<неиTo: dev@...<неиSubject: [openide-dev] NetBeans icon in the IDE vs the one in RCP applications<неи<неиThis is not really related to NetBeans, but it's something that's been<неиanoying me for some time now, and, as it's on NetBeans, here's my<неиquestion.<неиWhy is the NetBeans icon on the main window of the IDE look so nice,<неиtransparent background working fine, and on my RCP application it has<неиan ugly gray area around it? Isn't it the same file?<неи<неиThe problem is that every image I set as my application's icon gets<неиthe same gray area around it, it makes me remember PNG files with<неиtransparency on IE :(<неи<неиDoes anyone know a way to solve this? Or at least why is this happening?<неи<неи-- <неиSem mais e com os melhores cumprimentos,<неи<неиSérgio Lopes<неи
|
|
|
RES: NetBeans icon in the IDE vs the one in RCP applicationsSérgio,
This icon is the same that exists in netbeans.exe file, and follows Windows rules when running on Windows. I suppose the icon used by our NB applications is a 32x32x256 icon and NB IDE icon is RGBA "multisize" (32x32+16x16). Windows icons with 256 colors have only one degree of transparency - that's why the ugly white border appears. You may change your application executable icon to an RGBA icon. Take a look at this: http://wiki.netbeans.org/DevFaqExecutableIcon Regards, Eduardo -----Mensagem original----- De: Sergio Lopes [mailto:knitter.is@...] Enviada em: segunda-feira, 14 de julho de 2008 23:45 Para: dev@... Assunto: [openide-dev] NetBeans icon in the IDE vs the one in RCP applications This is not really related to NetBeans, but it's something that's been anoying me for some time now, and, as it's on NetBeans, here's my question. Why is the NetBeans icon on the main window of the IDE look so nice, transparent background working fine, and on my RCP application it has an ugly gray area around it? Isn't it the same file? The problem is that every image I set as my application's icon gets the same gray area around it, it makes me remember PNG files with transparency on IE :( Does anyone know a way to solve this? Or at least why is this happening? -- Sem mais e com os melhores cumprimentos, Sérgio Lopes -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. |
|
|
Re: NetBeans icon in the IDE vs the one in RCP applications> It's NetBeans Branding editor corrupts your icon...
Maybe, but it happens on every icon that I set for the main frame and all dialogs, isn't it something related to Java and the format of the image? I have tried with GIF and PNG file, the result is the same. > This icon is the same that exists in netbeans.exe file, and follows Windows > rules when running on Windows. That's the next step, right now, the image that I' trying to setup it the one used in the left top corner of the main window and all JDialog instances. -- Sem mais e com os melhores cumprimentos, Sérgio Lopes |
|
|
Re: NetBeans icon in the IDE vs the one in RCP applicationsWe had this discussion back in Mar 7 see below part of the discussion.
Platonov is right, it gets corrupted every time. Tony Kohar gave the answer to modify your build.xml to simply replace the file(s) at every build. I will try to look through the bug database and see if this is a recorded bug and else create one. Thanx B-) Hi, On Sat, Mar 8, 2008 at 5:51 AM, David Beer <david.m.beer@...> wrote: > Hi > > Thanks for your suggestion placing three different gif files in > <mysuite>/branding/core/core/jar/org/netbeans/core/startup/ works. So I > have frame.gif = 16x16 frame32.gif = 32x32 and a frame48.gif = 48x48. > > Does anyone know why it looses its transparency. > the project properties using the GUI. And why it is losing the transparency is (my opinion, I haven't check the source code) netbeans conversion Image algorithm from something.jpg,gif,png to gif file somewhat loosing the transparency. As usually this can be workarounded by override the build ant script. This is the my workaround: - put your good copy (have transparency) in the root dir of the suite (or any place) - override the build scrip of Netbeans Platform, so everytime it build (not compile) it will copy the good image to replace the old <!-- override to add my branding eg: replace frame icon --> <target name="build" depends="build-brand,suite. build"/> <target name="build-brand" depends="-init"> <!-- do your own other branding as needed --> .... <!-- this is the copy part to replace bad image to good image --> <copy todir="${basedir}/branding/core/core.jar/org/netbeans/core/startup/" overwrite="true"> <fileset dir="${basedir}"> <include name="frame.gif"/> <include name="frame32.gif"/> <include name="frame48.gif"/> </fileset> </copy> </target> On Tue, Jul 15, 2008 at 6:21 AM, Sergio Lopes <knitter.is@gmail.com> wrote:
|
|
|
Re: NetBeans icon in the IDE vs the one in RCP applicationsI searched for any info on this problem but failed to find any, thanks
for the answer, if this has been discussed before I'll look for it in the archives. I have no problems with overriding the build.xml, it's one less problem to worry, though not that big of a problem, but still, an annoying one. Thanks. -- Sem mais e com os melhores cumprimentos, Sérgio Lopes |
|
|
Re: NetBeans icon in the IDE vs the one in RCP applicationsCould not find this problem in the bug database I created
http://www.netbeans.org/issues/show_bug.cgi?id=140104 Vote for it B-) On Tue, Jul 15, 2008 at 7:39 AM, Sergio Lopes <knitter.is@gmail.com> wrote: I searched for any info on this problem but failed to find any, thanks |
|
|
Re: NetBeans icon in the IDE vs the one in RCP applications> Could not find this problem in the bug database I created
> > http://www.netbeans.org/issues/show_bug.cgi?id=140104 > > Vote for it Done. -- Sem mais e com os melhores cumprimentos, Sérgio Lopes |
| Free Forum Powered by Nabble | Forum Help |