Best way to create multiple windows

Just for a learning experience i am trying to make an application that starts out as a window with a button.When you click the button it creates another window of the same size but with the no decorations. What would the best way to go about this be?
I tried making a class which extends Stage, but i cannot set the style property in it.

Just for a learning experience i am trying to make an application that starts out as a window with a button.When you click the button it creates another window of the same size but with the no decorations. What would the best way to go about this be?
I tried making a class which extends Stage, but i cannot set the style property in it.

Similar Messages

  • What's the best way to create multiple windows?

    I'm trying to write a program with Text fields and buttons on it which will open a completely different window with Text Fields and Buttons. The best thing I can find is JInternalFrame which creates a Frame inside of the window I'm working with. What do I need to use in order to make them separate?

    Exception occurred during event dispatching:
    java.lang.IllegalArgumentException: adding a window to a container
         at java.awt.Container.addImpl(Container.java:336)
         at java.awt.Container.add(Container.java:228)
         at beve.Frame5.actionPerformed(Frame5.java:181)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
         at java.awt.Component.processMouseEvent(Component.java:3715)
         at java.awt.Component.processEvent(Component.java:3544)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl(Component.java:2593)
         at java.awt.Container.dispatchEventImpl(Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
         at java.awt.Container.dispatchEventImpl(Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:914)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    I need to take off now but I'll check back later tonight. Thanks for the help everyone :)

  • Best way to create a Windows service from a LabVIEW executable​?

    What would be the best way to run a LabVIEW executable as a service? I needed this recently and I think I have set up such a service using srvany.exe from the Windows 2003 Resource Kit, but that seems like a bit of a hack. The Kit is not offically supported in Server 2008, but seems to work. I don't know about Server 2012 or beyond.
    So what would be the "proper" way of going about creating a Windows service from a headless LabVIEW application?

    The proper way is to interface to the according Windows service control API. That is however not a trivial task to do. We used to sell a LabVIEW toolkit which supported a full interface to this, but it's not currently actively marketed.
    srvany.exe is sort of a hack but works reasonably well for most use cases, as long as you do not need any further interaction with the service manager interface in Windows than to start and stop your service.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Best Way to Create Multiple Partitions on Macbook Air 13" 2012 solid state drive (256GB)

    I just bought a Macbook Air 13" 2012 solid state drive (256GB) w/ 8GB Ram and I would like to be able to dual boot to Windows 7 and have a 3rd partition to share files between both Operating Systems. Can someone point me in the right direction, recommend partition sizes, pros and cons etc.? Should i bother with the 3rd partition or just by an external HD?
    FYI,I will mainly be using the MBA for programming in Visual Studio 2010 and some ios development. Thanks in advance.

    This, for example:
    OS X: "Some features of Mac OS X are not supported for the disk (volume name)" appears during installation

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • Best way to create a Keynote presentation for use in Windows Powerpoint?

    Hi all, as mac users, I know we have all been here,  I am being forced to use Powerpoint and a Windows machine for a presentation.   I am wondering what is the best way to create a keynote presentation (on my mac), and export it to powerpoint (on a windows machine). The goal here is try to get as few errors and missing components of the presentation as possible. I frequently have to export and import documents through Microsoft word and pages, and everytime I open a doc I get a message saying that some things couldn't be imported. This cannot happen in this situation! This is a very important presentation that needs to go as smooth as possible. I am going to be presenting this presentation on a windows 7 machine running microsoft office 2010.
    What extra steps should I take (if any) to make sure everything gets exported and imported correctly?
    Thanks in advance,
    - A Mac user under Windows Oppression

    Thanks, the presentation went well. I just had to try out different transitions and animations to see which ones worked with Pp. But I'm going full keynote next time!
    Happy Computing,
    - A Mac user no longer under windows oppression

  • What is the best way to manage multiple ipods using the same itunes?

    Hi Everyone
    i am trying to manage three different ipods through the one Itunes, all with very different tastes, not sure if I am doing it the best or easiest way so does anybody have a simple solution on what you're supposed to do, to keep it all simple!
    Cheers
    Liv

    If you have created a new Windows user account you need to log out and then log back in with your original user name. By default each Windows profile will have an independent iTunes library.
    If instead you managed to create a new library within the same profile. click the icon to start iTunes and immediately press and hold down the shift key, keep holding until asked to create or choose a library. Click Choose and navigte back to your original which should be at <User's Music>\iTunes.
    Your question as posed was:
    What is the best way to manage multiple iPods using the same iTunes {library}?
    in which case Selected Playlists is probably the best approach. Simply create a playlist for each device, Alice's iPod, Bob's iPhone etc. and sync the device with the appropriate list.
    tt2

  • Best way to create slide shows in PE4 and PSE 6

    What's the best way to create a fancy slide show in PE 4 and PSE 6? I need to create a slide show of about 600 pictures. I'm on Windows XP with 3gb RAM. I've done this a few years ago in earlier versions of PE and PSE. Before i plunge into this again i wanted to get some overall guidance for what to do or not do.
    My ultimate goal is to create a slide show that:
    1. uses pan and zoom on every photo
    2. transitions between every photo
    3. has an audio track
    4. has some nice special effects -- words and graphics that appear on slide at precisely the right moment to match the song, and stay on the screen as one slide transitions to another. i want the text to be able to move and fade in and out.
    My view is that it's easy to accomplish #1-3 in PSE 6; it's quite simple to create a slide show, add pan and zoom, and transitions. However, #4 is not doable because adding text and graphics can only be done on a slide at a time and only when the slide start/stops (i.e., you can't have text appear 2 secs after the slide has started displaying and stay on screen while the next slide appears). Need PE 4 to do that.
    What i'm wondering is:
    -- is it best to create the basic slide show in PSE6 and then export to PE 4 to do the final fancy stuff, or is it best to just create the show in PE4? Seems that doing the pans, zooms, and transitions are easiest in PSE 6.

    eric,
    I am going to offer some reasons NOT to start this slide show in Photoshop Elements. This is despite the fact that I have used the workflow of starting in Photoshop Elements and used the Send Slideshow to Premiere Elements in PSE5 - PE 3 and PSE7 - PE7.
    1- Timing differences between the PSE and PE slide show construction and processing
    There are many differences in timing between the two products. Transitions can start/end slightly offset from their timing in PSE once they arrive and are processed in PE. Same for pan and zoom. Does this matter? Well the more precise your timing, the more potential for a show stopper.
    Example: one person who wanted continual motion using pan and zoom needed to go modify the transition positioning and the keyframing of the pan/zooms on every single slide after sending a slideshow from PSE to PRE.
    2- your requirement to
    "words and graphics that appear on slide at precisely the right moment to match the song, and stay on the screen as one slide transitions to another. i want the text to be able to move and fade in and out."
    You can't really sync the audio to a slide in PSE. The text can't move or fade in/out. I think that it will be more grief to retrofit these functions to a slide show that was created in PSE than it will be to do the all the work in Premiere Elements.
    3- "Add the sound track for the ENTIRE slide show (this will be longer than i currently have slides for because i don't have all the photos"
    I am suspicious that adding the ENTIRE sound track in one PSE slide show will not work.
    I have done multiple sends from PSE slide show editor to Premiere Elements. However, I decided on the approach of using no audio in the PSE slideshow editor and adding Audio in Premiere Elements AFTER sending all the slide shows.
    Again, your objective of syncing specific photos to music points is good artistically - but I am concerned that it will make your PSE to PRE workflow problematic.
    4- "as new photos arrive, do the arrangement/pans/zooms in PSE and move them to PE"
    As Steve mentioned when you do subsequent sends of the slideshow, it appends to the end - does not seem to fit your objective of replacing part of the middle.
    Also if you get new photos in for the second section of the slideshow - but over in Premiere Elements you had already made other changes in the second section. There is no function to combine new changes doen in PSE and changes done in PE for that same "section" of the slideshow.
    5- you did not say whether you will be outputting this slide show in Full Screen or Widescreen format. Will you be burning a DVD? If you will be doing widescreen output, additional problems with specifying pan/zoom in PSE have been identified on various forums because the PSE pan/zoom boxes are not widescreen aspect ratio.
    Conclusion:
    Some of my comments here are definitely subjective - however, it is my overall conclusion that your objectives and work plan are not a good fit for the Photoshop Elements slide show editor to Premiere Elements workflow.
    My perspective on the Photoshop Elements slide show editor is that it is designed to simple, quick and easy. Therefore it has limitations.

  • What is the best way to create the layout for a single page website in Adobe Muse?

    I was wondering the best way to create the layout for a single page website in Adobe Muse. Does anyone have any suggestions?

    I know how to create a website but will that help me create a single page website? Below I will leave a demo of what I want. I want it to only have one page but multiple sections. What is the easiest way to create a single page website like the demo below?
    Demo Website

  • Best way to create DVD

    I've exported a movie that I created in FCP 3 to a Quicktime file. I would like to burn the movie to a DVD that I can play on a DVD player. I've been trying to use iDVD 4, but its not recognizing the audio in my quicktime file. Is there another way to do this?

    With all due respect, I fail to see how my comments are off the mark. iDVD has two settings... that to me is for consumers. How can any professional slice the art of compression into 2 settings? Compressor provides many more choices that a pro would probably use. And even Compressor isn't great as higher-lvl compression software, but at least its a start. The topic of this questions is BEST way to create a DVD, not the worst way, and clearly the BEST solution does NOT have iDVD in it. It's the same reason you don't edit in iMovie over FCP, it's the reason Windows users don't use MovieMaker. iDVD is a decent entry-lvl program, but frankly not cut out for anything above home video.
    null

  • Best Way to Aggregate Multiple Announcement Apps and Possibly External RSS Feed

    Hello,
    I have two separate announcement apps (one in sub-site A, and one is sub-site B). I am trying to create a webpart that will display content from both apps together.
    I have tried to setup a CSWP and have been able to set the query to pull in the data (Although it shows expired announcements, which I would need to eliminate). Now, I am trying to customize the display of the CSWP, including the property mapping values
    to display the announcement title (currently working with the URL as a link) and body (truncated like the announcement summary view if possible).
    How can I get the body from the announcement to display? The 'body' field isn't listed as an option in the drop down list of mapping values. Do I need to toggle an option on the separate announcement apps, create a column, map a field, or some combination?
    Also, I'd like to know if it is possible to add in an external RSS feed. Or, if there is a completely different way to approach and accomplish this, please let me know.
    Thank you

    Hi,
    To display the “Body” field of Announcements list properly in Content Search Web Part, you can take a look at this blog about how to customize the display template for a good
    start:
    http://social.technet.microsoft.com/Forums/en-US/bf0eb4de-445f-435a-8c88-1826bfb3aae5/best-way-to-aggregate-multiple-announcement-apps-and-possibly-external-rss-feed?forum=sharepointdevelopment
    If there are more complex needs in customization, the two links below would be helpful:
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/09/03/3588171.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/05/28/stage-11-upload-and-apply-display-templates-to-the-content-search-web-part.aspx
    Also, if you have several questions, it is recommended to post them in each single thread to make others in this forum easier to focus on one issue in one thread.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Best way to achieve multiple paths with quizzes using Captivate 6?

    I’m looking for the best way to achieve multiple paths and quizzes using Captivate 6.
    Here is the scenario: The learner watches general slides 1 – 3 and then chooses between Path A, Path B, or both paths combined.  If they choose Path A then they watch the A portion only and take the A Quiz only. Same happens for Path B and for the two paths combined. The learner would only have to go one path to complete the course.
    What I’m finding is Captivate only has one Quiz results page (even if you create two separate quizzes, it merges them). I was trying to avoid having three separate projects for the same module to keep it simple. I see if I have three separate projects I could use the Multi-SCO Packager to merge them for use on my Moodle LMS. But wait, I don't have the elearning suite, so I don't have access to the Multi-SCO Packager...
    My question is: What is the best approach way to accomplish this goal? Any recommendations?
    Message was edited by: austingina

    Captivate 6 has Branch Aware quizzing.  Turn on that option in Quiz Settings and then your Quiz Results page should only show results for the branch your user visits.

  • Best way to create a UI for a Composite app

    Hi all,
    What is the best way to create a UI for a Composite app that we are developing using CAF and GP.
    1) WebDynPro Callable Object that implements GP Interface.
    2) Consume the Application services(exposed as web services) in WebDynPro app
    3) Creating a WebDynPro Model for the CAF Services.
    4) Create a WebDynPro Application Callable Object (If yes how can we map the input and output params b/n WebDynPro app CO and CAF Application service).
    Plz do remember we are using GP here.
    Thanks in advance,
    Best Regards,
    Sudheer.

    Hi,
    You can use Web Dynpro or Visual Composer for designing UI for your CA.
    1) WebDynPro Callable Object that implements GP Interface.
    You can use Web Dynpro Component CO to use a single Web Dynpro component in your GP Activity.
    4) Create a WebDynPro Application Callable Object :This is for entire Web Dynpro Application(multiple components).
    2) Consume the Application services(exposed as web services) in WebDynPro app :
    3) Creating a WebDynPro Model for the CAF Services.
    For example, in updating operations first we have to get the existing data from Database.For getting this data you can use application services in your Web Dynpro component.Later expose this WD component as CO insert in a GP activity.
    For creating operations, you can use Web Service CO(Application Service)  directly in GP Activity.
    These links are useful for you.
    [link1|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00c07d0-61e0-2a10-d589-d7bc9894b02a]
    [link2|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b99341-60e0-2a10-6e80-b6e9f58e3654]
    [lnk3|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1078e3b0-ec5d-2a10-f08a-c9b878917b19]

  • Please introduce the best way to create education in share point

    Hi
    I want to use chm in share point. but i suppose that there are better ways for training because i think chm is suit for software that are windows-based not web based.
    please introduce the best way to create education in share point
    thanks

    Hi
    these are some directions which will help to create a project for your needs
    Record and share grades with students and parents electronically.
    Create online communities for teachers, administrators, and students to collaborate.
    Facilitate sharing of best practices among teachers and administrators.
    Enable students, parents, faculty, and administrators to access your institution's resources anytime from any connected device.
    Post lesson plans, research content, coursework, and more to online document libraries.
    Provide Web-based class registration, lunch ordering, and other services.
    Create dashboards that show up-to-date student performance data to inform instruction and decisions.
    Share information with your district personnel, school board, parents, and community members.
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    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.

Maybe you are looking for