Newbie question about message digests

I understand that a digest is a one-way process, that a message digest is a "fingerprint" of the original message but that there is no way to recover the original (I think Ronald Rivest's document says it is "conjectured to be computationally infeasible" to do so). So far so good.
But I also read this about digest algorithms: "it is virtually impossible to create a message with a predetermined digest." ( http://tinyurl.com/39thq )
What does this mean, given that a particular message will always hash to the same digest?
Thanks for any guidance.
-javahombre

Great, now I see! Thanks!
This sounds especially true now that I see the explanation. For example, I notice that even different case for the "same" string matters: "test" vs. "Test" comes out to different hash.
As for picking completely different strings that hash to the same digest, that seems almost inconceivable.
Thanks again,
javahombre

Similar Messages

  • Hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    Hi,
    How is everything going? Have you checked this issue from OWA? If so, please let me know the result.
    In adition, please also try to use the following powershell commands to check if the assistant has right permissions:
    Get-MailboxFolderPermission -Identity
    CEO’s email address:\Calendar -User assistant’s email address
    Also check with:
    Get-Mailbox -Identity CEO’s mailbox
    | fl *GrantSendOnBehalfTo
    Please let me know the result.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Newbie Question about FM 8 and Acrobat Pro 9

    Hello:
    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?
    TIA,
    Kimberly

    Kimberly,
    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • Newbie question about loading servlets on tomcat

    I have what is probably a very basic question about loading simple servlets on to tomcat to test its installation. I have followed instructions from numerous tutorials to the letter but still I can't get it to work.
    I have installed tomcat on win2k in c:\tomcat. I set up the jdk, environment vars (JAVA_HOME, CATALINA_HOME, TOMCAT_HOME) which all point at the correct dirs. I can compile a servlet without errors. I can also place a test jsp and html file into the root directory and they both work fine.
    However, now I am trying a test servlet and no matter what I do it gives me a 404. I have a servlet class file called "HelloServlet.class" which I placed into the %install_dir%\webapps\ROOT\WEB-INF\classes directory. I try to reference it using this url:
    http://localhost/servlet/HelloServlet
    Tomcat is configured to use port 80 and has been restarted after adding the servlet class file. Does anyone have a clue why this is not working for me?
    Many thanks
    Marc

    You have to add in the web.xml file that it is in the WEB-INF dir, the information about your servlet. An example:
    <web-app>
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/HelloServlet</url-pattern>
    </servlet-mapping>
    </web-app>

  • Newbie question about saving files

    Hi all,
    A newbie question here, and maybe it is a dumb question, but I can't get my head around this and sofar found no answer in the forums here.
    When I save a file on my macbook, I can only save it to "top" folders.
    What I mean is I try to save a file for instance to documents/worddocs/lyrics just to say something, then I have to save the file first to documents, and the move it to the lyrics folder via finder or move it to :worddocs folder and then move it again to the lyrics folder. Hope you still get my drift here
    Is there a way to just save it to the subfolders without going through all this moving around?
    Thanks in advance for any advice
    Peter

    When you click File>Save As, you will see the Save As window pop up. At the top, you will see a box entitled Save As, which has a space for your to enter the file name. To the right of this box is an arrow pointing down. Click it. The full file hierarchy will be seen. Then you can save directly to the file you want.
    Hope this helps.
    Don

  • 2 newbies question about diskgroups

    Hi gurus,
    I have 2 newbies question:
    Im working in a RAC Database (11.2.0.3) on Redhat 5.3 with some disk groups. One of this groups have 6 disks on it with different space (134, 236G, 236G, 185G, 185G and 185G).
    My questions are:
    1) What would be happend when the lower space disk will be full?
    2) At this moment the diskgroups are at 45% so i was thinking to change their spaces to have all with the same space (around 193G each), it would create any problem? i should restart database or can do it with database up?
    Thanks

    if a disk is filled, what would happen? could i resize the disks with same size without stop database and without affecting the data stored within each disc?
    By the word 'disk' I assume you mean LUN . When a LUN in a disk group is filled, ASM will use the remaining LUNs to store the data. You should always use LUNs of uniform size to avoid uneven I/O .
    could i resize the disks with same size without stop database and without affecting the data stored within each disc
    You can get the Unix/Storage team to allocate more LUNs for this Server. Once these LUNs are added , check if the following pre-reqs are met for the LUN which is yet to be added to the disk group
    v$asm_disk.HEADER_STATUS = 'CANDIDATE'
    v$asm_disk.PATH = /dev/rdsk/youLUNname
    v$asm_disk.NAME will be NULL
    Now you can add the LUNs using
    alter diskgroup DATA_DG01 add disk '/dev/rdsk/youLUNname' rebalance power 4 ; wait for rebalance to finish (check status in V$ASM_OPERATION)
    Yes. The above can be done without stopping the DB. It won't affect the stored data either.

  • Two (too much?) newbies questions about KT3 Ultra 2

    Goodmorning all.
    I've bought a KT3 Ultra2 (MS-6380E) motherboard and i've two questions about it.
    First of all I need to buy the optional S-Bracket to use my SPDif sound sistem... where can i buy it in Italy or in Internet?
    In second i've to know the highest processor my MB support becouse i have to upgrade my PC.
    Can U help me?
    Tha a lot and sorry for disturb.
    Hallo.

    Hello,
    question 2, not sure about question 1,
    http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_cpu_support_detail.php?UID=341&kind=1
    You may need this BIOS update too.
    http://www.msi.com.tw/program/support/bios/bos/spt_bos_detail.php?UID=341&kind=1

  • Newbie question about livecycle data services es

    Hi all.
    i've downloaded the LiveCycle ES2 VMware virtual appliance, setup it up on a esxi server, workspace, content space, all are up and running, but here comes my question, how do i install livecycle data services in there?how do i set it up to start working with the rest?
    i've read the documentation on how to install, but i'm a bit confused.
    can anyone give me any pointers about this?
    help would be appreciated
    thanks in advance

    1) In Workbench ES2 create a process to create a new user. If you need to create a group there is also a service to create group. Create a short-lived process using the Avoka service > Create User operation. The Create User operation has the inputs depicted below.
    2) Create a process variable called 'newUserXml' of type 'xml' and declare the variable as input. Ideally, create a schema for the xml.
    3) The Create User operation has a single output, a string containing the user ID. Create a process variable called 'userID' of type 'string' and declare the variable as output.
    3) Save, check-in, and deploy the process.
    4) To test the process, invoke the process from the Workbench. For the input variable, plug data into an xml structure such as this...
    <NewUser>
    <Login/>
    <Password/>
    <CommonName/>
    <CanonicalName/>
    <Description/>
    <Email/>
    <Initials/>
    <OrgName/>
    <Address/>
    <Telephone/>
    </NewUser>
    5) If the test succeeds, you are ready to create the Flex application. If not, figure out why.
    6) Build a Flex app. Once you deployed the process, the remoting endpoint is automatically created and can be accessed by Flex. Here is a stub.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initChannelSet()">
    <mx:Script>
    <![CDATA[
    import mx.messaging.channels.AMFChannel;
    import mx.messaging.ChannelSet;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    private function initChannelSet():void {
    var cs:ChannelSet= new ChannelSet();
    cs.addChannel(new AMFChannel("my-amf","http://localhost:8080/remoting/messagebroker/amf"));
    ro.channelSet = cs;
    private function submitRequest():void {
    var newUser:XML = new XML(getXmlData());
    ro.setCredentials("administrator","password");
    ro.invoke({newUserXml:newUser});
    private function remotingResultHandler(event:ResultEvent):void {
    var userID:String = event.result.userID;
    private function remotingFaultHandler(event:FaultEvent):void {
    Alert.show(event.fault.faultDetail.toString());
    private function getXmlData():String {
    var xmlStr:String = "<NewUser>"
      + "<Login>" + login.text + "</Login>"
      + "<Password>" + password.text + "</Password>"
      + "<CommonName>" + commonName.text + "</CommonName>"
      + "</NewUser>>";
      return (xmlStr);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="ro" destination="MyApplication/processes/CreateNewUser"
       result="remotingResultHandler(event)" fault="remotingFaultHandler(event)"/>
    <mx:VBox>
       UI goes here...
       <mx:Button label="Submit" click="submitRequest()"/>
    </mx:VBox>
    </mx:Application>
    Steve

  • Newbie question about Premiere Elements Organizer

    This is a pre-newbie – let’s say “virgin” question. If there is an answer already posted elsewhere, please send me a link.
    I’m about to install Premiere Elements 9 to do some clip editing and animation from still images.  This would be my first attempt to edit clip or do some animation from still images, besides using Windows Media Maker with my HS students. However, I have been a pretty serious photographer for 20+ years with 1,000’s of images which I now work on in PS CS5 Extended and Lightroom 3. I use Adobe Bridge and LR library to catalogue and organize my images. I’d like to continue to use AB / LR Library to organize my new clips and projects. From reading Bill’s posts, it seems I can use Adobe Bridge, copy my original file, resize in Photoshop, and save in a new folder to use for a Premiere project. This would seem to be most intuitive way for me to work. I already have keywords, metadata, actions in PS… etc. But I think Bill is using Premiere Pro, while I’ll be installing Premiere Elements, which comes bundled with Elements Organizer. Do I need to install or use Elements Organizer? What are the advantages/disadvantages or EO?  I guess I’m a little worried about installing the programs and having EO automatically acquire images using presets/defaults that I don’t want to use as well as issues with subfolders, etc. I'm running Windows 7.
    Thanks
    FYI- this is a great animation project
    http://www.thejohnnycashproject.com/#/explore/TopRated

    ziggycat4 wrote:
    I guess I’m a little worried about installing the programs and having EO automatically acquire images using presets/defaults that I don’t want to use as well as issues with subfolders,
    EO doesn't do much with the files themselves, just maintains links to the sources.
    For folders you are best to use the folder view in EO to move them as it doesn't keep track of folder locations when changed in Windows Explorer. From the File options in Bridge I think that is pretty much the same.
    ziggycat4 wrote:
    I would like to get as much input as possible on the advantages/disadvantages of using EO vs say Adobe Bride from others who use Elements Organizer.
    Any insights would be appreciated.
    Can anyone who has used both EO and AB comment on how EO handles missing (hidden) files, syncing issues, computer hanging up or crashing....etc?
    I've only messed around a little with Bridge. But to me it seems lightening fast by comparison to EO. The features Albums and Tags in EO seem much the same as Collections and Keywords in Bridge.
    EO has Face Recognition abilities - getting more sophisticated in each version. I've not seen this feature in Bridge.
    By default EO allows you to open a file in any of:
    Photoshop
    Photoshop Elements
    Premiere Elements
    A single used-defined application (I have mine set to ColorPilot).
    Bridge only seems to link to Photoshop.
    Missing files can be located manually or by allowing EO to search for them.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • Zen Microphoto NEWBIE question about batt

    Hey, I was wondering how many bars of battery life are displayed on the top right screen. Because I'm just wondering if these are bars of battery life or is my battery life dramatically fluctuating up and down. Also my other question is firmware version .20.0 the lastest firmware because I can't update with version 2. firmware updates shown available in my creative MediaSource's software updates list. Mediasource says something about needing prerequisite firmware and that it can't connect to my device. So I'm thinking I may not need it since v..20.0 was released not to long ago.
    Any help or advice much appreciated.Message Edited by DevinB on 02-2-2006 06:07 AM

    The battery indicator is not in "bars" like the Micro ... it is solid green ... I haven't counted how many "steps" it has, though.
    Firmware .20.0 is the latest firmware for the MicroPhoto ... there is no Version 2 of the firmware as of now. Perhaps you have it confused with the Zen Micro firmware? They're both different.
    HTH some ...

  • Question about Messages application and AIM.

    Hello, I purchased my first apple device last year (iphone) at which point I created an iCloud account and received an @me email address. This is also my Apple ID. Later in the year Apple also gave me an @icloud email like everyone else. I am enjoying my iphone very much and this year I decide to purchase my first os x device (macbook) soon. This is what leaves me to my following questions:
    1. I wish to use the Messages application just for iMessage and not AIM or any other IM service. It is my understanding that about 2 years ago .mac and mobileme users were having AOL create Lifestream profiles for them without pemission. Now I have never been a .mac or mobileme user and only signed up icloud last year as previously stated. I just want to know if AOL is still creating these profiles and if they affect icloud users? I could not find any information about this issue being resolved. Would using the Messages applicaton just for imessage have the risk of having my icloud email have a Lifestream profile created for it?
    2. I am aware that when setting up my macbook for the first time it will ask to sign in to with your apple id and then into icloud. I plan to do this. I am told that this will make me signed into imessage automatically in the Messages application. What I want to know is if this will make me sign into AIM automaticlly too? I have no intention of ever using AIM so I hope this is not the case.
    I hope I have made myself clear as English is not my fist language. Any help with these questions is greatly appreciated. Thank you.

    Hi,
    The last bit first.
    iChat was the application used before Mountain Lion and Messages.
    It could only join the AIM, Jabber and in iChat 6 the Yahoo services.
    These are Instant Messaging services so the text sent between you and a Buddy tend to be referred to as IMs.
    The AIM site I linked to above has an Option (when you can log in there)  that allows your to turn this AIM feature Off.
    Some Jabber servers can do it but it tends to be an option the person running the Jabber decides to do or not.
    If a Server is set up to allow Off Line Messaging then those have to be stored.
    These can  a concern for the person running the server; either with storage space in the first place and for issues around governments want to "see" the data.
    A part of the iChat and Messages apps perform a "Listening" function when you turn your computer On but do not launch the App.
    This Listening will start up the App if anyone send you an iMessage  and AIM or Jabber message.
    However this function of Messages can be turned Off.
    This pic was created for something else but you can see the second line down is about setting the Status to Offline when the App is Quit.
    This effectively stops the App doing the Listening.
    Back to the Lifestream issue.
    I am not sure what triggers the Lifestream to be set up.
    I used a Search on the Lifestream site for my main AIM Name (which I can set the Lifestream to Privacy > No-one) and for my @me.com one which I cannot log in to the AIM settings site.
    I cannot see anything returned in either case.
    I also tried when Logged in under my main AIM name and got this form my @me.com ID
    I think that when AOL/AIM started Lifestream all those people that had AIM and AIM valid Screen Names were included in Lifestream.
    It may now be different and you may have to sign up for it.
    There seems to be a set up page.
    It would seem that my @me.com ID and @icloud.com ID have not been set up for Lifestream where as my AIM account (Main AIM Name as I call it) was set up in the beginning.
    I am afraid I don't have any clearer information than that on this part of your enquiry.
    8:03 pm      Friday; October 25, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Newbie Questions About Installing Windows with Boot Camp

    The only reason I want to use Windows is to be able to download games from the internet that are not made for Mac only for PC and I have a few questions:
    1. Doing all this installation will anything made for PC work?
    2. I only have Windows XP will that work? And then do all the SP updates after it's installed?
    3. If I have to use Windows XP SP2 is this one a good one to buy?
    http://www.cdsfu.com/index.php?categoryID=87
    4. After everything is installed do I have to use an anti-virus?
    I want to thank you for your help as you can see I really am a newbie.
    Karen

    Hi Karen and welcome to Discussions,
    The only reason I want to use Windows is to be able to download games from the internet that are not made for Mac only for PC and I have a few questions:
    1. Doing all this installation will anything made for PC work?
    Nearly anything. There are some Windows programs using hardware dongles that don't run.
    2. I only have Windows XP will that work? And then do all the SP updates after it's installed?
    You need a Windows XP CD with at least Service Pack 2 (SP2) incorporated.
    3. If I have to use Windows XP SP2 is this one a good one to buy?
    http://www.cdsfu.com/index.php?categoryID=87
    another user round here had already asked about that website.
    Three things about this offer are, at least to me, very suspicious:
    "Microsoft Windows XP Professional Edition With SP2, Full Version on CDR"
    Microsoft never has used CD-R disc (CD-Recordable) for Windows
    "software that does NOT include any COA label or a sticker from the manufacturer"
    There always has to be a sticker, that one puts on the computer on which the Windows license is installed and a COA label as well.
    "VOLUME LICENSE INCLUDED"
    A volume license, from my understanding, was only sold to companys, who install Windows on a larger scale (hundreds of computers) and for that purpose are given only one license-key for all installations.
    Usually this is known as a'corporate license'.
    All in all, I would personally stay away from this offer. It simply doesn't sound legal to me.
    4. After everything is installed do I have to use an anti-virus?
    When running Windows a decent Anti-Virus software is a must.
    I want to thank you for your help as you can see I really am a newbie.
    You're welcome anytime. Hope it helps.
    Karen
    Regards
    Stefan

  • Questions about message logging and topic TTL

    We're in the final stages of testing our application. Basically a producer application is sending small, non-persistent messages once every 10 seconds and once every second to an auto-created topic. The consumer application(s) listening are then doing data display of this 1 second and 10 second data.
    Testing the client we noticed it complained of a single 10 second message not being received. We verified that the message was sent by the producer. My question is whether there is a logging setting on the IMQ server that could be used to log the receipt and delivery of every message, perhaps by JMSMessageID to a particular topic? The only idea we could think of is to use 'imqcmd metrics' to track the number of messages in/out, but this isn't as useful for us.
    Any ideas you could provide would be greatly appreciated.

    imqbrokerd does not support tracing at this level, so metrics is probably the best approach for now.
    If a subscriber is not getting a message it is usually because of one of the following:
    1. The message is expiring. If you are using message expiration make sure the clocks are synchronized between the clients and the server. imqbrokerd will log a message when it has expired messages.
    2. The subscriber was down when the message was produced (and it is not a durable subscriber).
    3. You have set a size limit on the destination or system wide that is resulting in messages being shedded as specified by the limit behavior.
    With non-persistent messages you can get an additional level of reliability by setting the following ConnectionFactory property to true:
    ConnectionConfiguration.imqAckOnProducethis adds a handshake between the server and client when a message is sent and provides a mechanism for imqbrokerd to propogate additional message production errors back to the client.
    The following document at sunsolve.sun.com provides more details:
    ID70117 Sun Java[TM] System Message Queue: Tuning 3.0.1 and 3.5 For Robustness
    Joe
    http://wwws.sun.com/software/products/message_queue/

  • Newbie question about setting up iTunes to sync across multiple computers

    Hi,
    Right now I am using iTunes primarily for listening to streaming radio. However in about 2-3 weeks after I move, I am considering importing all my CDs into iTunes.
    So my question is this. What can I do before I start that will make my life easier for syncing my iTunes across multiple computers.
    I don't expect the computers to connect to each via internet but I do have a 4 GB flash disk and 230 GB firewire drive that could be used. And since one of the computers is MacBook Pro, I could use it in target mode I think.
    Thanks.

    Authorization only applies to computers. When you update a device any protected content on the device for which the library is not authorised will be removed. Otherwise no attempt is made to remove content that was added by a now deauthorised library.
    There is a separate scheme permitting up to 10 devices (computers, iPhones, iPad or iPod touches) to be registered for automatic downloads of your purchases with a different mechanism for deregistering devices.
    Once you have a file on your computer you can physically copy it to any other computer in the same way that you would copy any other file like a Word document, put it on a disk, email it if not too large, burn it to DVD, stick it on an external hard drive or move it over a network. You can use Get Info. To tell you where it is now and you can drop it into the library at the other end.
    The user tip shows how to backup the whole library and then update that backup efficiently. Such a backup to a portable drive also provides a possible tool for transporting any content to another computer.
    tt2

  • Please, help a newbie:  Question about animating expanding containers

    Hi All,
    Short Version of my Question:
    I'm making a media player that needs to have an animation for panels sliding up and down and left and right, and the method I've been using to do this performs far slower than the speed I believe is possible, and required. What is a fast way to make a high performance animation for such an application?
    Details:
    So far, to do the animation, I've been using JSplitPanes and changing the position of the divider in a loop and calling paintImmediately or paintDirtyRegion like so:
    public void animateDividerLocation( JSplitPane j, int to, int direction) {
    for(int i=j.getDividerLocation(); i>=to; i-=JUMP_SIZE) {
    j.setDividerLocation(i);
    j.validate();
    j.paintImmediately(0, 0, j.getWidth(), j.getHeight());
    The validate and paintImmediately calls have been necessary to see any changes while the loop is going. I.e., if those calls are left out, the components appear to just skip right to where they were supposed to animate to, without having been animated at all.
    The animation requirement is pretty simple. Basically, the application looks like it has 3 panels. One on the right, one on the left, and a toolbar at the bottom. The animation just needs to make the panels expand and contract.
    Currenly, the animation only gets about, say, 4 frames a second on the 800 MHz Transmeta Crusoe processor, 114 MB Ram, Windows 2000 machine I must use (to approximate the performance of the processor I'll be using, which will run embedded Linux), even though I've taken most of the visible components out of the JPanels during the animation. I don't think this has to do with RAM reaching capacity, as the harddrive light does not light up often. Even if this were the case, the animation goes also goes slow (about 13 frames a second) on my 3 GHz P4 Windows XP if I keeps some JButtons, images etc., inside the JPanels. I get about 50 frames/sec on my 3 GHz P4, if I take most of the JButtons out, as I do for the 800 MHz processor. This is sufficient to animate the panels 400 pixels across the screen at 20 pixels per jump, but it isn't fast or smooth enough to animate across 400 pixels moving at 4 pixel jumps. I know 50 frames/sec is generally considered fast, but in this case, there is hardly anything changing on the screen (hardly any dirty pixels per new frame) and so I'd expect there to be some way to make the animation go much faster and smoother, since I've seen games and other application do much more much faster and much smoother.
    I'm hoping someone can suggest a different, faster way to do the animation I require. Perhaps using the JSplitPane trick is not a good idea in terms of performance. Perhaps there are some tricks I can apply to my JSplitPane trick?
    I haven't been using any fancy tricks - no double buffering, volatile images, canvas or other animation speed techniques. I haven't ever used any of those things as I'm fairly new to Swing and the 2D API. Actually I've read somewhere that Swing does double buffering without being told to, if I understood what I read. Is doing double buffering explicitly still required? And, if I do need to use double buffering or canvas or volatile images or anything else, I'm not sure how I would apply those techiniques to my problem, since I'm not animating a static image around the screen, but rather a set of containers (JSplitPanes and JPanels, mostly) and components (mostly JButtons) that often get re-adjusted or expanded as they are being animated. Do I need to get the Graphics object of the top container (would that contain the graphics objects for all the contained components?) and then double buffer, volatile image it, do the animation on a canvas, or something like that? Or what?
    Thanks you SO much for any help!
    Cortar
    Related Issues(?) (Secondary concerns):
    Although there are only three main panels, the actual number of GUI components I'm using, during the time of animation, is about 20 JPanels/JSplitPanes and 10 JButtons. Among the JPanels and the JSplitPanes, only a few JPanels are set to visible. I, for one, don't think this higher number of components is what is slowing me down, as I've tried taking out some components on my 3GHz machine and it didn't seem to affect performance much, if any. Am I wrong? Will minimizing components be among the necessary steps towards better performance?
    Anyhow, the total number of JContainers that the application creates (mostly JPanels) is perhaps less than 100, and the total number of JComponents created (mostly JButtons and ImageIcons) is less than 200. The application somehow manages to use up 50 MBs RAM. Why? Without looking at the code, can anyone offer a FAQ type of answer to this?

    You can comment out the lines that add buttons to the panels to see the behavior with empty panels.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.Timer;
    public class DancingPanels
        static GridBagLayout gridbag = new GridBagLayout();
        static Timer timer;
        static int delay = 40;
        static int weightInc = 50;
        static boolean goLeft = false;
        public static void main(String[] args)
            final GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.weighty = 1.0;
            gbc.fill = gbc.HORIZONTAL;
            final JPanel leftPanel = new JPanel(gridbag);
            leftPanel.setBackground(Color.blue);
            gbc.insets = new Insets(0,30,0,30);
            leftPanel.add(new JButton("1"), gbc);
            leftPanel.add(new JButton("2"), gbc);
            final JPanel rightPanel = new JPanel(gridbag);
            rightPanel.setBackground(Color.yellow);
            gbc.insets = new Insets(30,50,30,50);
            gbc.gridwidth = gbc.REMAINDER;
            rightPanel.add(new JButton("3"), gbc);
            rightPanel.add(new JButton("4"), gbc);
            final JPanel panel = new JPanel(gridbag);
            gbc.fill = gbc.BOTH;
            gbc.insets = new Insets(0,0,0,0);
            gbc.gridwidth = gbc.RELATIVE;
            panel.add(leftPanel, gbc);
            gbc.gridwidth = gbc.REMAINDER;
            panel.add(rightPanel, gbc);
            timer = new Timer(delay, new ActionListener()
                    gbc.fill = gbc.BOTH;
                    gbc.gridwidth = 1;
                public void actionPerformed(ActionEvent e)
                    double[] w = cycleWeights();
                    gbc.weightx = w[0];
                    gridbag.setConstraints(leftPanel, gbc);
                    gbc.weightx = w[1];
                    gridbag.setConstraints(rightPanel, gbc);
                    panel.revalidate();
                    panel.repaint();
            JFrame f = new JFrame("Dancing Panels");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(panel);
            f.setSize(400,300);
            f.setLocation(200,200);
            f.setVisible(true);
            timer.start();
        private static double[] cycleWeights()
            if(goLeft)
                weightInc--;
            else
                weightInc++;
            if(weightInc > 100)
                weightInc = 100;
                goLeft = true;
            if(weightInc < 0)
                weightInc = 0;
                goLeft = false;
            double wLeft = weightInc/ 100.0;
            double wRight = (100 - weightInc)/100.0;
            return new double[]{wLeft, wRight};
    }

Maybe you are looking for

  • UK Payroll implementation

    Hi friends, People who worked on UK/Any country payroll ,plz advice. I have not worked on any payroll..but got an implmt Project of UK payroll. Though i hav worked on OM,PA,Time implmet is it Possible to do this job? regards Soumya

  • CONFUSE

    Hello, i am having big confusion about the mandatory fields of fico tables, i asked the question regarding the same in expert somebody told me that mandatory fields are already clikmark in the filed of key/intial there i am having doubt that ok some

  • I need help turning on my iPhone

    i need help turning on my iPhone

  • Error when the wrapper vast response is empty

    Hi, When the targeted adserver returns an empty vast response through the Wrapper/VASTAdTagURI tag, the error below is triggered : TypeError: Error #1010: A term is undefined and has no properties.           at org.osmf.vast.parser::VAST2Parser/get a

  • Error when we tried to increase limits for Property of type string

    hi, Actually initially we were getting error when we were trying to add content for property of type string of character length greater than 255. After that we increase size for that property in pointbase from 250 to 1000 and that works. But when we