Advice for the day: Never directly create a JFrame again

In TUS , my open source project, you can find a class
tjacobs.ui.util.WindowUtilities
Using WindowUtilities, you can take any component, image, etc and call
WindowUtilities.visualize(...)
And voila! It's done. Windows will tile, and the program will exit when all windows are closed (can be turned off in WindowTiler)

Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
Doing a cross  join between my original resultset that had two dates:
08/27/2010
10/24/2011
and a calendar table that has 24 rows (each month for a two year period)
my new resultset looks like this:
I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
the Months Assigned value must be greater than or equal to the date assigned value.
Any advice would be appreciated.

Similar Messages

  • I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  What can I do? Help please.

    I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  It does not give me the shelf to choose what book I want to read - goes directly to the first book. What can I do? Help please.

    There should be a Library button on the top left. If not ap the middle of the screen to get it to appear.

  • Item availability for selected items and directly create the delivery

    Hi All,
    For a very big sales order ..lets say having 700 line items ...is there any convenient way to create the delivery for selected items ..e.g. 30-40 line items rather going and selecting the line items then doing the item availability.
    do you have any LSMW format by which we can do the item availability for selected items and directly create the delivery.
    kindly Guide me..
    With Regards
    Azeez.Mohd

    Hi ,
    There is no stand way of doing it . You need to take help of abaper to do this :
    1. Create a t code where if you give sale order number , it displays a report with all the items with a check box near to it as we see in SE16 .
    2. This report could be best in ALV form where users can do "ctr+f" and search only the required materials then select those lines and press a button on the top of report .
    3. Once the button is pressed , program will run vL01n ( create delv in backgrnd) in a BDC form . At time of delev creating , the bdc program in backgrnd uses only those items which were selected by user and not the other items .
    4. Program will create a delv using a BDC in background and return the delv number for user to view tht.
    U can also try using FM : RV_DELIVERY_CREATE to create delv in backgrnd after user selection if BDC is getting tricky.
    Hopefully ,this shuld work and will be a easy process for the customers.
    Let us know the outcome .. .
    B O L ..
    Hope this Helps !!!

  • When setting the split-days to "every 15 minutes," the week and comparison views show incorrect time ranges for the day

    When I change the "split-days" interval time, under Options > Settings, to
    15, or every 15 minutes, the week and comparison views don't show the correct
    time range for the day.
    <P>
    For example, if I click View to display the calendar and then click Week to get
    a weekly view, the time range displayed is from 6:00 a.m.
    to 4:00 p.m. If I click Comparison to get a
    comparison view, the time range displayed is from 12 p.m.
    to 6:45 p.m.
    <P>
    In this example, should both of these views show the same time range, from
    9:00 a.m. to 4:00 p.m.?
    No, the two views will not necessarily show the same time range. The time
    range for the comparison view will start at the beginning prefs time only
    if you have something scheduled (on any day of the week) starting at that
    time. For example, on one of the days during your week of comparison, if you
    create an event that starts at 9:00 a.m. and then open the comparison view, the
    time range displayed will start with 9:00 a.m.
    <P>
    Additionally, view times will expand past the configured settings if events
    span past the time range. That is, if you have an event that spans from
    5:00 p.m. to 8:00 p.m., the event will be reflected in the view, even though
    your time range may be set to go only to 6:00 p.m.

    Umm yes.
    The settings are stored in ''prefs.js'', so you could swap various copies of this file in and out.
    However, the system will load ''prefs.js'', then, if present, ''user.js'' , so you can set up just your changes in ''user.js'' .
    The sort of line you need to look for is like this:
    <code>user_pref("mail.server.server14.check_time", 10);</code>
    You'll need to do some research to identify which of your accounts is which.
    Search for the account's email address:
    <code>user_pref("mail.identity.id10.useremail", "xenos&#64;example.com");</code>
    Use the id number to locate the account number:
    <code>user_pref("mail.account.account29.identities", "id10");</code>
    Use the account number to find the server number:
    <code>user_pref("mail.account.account29.server", "server14");</code>
    Finally, you can then use the server number find the account's time setting:
    <code>user_pref("mail.server.server14.check_time", 10);</code>
    This last entry may not exist, if you have never changed the setting from the default 10 minutes.
    Do be careful with your typing and copy/pasting; if the file fails the syntax parser it will silently fail.
    And make sure Thunderbird is shut down when you do the swap. If it's open, it may overwrite changes, and in any case, it only reads the settings file when it starts up.

  • I want to accumulate rain for the day, month and year; What formula can I use?

    I want to accumulate rain for the day, month and year; What formula or expression can I use.
    I am using a Rain Wise product that converts pulses to an analog value.  The Rain Wise device can be
    set to measure up to 1", 5", or 10".  I will be setting the unit to 10 inches in increments of 0.01 inches.
    What I would like to do is everytime the signal increments I would like to count it as 0.01 then after reaching
    a period of time whether it be a day or a month reset back to zero.
    Need some advise on this problem.
    Solved!
    Go to Solution.

    Hello Ryan,
    Lookout gets a Modbus over Ethernet signal which originates as a 4-20mA input to a Moxa Ethernet I/O Module (E1240) in the field.  In Lookout I created a ModbusEthernet Driver and a tag which scales 0 - 65534 RAW to 0-10 Eng.  [0 - 10 is inches of rain]  Also, another piece of information is that after the rain gauge maxes out at 10 inches it will zero out and start over.
    I though the accumulator was time based and took a sample over a specific time period, for instance, one sample every 30 seconds then accumulate.  If this is so then if I have 5 inches of rain and then it stopped raining, then 30 seconds latter it would sample, it would see 5 inches and add that to be 10 inches when actually it had only rained 5 inches. 
    I really need some help with this process,
    David Lopez
    City of Corpus Christi

  • I would like to add content that changes on a calendar basis, such as 'thought for the day". It can then display a different text or image on a nominated day. Can this be done? Robert.

    I would like to add content that changes on a calendar basis, such as 'thought for the day". It can then display a different text or image on a nominated day. Can this be done? Robert.

    OK Thanks Brad.
    I could use Tockify of course, but wanted to create the same things on an existing site.
    I do not know how to copy the code and get it onto Muse, but that’s OK for now. I will work something else out.
    Robert

  • Range Partitioning for the day of the week

    I have a logging table which i want to partition into 7 partition, each one for the day of the week, eg MON,TUE, WED. I am aware and I can do a list partition by creating a parition key which stores 'DY' of the week and this means that I need to add another column to the existing table.
    I wanted to explore the option of creating a range parition based on the timestamp column that already exists. Can anyone let me know if this option is possible?
    Example
    create table test_partition
    ( log_id number,
    log_date TIMESTAMP(6),
    log_value varchar2(100)
    PARTITION BY RANGE (log_date)
    PARTITION p1_mon VALUES LESS THAN (), ---- Not sure what can be used here to create this parition.
    PARTITION p2_tue VALUES LESS THAN (),
    PARTITION p3_wed VALUES LESS THAN (),
    PARTITION p4_thu VALUES LESS THAN (),
    PARTITION p5_fri VALUES LESS THAN (),
    PARTITION p6_sat VALUES LESS THAN (),
    PARTITION p7_sun VALUES LESS THAN ()
    Any oracle guru with some suggestion for this would be highly appreciated..
    Cheers,
    VJ

    VJ,
    Here is an example of daily partitioning , let me know if this is what you want or you can modify this even to weekly, monthly, quarterly and yearly partitions.
    CREATE TABLE YY_EVENT
      PART_KEY       DATE                           NOT NULL,
      SUBPART_VALUE  NUMBER                             NULL,
      EVENT_NAME     VARCHAR2(30 BYTE)                  NULL,
      EVENT_VALUE    NUMBER                             NULL
    TABLESPACE TEST_DATA
    PARTITION BY RANGE (PART_KEY)
      PARTITION Y_EVENT_20090310 VALUES LESS THAN (TO_DATE(' 2009-03-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        LOGGING
        NOCOMPRESS
        TABLESPACE TEST_DATA, 
      PARTITION Y_EVENT_20090311 VALUES LESS THAN (TO_DATE(' 2009-03-12 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        LOGGING
        NOCOMPRESS
        TABLESPACE TEST_DATA
    )Regards

  • Display all calendar events for the day in notification centre

    Hi there apple community,
    I was hoping someone could point me in the right direction. I can only see a couple events in notification centre. I was hoping there is a way to show all the events for the day in notification centre.
    Thank you for any help you can give me!

    I want my events and birthdays there... please help me...
    Thanks

  • Query to get the details of Blocking and deadlock occurred for the Day

    Hi,
       I need a query to get the details of blocking and deadlock occurred for the day.

    You havent specified which version of SQL you are using which makes it difficult to give a solution. Assuming its latest versions , by default SQL Server (in any versions) doesnt track blocking information.
    You need to run some kind of queries/traces to capture blocking. The same goes with Deadlocks where majority of the DBA's enable trace flag 1222/1205 when they suspect deadlocks happening.
    Check this link -
    http://dba.stackexchange.com/questions/10644/deadlock-error-isnt-returning-the-deadlock-sql/10646#10646
    This link gives code to get historic deadlock information. I havent used it , I just googled to get that.
    That being said if you are looking for something to capture for the future check the below links.
    Check these links on how to setup extended events to capture deadlock and blocking.
    http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/12/21/an-xevent-a-day-21-of-31-the-future-tracking-blocking-in-denali.aspx
    http://blogs.msdn.com/b/sqlserverfaq/archive/2013/04/27/an-in-depth-look-at-sql-server-memory-part-2.aspx
    http://blogs.technet.com/b/mspfe/archive/2012/06/28/how_2d00_to_2d00_monitor_2d00_deadlocks_2d00_in_2d00_sql_2d00_server.aspx
    HTH
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Depreciation for the Day

    Hi
    In Asset Accounting; how to caluculate Depreciation for the Day. pls guide me with illustration.
    Thanks
    Niranjan

    Hi
    did you try 'Dep to the day' option in AFAMA for the depreciation key in the Asset class/master
    Thank You,

  • I keep getting a message pop up the first time I open Photoshop CC for the day, "we sorry, we can't connect to adobe server at this time...I followed instructions to turn off my antivirus and firewall, then open it. But the problem still remains. What can

    I keep getting a message pop up the first time I open Photoshop CC for the day, "we sorry, we can't connect to adobe server at this time...I followed instructions to turn off my antivirus and firewall, then open it. But the problem still remains. What can be done?

    Moving this discussion to the Creative Cloud Download & Install forum.
    R.O.B. please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for information on how to resolve the connection error between the computer and our activation server.

  • Power down for the day

    Hi, when I'm done with my laptop for the day, should I just close it or should I be shutting it down with the power button?

    Hi A,
    Either way is fine. There is no "correct" way. I used to just let mine sleep all the time, for years. Now I shut it down for security reasons.

  • Automatically switches me to different apple store! I am using UAE store , but now it says I am using Singapore! But when I go to apple store and change it to UAE again , it charges 1 dhs and it work for the day. It behaves differently the next time ?

    Automatically switches me to different apple store! I am using UAE store , but now it says I am using Singapore! But when I go to apple store and change it to UAE again , it charges 1 dhs and it work for the day. It behaves differently the next time ?

    Where did you buy the iPad and register your iTunes account? What country is the credit card you used when you set up your iTunes account?  Where are you now?
     Cheers, Tom

  • Temporary cancel a recurring alarm for the day?

    Is it possible to cancel a recurring alarm for the day? For instance, if I wake up early before the alarm goes off, I'd like to cancel the alarm from going off just for that morning. For now, I simply disable the alarm when I get up and then enable it again later in the night before I go to sleep. The problem with this is that I sometimes forget to enable it again.
    Maybe the iOS clock app doesn't have this function but perhaps there are other alarm clock apps that can do this?

    The following may help: http://help.pandora.com/customer/portal/articles/772231-manage-your-pandora-one- subscription-on-ios-devices

  • How do I choose which items appear when I open my Imac for the day?

    How do I choose which items appear on the screen when I open my Imac (intel) for the day, after shutting down the night before? Thank you. ArmandL

    There are two ways. Mt Lion and Lion have a feature that launches all programs that were running when you logged out or shut down. You can toggle this feature on and off when you shutdown/log out. Or you can set up login items in your user settings which will automatically launch any program you set there. To do this launch System Preferences, select Users and Groups and click on the Login Items but near the top part of the dialog. Click on the + button to add programs you want to be launched when you login or start up the computer.

Maybe you are looking for