Is it right way to nest HBox and VBox for screen design ?

Hi,
I am designing main screen of my application which contains lots of HBox and VBox.
Which makes application slow and complicated.
So is there any other way of doing it?
Thanks.

Grid layout? (still in preview)
MiGLayout in JFXtras? (still in beta for 1.3, AFAIK)
[Custom Layout|http://learnjavafx.typepad.com/weblog/2010/05/a-javafx-13-custom-layout-example.html]? (hard...)

Similar Messages

  • Does a new customer buying creative cloud include download and use of Photoshop, Fireworks, Bridge and Acrobat for one designer/individual?

    Does a new customer buying creative cloud include download and use of Photoshop, Fireworks, Bridge and Acrobat for one designer/individual?

    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    -http://www.adobe.com/products/catalog/mobile._sl_id-contentfilter_sl_catalog_sl_mobiledevi ces.html

  • What is the right way to change the active JInternalFrame for and MDI app?

    I am working on my own implementation of the window menu. The action that is triggered when a customer chooses a window to activate from the list in the menu is not behaving as I expected. The code I wrote (below) switches frames correctly but the caption bar never gets updated and if you restore a frame from an icon the frame is not correctly activated, there is even a restore button which if you push fixes things up and the frame then behaves normally     if (frameToActivate.isIcon ())  {
              //  Restore from icon
              desktopPane().getDesktopManager().deiconifyFrame (frameToActivate);
         desktopPane().getDesktopManager().activateFrame (frameToActivate);
         desktopPane().setSelectedFrame (frameToActivate);I did a search of the web and found a tip on JavaWorld (http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-mdi.html) which led me to try doing this from a different angle - the JInternalFrame's point of view. This code works     try {
              if (frameToActivate.isIcon ())  {
                   //  Restore from icon
                   frameToActivate.setIcon (false);
              frameToActivate.moveToFront();
              frameToActivate.setSelected (true);
         } catch (PropertyVetoException error) {
              error.printStackTrace();
         }My question is why does the desktop based approach not work? If methods exist that appear to let you restore and switch between frames why are the ineffective? Am I missing something obvious that I should be doing?
    If using the JInternalFrame methods is the right way to go then I will It just seems like if the DesktopManager has methods that advertise that is supports managing the active frame then they should work. Before I ignore them I want to check with you to see if there is a right way to use them.
    Ian

    So, this is another batch of duke dollars I cannot assign - since I solved my own problem:-)
    I had an epiphany and tried setting break points to see what code was executed when you click on an inactive frame. From that I determined that DefaultDesktopManager.activateFrame, as implemented, does not activate the frame but acknowledges the activation of a frame and does a small amount of bookeeping work for the DesktopManager. So, the solution is the code I wrote to switch focus using the JInternalFrame's methods. Since I did not want to have to write those nine lines of code in the couple of places I want to programmatically switch the active frame I added a get/setActiveFrame method to my JDesktopPane derivative. In case others face this problem here is the code (warning I have not yet setup building the JavaDocs for this project so I cannot vouch for the validity of the JavaDoc, but the code does work):/**
    * Bring frameToActivate to the front (restoring from icon if neccessary) and make it the
    * selected frame.  This method does all the things required to switch the active frame for
    * an MDI application unlike: @link JDesktopPane.setSelectedFrame, which does not change the
    * focus; @link javax.swing.DefaultDesktopManager.activateFrame which does not correctly
    * handle iconified frames or switch the focus properly; and
    * @link javax.swing.JInternalFramesetSelected which also does not handle iconified frames.
    * @param frameToActivate the frame to bring to the front and become the active window
    * @throws IllegalArgumentException
    public void setActiveFrame (JInternalFrame frameToActivate) throws IllegalArgumentException  {
        if (frameToActivate == null)
            throw new IllegalArgumentException ("setActiveFrame a frame must be passed a non null valie.");
        try {
            if (frameToActivate.isIcon ())  {
                //  Restore from icon
                frameToActivate.setIcon (false);
            frameToActivate.moveToFront();
            frameToActivate.setSelected (true);
        } catch (PropertyVetoException error) {
    * This method returns the currently active frame.  This method returns the same frame
    * as <code>getSelectedFrame</code> and is provided for symetry for <code>setActiveFrame</code>. 
    * @return the currently active frame
    * @see LDesktopPane.setActiveFrame
    * @see javax.swing.JDesktopPane.getSelectedFrame
    public JInternalFrame getActiveFrame ()  {
        return getSelectedFrame ();
    }IL

  • Right way to configure Tomcat JDBC resource for MaxDB

    Hi,
    i need to configure one tomcat server with a pool of connections for a MaxDB instance with follow database parameters:
    MAXUSERTASKS=150
    SESSION_TIMEOUT=60
    i do this configuration on tomcat:
    <Resource name="jdbc/myApp"
                    auth="Container"
                    type="javax.sql.DataSource"
                    username="DBUSER"
                    password="secret"
                    driverClassName="com.sap.dbtech.jdbc.DriverSapDB"
                    url="jdbc:sapdb://dbserver/DBNAME"
                    maxActive="150"
                    maxIdle="75"
                    validationQuery="SELECT NOW() FROM DBA.DUAL"/>
    is this the right way? there is a way to check if the pool is working at database side? at java side i checked that the javax.sql.DataSource.loginTimeout is Unavailable, then what is the better way to avoid errors like:
    2008-06-02 13:54:36  2165 WNG 11824 COMMUNIC Releasing  T187 command timeout
    i think that this problem occurs because the SESSION_TIMEOUT is 60, and the loginTimeout is Unavailable at javax.sql.DataSource then the DBCP of tomcat dont know when need to revalidate the session.
    thanks for any help.
    Clóvis

    Hi Clovis,
    to be honest, I'm no Tomcat expert at all. All I can do is read the documentation.
    The error message you posted was about an timeout due to a too long idle session.
    From the changes in your connection pool setup I cannot see any parameter that would influence this.
    Instead - as already written - you may either want to change the session timeout in general, for the user or (by adding some connection parameters) for the sessions.
    Concerning the question on wether it's better to have many connections or just a few - well this depends on what the java tasks do with the sessions.
    The connection pool is used for saving resources on the database side and the time necessary to logon and create a session.
    So whenever any of the java tasks needs a db connections it should "just get one" from the pool.
    When you have "high load" (by the way what exactly does that mean? High CPU usage on the J2EE server? Huge transaction volume? Many parallel transactions?) this does not change.
    Anyhow you have to be aware of the fact that the database can only process as many SQL requests in parallel as there are user kernel threads (UKTs) and each of the UKTs need to be able to run on a seperate CPU core. Therefore if it's necessary to have real parallel SQL activity many connections may not be the best idea.
    On the other hand this requirement is seldom necessary - most often sessions can wait a bit until they get the reply from the database and synchronize on each other later on. At least that's how we do it with NetWeaver.
    KR Lars

  • Halftones and dpi for screen printing

    I am creating a halftone effect on a black and white picture for screen printing, using photoshop.  I know about where to place my LPI, however, Im not sure where I should put my DPI.   If anyone can help with some advice, I would appreciate it.   I was also curious if i should some how put it illustrator, and vectorize it, or just print transparencies straight from photoshop.
    Thanks

    There's no need to go to Illustrator with the photo.  You can print from Photoshop using the 1-bit halftone.  The thing that you have to keep in mind is not so much DPI ( which is an output resolution ), but the actual screen mesh used for the actual screen printing.  You also have to figure "screen angles" into the matrix because the screen angles are affected by not only the grament material, but the screen mesh, too.  So, I would recommend contacting the printer and finding out what screen frequency ( LPi / lines per inch ) will work best on the type of garment you are planning to print-on and ask the printer what mesh they plan to use for your job.  I've seen 35 LPi halftones; I've also seen 65 LPi halftones.  The finer the screen mesh, the higher the LPi.  Tell the printer you have a 2-color job printing halftones and you need to know what LPi and what angles to use for color #1, and color #2.  Then, you can input that information into the separation halftone files in Photoshop.  Remember to discuss the garment type ( thread count ) and the mesh of the screen.  If the printer is good and knows what they are doing, they will give you everything you need to know.  If they do not, they'll refuse the job.

  • What is the right way to do a sysprep Image for Windows 7 and 8

    Hi,
    i´d like to know which way is the right one to do a sysprepp from an System with Windows 7/8.
    Is it ok when I install the system with all drivers/patches etc. and after that I will open a command prompt with admin rights and choose the settings OOBE and Genrealize and Shutdown.
    After that I create an Image with ImageX or Acronis and I´m ready to deplay it right? The local user which I created during the installaton should stay as an Supportuser. 
    So is ok or is there something wrong. Microsoft itself shows this way here:
    http://technet.microsoft.com/en-us/windows/ee530017.aspx
    But they write a lot of other faq´s where they discribe other ways. So what is now right and wrong?
    Please don´t le my die stupid ;)
    Regards,
    The Core

    Hi,
    Any update here? Have you checked the links above?
    Regarding your concern, it is OK to install the drivers or patches before you Genrealize the image. And if we want to keep the drivers during sysprep in order to use it on the computers with the same hardware configuration, we should specify
    PersistAllDeviceInstalls  to true.
    Important: When you set up your reference computer, Windows Setup installs drivers for any detected devices. By default, Windows Setup removes these drivers when you generalize the system. If you're deploying the image to computers that
    have the same hardware and devices, you'll want Windows Setup to reinstall these same drivers. To keep these drivers on the computer during system generalization, set the Microsoft-Windows-PnPSysprep |
    PersistAllDeviceInstalls setting to true.
    The video shows the general steps using sysprep and imagex to capture the image. If you have no special requirements for drivers, or some applications need to be specific, just follow the steps. OOBE is a simple booting process, and audit mode is a process
    to specific the image. More information, see:
    Customize Windows in Audit Mode
    Any other concerns?
    Best regards
    Michael Shao
    TechNet Community Support

  • "Right" way to mix SAX and DOM in app

    I'm writing a standalone desktop application that reads and stores data as XML files. Eventually, it might be converted to use some web services, but it's not a priority right now.
    What I need to do is to use an XML file, which could be large, as kind of a database -- there are many entries, each with a unique identifier, and the application will query the file to find those it needs to match and returns those as objects I'm mapping.
    At the moment, because this is a personal project and I'm using it to learn more technologies, I'm trying to (somewhat artificially) restrict myself to the pure Sun APIs. So far, my investigations have pointed to JAXP (by including Java EE 5 libraries) with StAX (including JAX-WS). Which raises two questions:
    1) To do this "right", do I really need to bundle my app with the entire JaveEE+Metro stack?
    2) Is there a better solution than StAX that's fully Java 5 compliant, even if it means stepping out of the Sun box? I haven't found many references to other solutions that are more recent than 2004. Is parsing XML on an app that has nothing to do with an appserver that uncommon?

    More likely than not, I won't be abstracting to that degree. If the current structure isn't right, I'd update the app instead of storing that kind of information in more files.
    I imagine at this point an example would be more effective. The app is itself more of an inventory browser that can jump around different searches dynamically. As an illustration, imagine that it's an inventory for DVDs. One central file will be your collection (with each entry containing a movie ID, date of purchase, etc). Another file would be more static, a list of DVDs themselves. These entries would contain information about the package itself -- how many discs? What's the title of the package? Which special features does it have? It would also point to an entry in yet another file which would have information about the film, containing biographies of the people listed under the movie credits.
    Basically, I want a flatfile database that I can do joins on that are split up into different files. There are few files (here, one) that will be constantly updated by the user. The others could be modified if needed, but it's not going to be optimized for it. (For example, you could own a DVD that nobody's ever heard of, and put in the info yourself.) Periodically, one or more of the more static files is updated and will be downloaded into the app.
    One of the advantages I see for this is that, in the future, I could with few changes turn this into more of a web service. Instead of pushing changes in those few files, the app would look to a web service for the data it would now find in files on the user's hard drive. But for now, it also has to be one standalone package.
    To answer the question, the file that will most commonly be updated by the user is the one that I don't have problems loading into memory in full. It's the other data that it links to which I want to be able to search and load into objects dynamically. My current implementation is to run the file through SAX and grab the data as it sees it, but it's really ugly. That could very well be how I'm using it and not because I'm trying to shoehorn some functionality into a technique it doesn't fit, but I'd like to find that out. ;)

  • What's the right way to export contents (and meta-info) for a playlist?

    I have a huge iTunes library and want to move a part of it onto a netbook (running a Linux music manager) with much less disk space. I can put the things I want to move into a separate playlist. Now, how do I export them onto a flashdrive (to move it to the other machine) such that things like album art, descriptive info, and other meta-data move along with it? Is it possible?
    Mike

    Does the netbook have a CD drive?
    nope, but I have a 4 gig thumbdrive to do the transfer with and the netbook has a 16 gig solid state disk in it.
    As far as I know, there's no easy way to do what you want to. If the netbook
    doesn't have a CD drive, I might reccommend burning a disc anyway. Make sure
    you select to burn a File CD, not a music CD. Then, put the CD in your
    computer (not the netbook) and copy the files to a Flash Drive. I might be
    able to find a better solution. I'll get back to you if I do.
    interesting. Does the "file CD" then contain metadata such as album art, lyrics, etc.? thanks!
    Mike

  • Lightroom cc way slower than Lr5 and struggling for simple cropping and panning

    I wonder if there is something wrong here. I have a decent machine (2500k overclocked to almost 5ghz, GTX570, 8Gb ram, Lr installed on a SSD).
    LR5 served me well for a long time, and despite being slow at some tasks it was ok. On the other hand, LRcc offers very few new features and a big performance decrease.
    I'm editing some 20mp canon raw files, and the simple task or cropping/rotating/panning became a nightmare. It is slow and something appears to be very wrong when I try to recrop a virtual copy of an image. On top of moving very slowly, the crop rectangle sometimes keeps resetting its position and "refuses" to stay in the place I put it at.
    When I zoom and pan on library mode everything goes well, it only gets bad on developer mode. If I zoom 1:1 and have some adjustments made with the spot removal brush, it feels like I'm panning a gigantic file on a 20 year old computer. Even in a clean image with no adjustments at all, developer mode struggles badly to pan when zoomed.
    My catalog has around 40,000 files but it shouldn't matter when developing a single photo. Again, the same catalog was on LR5 and didn't have any of these issues.
    Checked the computer resources usage, and nothing is actually being forced to the limit. Total memory usage never goes above 5gb (out of 8gb) and processor usage doesn't raise above 40%. If feels that LRcc is not making proper use of the computing power available.

    Just replying to myself here, I tried turning off that option under Preferences>Performance to use my Graphics processor, and the the performance boosted immediately. Now it's on par with Lr5.
    I am using the 350.12 (latest as today) version of Nvidia driver with a GTX570. Apparently there is an issue on the way that LRcc uses my video card. I hope this gets fixed, but at least now my LRcc is usable.

  • The best way to connect wireless and wired for a WRT160N.

    It took me about 4 hours to find out how to connect wireless and wired to a network using model WRT160N.  Here is what I have done.  First install the CD when it says there is not connection connect your PC, Modem and router Andy any wireless are wired products, after that do what the linksys advisor tells your which is default.  When it gives you the security key write it down because you will need it for your wireless and wired Products.  Under security mode  type your SDD name and where key 1 is type your security password with was given to you.   Remember all you wireless products have to have the same SDD Like Linsys and all your wired products have to have a different name like Linsys2 but your Key 1 numbers has to stay the same.  That is all you have to do.  Remember that wireless and wired has to be in sequence.  That should do it.

    Hi David Hamilton1;
    I guess that all depends on how critical your data is in relation to how much time you want to spend doing the erasure. Those higher level erasure options can take a significant amount of time to complete. Personally I don't have anything on my Mac that I think is worth more time then a simple erasure even if that does leave it some what recoverable. To me it seems some people are going overboard on this issue.
    Allan

  • Defining roles and access for OWB Designer

    Hi,
    Can i Define roles and access rights to different on 1 OWB Designer repository?
    I want to send my mappings for code review but i dont want them to log into the OWB designer with write access.
    How can i achieve this in the same OWB designer repository as the one i am using?
    I am using OWB 10.1.
    I found some table - WMP_USER_ROLES,WMP_GROUP_ROLES,WMP_GROUP_REPOSITORIES
    when i logged into the designer schema through sqlplus
    Thanks
    Sagar

    Hi Sagar,
    Yes you can do that. Basically you can create a db user, and then register the user with a repository. By default that user has all privileges, however it now is audited per user as to what he/she did. How to do this look at the doc (find SecurityHelper)
    To enable you to protect metadata there are a couple of strategies (implemented via a simple PL/SQL API). For an example (this one works with policies on the module level) take a look here (http://www.oracle.com/technology/sample_code/products/warehouse/files/Dev_Status_Policy.SQL)
    This would work as follows:
    - Create user REVIEW
    - Register user REVIEW to repos QA
    - For a module you want review for, set the status to QA
    Now the REVIEW user logs in and he can look at QA but cannot touch.
    Hope this helps,
    Jean-Pierre
    In your situation

  • Conversion path and process for Output Designer 5.5 to ES

    Greetings,
    I am looking for information on how to convert Output Designer 5.5 .ifd files to LiveCycle ES files.
    Need to know if there are any barriers or pitfalls to be aware of and where can one get a copy of Output Designer 5.5?
    Thanks
    Rick Kuhlmann
    Tech-Pro

    Read this - LiveCycle ES2 * Adobe LiveCycle Designer ES2
    It says that 'you must install Output Designer 5.5 or later on the same computer as LiveCycle Designer' . Do you have Output designer also available on the same machine>
    - Varun

  • Sizing window and image for screen resolution

    Applet creates Frame that displays JPG or GIF image. Would like to size Frame, and zoom image, on basis of screen resolution, to avoid necessity to scroll image. How can applet or button or frame access screen resolution numbers? Thanks.

    Hi,
    Call this method. Pass the Frame as parameter
    <pre>
    public void centerFrame(Frame frame)
    //Center the window
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    if (frameSize.height > screenSize.height) {
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width) {
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.setVisible(true);
    </pre>
    Hope this solves ur problem
    Regards,
    Harsha
    [email protected]

  • Right way of configuring higher MTU over a Port Channel

    Hi guys,
    I have a running critical Port-Channel between two locations.
    Here's the config
    SW1:
    interface Port-channel2
     switchport
     switchport trunk encapsulation dot1q
     switchport mode trunk
    end
    interface GigabitEthernet1/45
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode active
    end
    interface GigabitEthernet1/46
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode active
    end
    SW2
    interface GigabitEthernet1/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode passive
    end
    interface GigabitEthernet1/2
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode passive
    end
    interface Port-channel2
     switchport
     switchport trunk encapsulation dot1q
     switchport mode trunk
    end
    Now I need to increase the MTU from default value to 9198. What the right way to do it and avoid any connectivity loss, PortChannel restart.
    Does it matter what switch I start first?
    Thanks!
    L.E. both SW are WS-C4948

    Hi,
    Because you are using layer 2 interfaces - there is no fragmentation support at layer 2, and interfaces receiving frames which have an unsupported size will be dropped.
    I think the best way for you to proceed is to lab this up; and verify what happens - it may be that you need to make changes on switches at either end of the channel within a very short time frame to prevent too large an outage.
     When you are ready to maike your change - think the best way to do this is to use the interface range command, and apply the 'mtu' command to all the interfaces in this range. I don't think it matters which switch you apply this change to first, and I don't believe if you are hinting at the 802.3ad (controlled by system-priority) decision maker, that it makes any difference.
    HTH
    Mike

  • Can any one suggest me useing right way for using cost centers

    Hello Guru's
    I am in implementation Projec, The client is in Depote Sales process, i just want to know about the cost cenetr and their importance we are creating 20 different cost centers is it really required to create 20 different cost centers, for integrations with MM And SD should i have to take one cost center per plant for Purcase and Sales related activites  are should i have to take different Cost Centers Purcase different and Sales different
    Can any one suggest which is the right way to use the cost center for integration
    Management     0010     DI10100010
    Finance & Accounts     0020     DI10100020
    HR and Personnel & Admin     0030     DI10100030
    Purchase - Equipment     0040     DI10100040
    Purchase - Parts     0050     DI10100050
    Purchase - General     0060     DI10100060
    Imports     0070     DI10100070
    Sales & Marketing - Equipment     0080     DI10100080
    Sales & Marketing - Parts     0090     DI10100090
    Sales - Miscalenous     0100     DI10100100
    Exports     0110     DI10100110
    Logistics     0120     DI10100120
    Services & Technical     0140     DI10100140
    Information Technology & Systems     0150     DI10100150
    Warehouse     0160     DI10100160
    Workshop      0170     DI10100170
    Workshop ( Repairs )     0180     DI10100180
    Production     0190     DI10100190
    Internal Audit     0200     DI10100200
    Legal     0210     DI10100210
    Training & Development     0220     DI10100220
    Research & Development     0230     DI10100230
    Moderator: Please, read basic SAP material on help.sap.com

    hi,
    my transaction is VL02N change outbound delivery.

Maybe you are looking for

  • Mapped Drive to a OS X Shared Folder won't play purchased videos in iTunes

    I have a MacBook Pro sharing out a folder where all my purchased movies are stored. I've got a Vista box to which I've added the full library. All the music has shown up, but none of the movies or TV shows. They won't play from the shared directory.

  • IPhone iOS4 update resulted in crash, require information on restore/backup

    Hi Apple Tech Support, During iPhone update from iOS4 to 4.2.1 (whatever is latest as of 1/02/11) my iPhone crashed and I am now unable to get into my iPhone (iTunes + usb cable logo appearing, iTunes prompting the device requires a restore) Am I abl

  • Help transferring

    Hello, I have a Ti Powerbook from like 5 1/2 years ago, i have just received my new new 17" macbook pro. When I started up the new macbook i choose not to transfer any info from my old mac via firewire. However I would like to have the same setup wit

  • Time machine backup with 1/2 gig external drive

    I use a 500mb external drive to back up my MacBook Pro.  It now says I have 15.2 gb free.  Can I erase the Passport and start again?  It says it needs 277.2 gb for a full back up.  I thought of seeing what was my latest full backup and off loaded int

  • IOS 4 question related to iWeb

    There's no iOS forum, so I thought I would post this here. Using iWeb '09 I have created a mobile webpage. On that page is a simple link to a business on Google Maps. With the previous version of the iPhone OS (i.e., prior to iOS 4), pressing on this