Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #756

Re: Problem with texture

From "stacey" <stacey@THRWHITE.remove-dii-this>
Subject Re: Problem with texture
Message-ID <1169395652.457945.4780@38g2000cwa.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1169388350.415536.50740@11g2000cwr.googlegroups.com>
Date 2011-04-27 15:29 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Ok.. I just found another thing..

I reset the Look and Feel after every matlab call, ok?
The buttons and RadioButtons seem ok after matlab is called. their
texture is restored. But the pop up windows and the file choosers have
a bit changed after i call matlab for the first time... their letters
are not bold as they used to.

Any ideas?

Thanx again

Regards,
Stavroula



On Jan 21, 4:05 pm, "stacey" <staceyventu...@gmail.com> wrote:
> I get the UIManaget.getLookAndFeel() printed before the matlab call and
> after and i get:
>
> before: [The Java(tm) Look and Feel -
> javax.swing.plaf.metal.MetalLookAndFeel]
> after: [The Microsoft Windows Look and Feel -
> com.sun.java.swing.plaf.windows.WindowsLookAndFeel]
>
> So it doesnt change. Great! Thanx!
> I used the UIManager.setLookAndFeel function to reset it.
>
> But a problem still exists. While matlab is called the look & feel
> disappears, and you can see it in the application, and after the
> function is done, i set it again and everything is ok.
>
> I dont know if there is any ways to change this..or if you know..
> because i cannot alter Matlab's java compiled code.
>  but thank you because it works much better now!
>
> Regards,
>
> Stavroula
>
> On Jan 21, 1:06 pm, "Larry Barowski"
>
> <MElarrybar-AT-eng_DOT_auburnANOTHERDOTeduEND> wrote:
> > "stacey" <staceyventu...@gmail.com> wrote in messagenews:1169376628.234870.129030@11g2000cwr.googlegroups.com...
>
> > > Hello everyone,
>
> > > I have the following problem.
> > > I am making a java application, and i have several call to Matlab
> > > functions.
> > > Maybe you dont know it, but in Matlab 7.3 there is a java compiler so
> > > you can make java code out of Matlab code.
>
> > > When i call those functions, the texture of the buttons and everything
> > > messes up. It dissapears!
> > > E.g. The buttons before the call have a sort of texture.., after the
> > > call , ther are just simple square shapes, like if you take a pencil
> > > and draw them yourselves.
>
> > > This happens in jRadioButtons as well, and in pop up messages. In pop
> > > up messages the letter lose their boldness..
> > > I can print screen them if you want.
>
> > > I haven't got any clue why this is happening.
> > > I haven't touched the look&Feel.
>
> > > Any suggestions/ideas??For a start, you could print out UIManager.getLookAndFeel() to
> > see if the Matlab code is changing it. I would suspect that some
> > static initializer is setting a "Matlab Look & Feel".

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Problem with texture of U "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
  Re: Problem with texture "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
    Re: Problem with texture "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
      Re: Problem with texture "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
        Re: Problem with texture "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
          Re: Problem with texture "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
            Re: Problem with texture "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
              Re: Problem with texture "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000

csiph-web