GTK+, MetaCity themes, anyone using them yet?

I was just wondering if anyone is using the GTK+ Look and feel, and the MetaCity theme feature? I played around with them on my Windows 2000 machine, and was having redrawing problems when resizing, some tearing, etc... Also it would crash occasionally, and it seemed to slow everything down pretty bad..
I understand that GTK+ and Metacity are targeted to the Linux environment, but I'm looking for an easy way to change themes, without having to write a new LookAndFeel. I've used SkinLF and it seems to work much better than the java GTK+/Metacity combo. Also, if anyone has found good documentation on using GTK+/Metacity on a windows machine please post the link. thanks

I tried for a little while when I first installed 1.4.2, and quickly gave up. The GTK+ L&F definitely has the feel of something that was rushed out the door before it was ready. It's full of rendering errors and odd things.
I've noticed that if you switch to GTK+ and and then switch back to another L&F, various stuff fails to get updated -- I think there's probably some parts of the containment tree for the Synth UI classes that SwingUtils.updateComponentTreeUI() can't traverse, because after switching back from GTK+, there are "remnants" left over here & there.
Hopefully the full blown Synth L&F for JDK 1.5 will be much more robust. Even better would be if it shipped with several professional-looking skins.
Myself, I've gone to using JGoodies PlasticXP L&F wherever I possibly can.

Similar Messages

  • Anyone use JAI  yet? How do I resize JPEG?

    How do I resize a jpeg that someone has uploaded via a form before I save it to the server? It would already be in an input stream of some sort already.
    Thanks,
    Spack

    I just started reading the JAI docs, but I can think of at least one way to do it with JDK 1.3 code. I would start by creating an ImageIcon from your stream or creating an Image from the stream and feed it into an ImageIcon object. Not sure of exact code to accomplish converting a stream to an Image, although ImageIcon objects can be constructed with a byte array of image data. I understand that creating the ImageIcon will block until the Image is fully loaded, useful in preventing NullPointerExceptions that occur when you try to manipulate an incompletely loaded Image object. From there, try feeding the ImageIcon object and resizing height and width parameters to the following method.
    import javax.swing.*;
    import java.io.*;
    import java.awt.image.*;
    ImageIcon myImageIcon = new ImageIcon(
    bytesFromInputStream );
    myImageIcon = resizeImage( myImageIcon, maxWidth,
    maxHeight);
    // The width and height constraints are meant to indicate
    // maximum sizes for the resulting image in either aspect.
    // This method should retain the original aspect ratio of
    // the image; and its largest aspect will be held to the
    // appropriate provided aspect constraint (if the image
    // is wider than it is tall, it will still be wider than it is tall
    // when resized, only its width will be equal to the
    // widthConstraint value.
    private ImageIcon resizeImage( ImageIcon fromStream,
    int widthConstraint, int heightConstraint)
      int imgWidth = fromStream.getIconWidth();
      int imgHeight = fromStream.getIconHeight();
      ImageIcon adjustedImg;
      if ( imgWidth > widthConstraint | imgHeight >
       heightConstraint )
        if ( imgWidth > imgHeight )
          // Create a resizing ratio.
          double ratio = (double) imgWidth / (double)
           widthConstraint;
          int newHeight = (int) ( (double) imgHeight / ratio );
          // use Image.getScaledInstance( w, h,
          // constant), where constant is a constant
          // pulled from the Image class indicating how
          // process the image; smooth image, fast
          // processing, etc.
          adjustedImg = new ImageIcon(
           fromStream.getImage().getScaledInstance(
            widthConstraint, newHeight,
            Image.SCALE_SMOOTH )
        else
          // Create a resizing ratio.
          double ratio = (double) imgHeight / (double)
           heightConstraint;
          int newWidth = (int) ( (double) imgWidth / ratio );
          adjustedImg = new ImageIcon(
           image1.getImage().getScaledInstance( newWidth,
            heightConstraint, Image.SCALE_SMOOTH )
        // return the adjusted ImageIcon object.
        return adjustedImg;
      else
        // Assure the resources from the adjustedImg object
        // are released and then return the original ImageIcon
        // object if the submitted image's width and height
        // already fell within the given constraints.
        adjustedImg = null;
        return fromStream;   
    }From there, you can extract the Image object from myIconImage via myIconImage.getImage() and use that with whichever codec supports Image object conversion. I am pretty sure that the com.sun.image.codec.jpeg.JPEGCodec will do so (or somthing in that package can). Certainly JAI will have something from there.
    Good luck,
    Ryan

  • Anyone Used Kik Messenger Yet?

    I was thinking about installing Kik. Has anyone used it yet and has the carrier tried to charge you for texting? On the Kik Website it says you can text for free. I just do not want to get a bill six months down line saying that I owe them money for texting.
    Thanks.

    If the app uses internet access for exchanging messages, there can be no charge by your carrier in regards to texting - the only charge will be for data access when exchanging messages with the app when connected to your carrier's cellular network - no different from using any other app that requires internet access when connected to your carrier's cellular network.
    The only charge for texting by your carrier can be when using the iPhone's Messages app to exchange SMS/MMS. I'm not aware of any 3rd party app that can replace the iPhone's Messages app for exchanging texts through your carrier's network. 3rd party apps don't have access to private iPhone API's, and such as app would require such access.

  • Re: Interfaces in Forte - has anyone used them?

    We are making use of interfaces extensively and have never had the
    slightest problem. Interfaces do not cause any overhead, since they are
    mainly a means to support type checking by the compiler. At run-time the
    interface does not appear any more.
    Using Forte 3.0.F.2
    General wrote:
    >
    We are embarking on the analysis phase of a large pay/personnel project. =
    We have been advised to use interfaces wherever possible, because they =
    promote flexibility and reusability. I am fairly well convinced of the =
    benefits of using interfaces - they appear to have a lot of advantages, =
    and no drawbacks. However, I do wonder whether Forte's implementation of =
    interfaces is stable and usable (..it was only introduced in version 3). =
    If not, we may be better advised to use standard techniques.
    If you have used Forte interfaces I would be interested to hear how you =
    got on.
    regards,
    Tim Kimber--
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Eric,
    You are correct, "manipulate anAIFace object" is not really the correct
    way of thinking about what is happening. We are really manipulating an
    instance of an object through an interface.
    In regards to your other statement: "if Project C needs visibility to B,
    it must have B as a supplier Plan." Forte does not force this to happen
    when you are using interfaces, which is what causes the problem. Let me
    expand on my initial example and add enough detail so that you can create
    the problem, which surfaces as a deserialization error:
    Project A (No Supplier Plans)
    Defines Interfaces: UnitIFace with method GetValue() which returns an
    integer
    Project B (Contains A as a Supplier Plan)
    Defines Class: Unit with attribute _Value as an integer and method  
    GetValue() which returns _Value.  Implements interface UnitIFace.
    Project C (Contains A as a Supplier Plan)
    Defines Class: Square with method Calculate which accepts an
    UnitIFace as an input parameter and returns an integer. This class needs
    to be setup as a distributed object so that I service object can be
    defined using this class.
    Defines Service Object: SqaureSO using the Square class.
    Project D (Contains B and C as Supplier Plans)
    Defines a class or uses a window that creates an instance of Class B
    and passes it to the SquareSO service object that sqaures the value and
    returns an integer.
    Once this is setup, use the running man to run everything locally. This
    will run fine because the dependencies for the local partition end up
    including Projects A, B, C and D. Next, run distributed and move the SO
    to a remote partition. Now when you execute you will receive a
    deserialization error. This happens because the dependencies for the
    remote partition only included project A and C. The partition did not
    have the necessary information to deserialize the underlying instance of
    Class Unit that is referenced through the inteface UnitIFace.
    The problem can be resolved by either adding Project B as a supplier plan
    to Project C or ensuring that the interface and class are declared in the
    same project as I suggested in my previous message. In either case, this
    must be resolved by the programmer since Forte is not yet smart enough to
    correctly resolve the project dependencies, even though all of the
    information needed to establish the correct dependency hierarchy is
    available.
    Bradley K Wells
    [email protected]
    Strong Capital Management, Inc
    http://www.strong-funds.com/
    From: Eric Pereira
    Sent: Friday, July 31, 1998 5:57 PM
    To: [email protected]
    Cc: [email protected]
    Subject: RE: Interfaces in Forte - has anyone used them?
    Bradley,
    Thanks for that descriptive note on interfaces.
    I do have a observation : in that example you gave us, if Project C
    needs visibility to B, it must have B as a supplier Plan. Therefore, I
    don't quite understand how partioning classes in C would end up with a
    run-time errror in distributed mode, given that B supplies C (something
    you've perhaps missed out in your example ?).
    Also, is it really possible to "manipulate AIFace objects" ? Interfaces
    are'nt really objects, they just help implement a compile-time type
    check.
    Thanks.
    Eric Pereira
    Forte Consultant
    ----<snip>------------------
    Example:
    Project A - Contains AIFace
    Project B - Contains Class B which implements AIFace, depends on Project
    A
    Project C - Contains Classes manipulating AIFace objects, depends on
    Project A
    This can run fine locally since the local partition has knowledge of all
    the classes in A, B, and C. Now as soon as you throw a service object
    on
    classes on Project C and push them into a remote partition, your
    application starts failing because that partition does not contain the
    information form project B since there is no dependency on that project.
    The partition needs the information from project B though since it
    contains the definitions for the actual implementation objects, however
    there was no way for Forte to determine that need when it generated the
    partition.
    This problem is initially eliminated by keeping the interfaces in the
    same project as the underlying business objects. But once you start to
    have interfaces implemented by multiple classes from multiple projects,
    then this won't cover all the bases either. In any case, it is an issue
    that you will need to consider at some level when using interfaces.
    Good luck!
    Bradley K Wells
    [email protected]
    Strong Capital Management, Inc
    http://www.strong-funds.com/
    From: "Ngai, Stuart" <[email protected]>
    Date: Thu, 30 Jul 1998 11:10:50 -0400
    Subject: RE: Interfaces in Forte - has anyone used them?
    With version 3G, you can not create an array of interfaces. I believe
    Forte
    will have that feature in version 4 (which is scheduled to be in
    production
    at the end of next year).
    -----Original Message-----
    From: Thomas Kunst [SMTP:[email protected]]
    Sent: Thursday, July 30, 1998 8:52 AM
    To: [email protected]
    Cc: General
    Subject: Re: Interfaces in Forte - has anyone used them?
    We are making use of interfaces extensively and have never had the
    slightest problem. Interfaces do not cause any overhead, since theyare
    mainly a means to support type checking by the compiler. At run-timethe
    interface does not appear any more.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • I just started using my iphone 5s. I have a problem with new incoming emails from my POP account. Why are they marked as read automatically even though I have not even opened them yet.

    I just started using my iphone 5s. I have a problem with new incoming emails from my POP account. Why are they marked as read automatically even though I have not even opened them yet.
    At first I thought it might be because I was using simultaneously my old iPhone 4S so it somehow realized the emails where being pushed to another device and the it marked as read, this has nothing to do since I have deleted the email account from the iPhone 4S

    Contact the email provider for assistance with their service.

  • Hi. I have bought both Adobe XI Pro and standard and downloaded only one of them yet. How do i proced to download the other? Can this be done without install or perticipate within Creative Cloud, only by using username and PW?

    Hi.
    I have bought both Adobe XI Pro and standard and downloaded only one of them yet.
    How do i proced to download the other?
    Can this be done without install or perticipate within Creative Cloud, only by using username and PW?

    I assume you have the S/Ns. The download is at http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html. Be sure to backup the download to CD or backup HD for future use.

  • [SOLVED] How to change metacity theme in Gnome 3.4?

    Hi all,
    I would really like to change the default metacity theme from Clearlooks to something else, but keep Adwaita as the default GTK+ 3 theme. Previously, it could be done using gconf-editor and changing the /apps/metacity/general/theme key value, but on my system /apps/metacity/general is completely empty (like all other metacity 'subgroups').
    Does anybody know how to set the default metacity theme?
    Last edited by digitaldingo (2012-04-24 13:13:38)

    digitaldingo wrote:I agree that one would do best in choosing a theme that supports both GTK 2 and 3, but until the themes get updated with GTK+ 3.4 support, we are stuck with either bad-looking GTK 2 or GTK 3 applications. It would be nice to not have to choose between those.
    You're not 'stuck', depending on if your are able to fix the theme, yourself. CSS isn't very difficult to read/edit... I've already been fixing a dark theme to work with gtk-3.4. Mostly, certain things have just been deprecated. So usually, it is as simple as launching a gtk app from a terminal (while using your broken theme) and looking at the gtk-related errors (usually parsing errors) then fixing them in your theme, accordingly. It's pretty easy because it will tell you exactly which line(s) need to be changed...  The most common problem i've seen that pixel sizes must now have 'px'. And there are also some fixing to do, in terms of fixing parts/widgets that don't look quite right - like maybe having to adjust a color, or border or something. but obviously mileage varies, depending on theme + it's engine.
    maybe i've just been lucky, i don't know - but i've got a semi-decent theme working, although there are still things to change and fix
    cheerz
    Last edited by triplesquarednine (2012-04-24 14:24:01)

  • [Solved] Metacity theme question

    Hi,
    I use a modified version of the "Human" theme but it's not perfect yet.
    The ugly 'point' on the left should be removed and at this area the application icon should be shown.
    What is needed to modify? Thanks for help.
    Screenshot:
    metacity-theme.xml:
    http://pastebin.com/ZVx5My1U
    Edit: solved by myself
    Last edited by Radioactiveman (2011-03-21 17:56:57)

    anonymous_user wrote:
    Haptic wrote:What's wrong with asking 2 things in 1 thread?
    Arch Wiki wrote:Choose one topic per thread. Long threads are typically discouraged in the technical issue subforums. Try not to post multiple questions in a single topic -- this makes it difficult to search for specific problems.
    https://wiki.archlinux.org/index.php/Fo … ow_to_Post
    Sorry, I moved the other question to another topic.
    Nothing shows up in ncmpcpp
    mpd.conf
    http://paste.pocoo.org/show/342598/
    Last edited by Haptic (2011-02-22 02:49:02)

  • Is there any way for a formula to ignore other cells without data in them yet?

    I'm trying to create a spreadsheet to track my grades. I have all the formulas set up (quizzes, tests, etc. are calculated separately because they are all weighted differently towards the final grade). The "Final Grade" formula has an error because some of the other sets don't have data in them yet (i.e. haven't taken a test yet). Is there any way to get the Final Grade formula to ignore the cells without data yet?
    Formula for each category (quizzes, tests, etc): ((SUM [total point column]) / (SUM [total points possible column])) * 100
    Formula for Final Grade: (([quiz grade] * 0.15) + ([test grade] * 0.25)) * 100

    Hi badwolfgirl,
    I agree with quinn that merged cells can lead to many problems. Here is a table with no merged cells
    Two Header Rows, one Header Column and one Footer Row.
    I have used Cell Fills (colours) to distinguish Quizzes, Tests, Final Exam and Projects.
    Formula in Footer B8
    =IF(SUM(C)=0,"",100×SUM(C)÷SUM(D))
    if the SUM of C is 0 (zero), insert "" (NULL) to make it appear blank. Else insert 100xSUM(C)/SUM(D) to show the % score.
    Formula in C8
    =SUM(C)
    Formula in D8
    =SUM(D)
    Select B8 to D8 and drag the yellow Fill Handle to the right.
    If you want the appearance of merged cells, you can delete the contents of B1 and D1, then show No Border to the left and right of C1
    And so on for EFG etc.
    The cells are still there (to avoid problems down the track.
    Regards,
    Ian.
    Edited to rearrange paragraphs. Ian.

  • Listening to iTunes radio station and I haven't heard a song from them yet

    Like I've been listnening to Flux Pavilion Radio like every day and I haven't heard a song from them yet is this intended?

    Just to clarify - When I requested my unlock from AT&T, I received an email from them that my unlock was approved.  I verified with Apple that the unlock request had been processed, and then I just had to restore my phone.  You can call Applecare at 800-694-7466 and ask them if your carrier has processed your request to unlock the phone.  If not, you will need to contact the carrier again (as Gail pointed out - it is the carrier who unlocks the phone).
    HTH

  • HT204088 Does anyone know how to speak to customer service for iTunes? I got charged for something and have no clue what I got charged for. I have not used iTunes yet. There is no way on the apple site to get this resolved.

    Does anyone know how to speak to human being in customer service for iTunes? I got charged for something and have no clue what I got charged for. I have not used iTunes yet. I have spent a lot of time trying to get this resolved on the apple site and there just seems no way to do it. Thanks.

    iTunes Customer Service is an online service unless they feel they need to call you.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • Anyone used the Global Site Selector yet ?

    I believe it came out a couple of months ago. I'm looking at one versus the F5 3DNS boxes. Any thoughts ?

    I haven't used it yet, but I am also interested if anyone else has some info on it.
    I guess it would be a good idea to use if Cisco devices such as CSS 11000,Local directors, CSM etc. are deployed in the network.

  • GTK Icon Theme

    I get this error when running switch:
    /home/aquafox/.gtkrc.mine:1: error: unexpected identifier `gtk-icon-theme-name', expected keyword - e.g. `style'
    This error running nitrogen:
    terminate called after throwing an instance of 'Gtk::IconThemeError'
    Aborted
    This is my .gtkrc.mine file:
    gtk-icon-theme-name = "Tango"
    Am I doing anything wrong? Or is the new gtk broken?

    Hehe, whatever works. I suppose. I got that same nitrogen error before and installing gnome-icon-theme is what fixed it for me. Definitely a strange error.

  • I bought 120 gold in Haypi dragon on Mar 12 and 15 2012 , but I havenot received them yet.What is wrong with it ,and when i can reveive them ?

    I bought 120 gold in Haypi dragon on Mar 12 and 15 2012 , but I havenot received them yet.What is wrong with it ,and when i can reveive them ?

    For in-app purchases you should contact the developer's customer support, assuming there is one.

  • Has anyone use camptune x with mountain lion even though says it does not support it yet

    HAs anyone used camptune x with mountain lion even though it is not yet specific to moutain lion yet?

    Tried it yesterday on my imac 21Jan 2013 running mountain lion 10.8.2, total disaster.
    Backed up my boot camp image using winclone (great programme)
    Purchased and ran camptune x and everything went fine.
    Rebooted into windows 7 and recieved error messages find--set--root--ignore floppies--ignore cd/bootmgr
    ERROR 15
    Gave me a list of options on screen but none resolved the issue.
    Booted back into winclone and used the backup image i had just created to reinstall on bootcamp.
    Have emailed the company but have had no reply as yet
    **** STAY AWAY until updated for mountain lion YOU HAVE BEEN WARNED ****

Maybe you are looking for

  • Problems installing Bootcamp on my Macbook Pro i7

    Hi, I ran the Bootcamp installation program, and then restarted my Macbook Pro Core i7, and was presented with three choices - 1. Mac OS X, 2. Windows, 3. EFI Bios. Choice 2 crashes, choice 3 runs the Windows installer, shows the progress bar, goes u

  • Why won't Live Paint work for me?

    Synopsis: Illustrator won't let me use Live Paint, or rather, Live Paint won't let me use it. I tested it out on a random file by creating shapes with some of the tools and it worked fine. However, with any image I try to use, it won't work. This is

  • Integration with PLC, Weigh Bridge, Attendance Machine & Spectrometer

    Dear Friends, Can anyone help me with any knowledge on how to integrate 1) PLC 2) Weigh-Bridge 3) Attendance Machine 4) Spectrometer with SAP System? I have never done any integration...and looking for help. Points assured if helpful. Regards, Rohan

  • Ausgabe auf DVD unscharf

    Folgendes Problem stellt sich mir. Ich habe ein Video mit ausschliessliche 1920 * 1080 50p Clips erstellt. Die Ausgabe auf BlueRay ist ok, aber wenn ich die Ausgabe für DVD Widescreen mache, dann ist das Ergebnis sehr unscharf. Im Prinzip nicht verwu

  • Posting invoice number

    hi i want to post the invoice number for this iam using RV_INVOICE_DOCUMENT_ADD what are the fields we need to pass for this FM so that invoice number should be posted..