How can I create a Frame & dialog box with a desired shape & look ?

Hellow !
Currently I am writing an application that need your help.
I need a complete code to create a custom JFrame & JDialog.
Objective:
1) The frame & Dialog box might not be in a rectangular shape.
2) Their visible area [ Title bar(With my new icon),outer edge and iconifying,deiconifying & window closing buttons ]
would be as I wish.
As an instance, I mean to say it should looks something like Widows Media Player's(XP version) main window.
My Operating System: Windows XP

I think (I have never tried it) that the following link provides the kind of api you are looking for :
http://www.l2fprod.com/
As far as I know, it's based on the use of a custom look and feel called SkinLF.
But due to the nature of your question and based on the assumption that people here are not going to do all the work for you, I would strongly advise you to start with the Swing tutorial :
http://java.sun.com/docs/books/tutorial/uiswing/

Similar Messages

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • How can I create a new TC backup with ethernet, so I don't have to wait two days for a new wireless backup?

    How can I create a new TC backup with ethernet, so I don't have to wait two days for a new wireless backup?
    Several times in the last year, I've gotten a message that Time Machine needs to completely redo my backup. Using the wireless connection, this takes almost two days. Is there a way to do the backup with ethernet and then switch back to wireless? Thanks.

    May I know what is needed to make sure the MacBook is able to see Time Capsule on ethernet?
    Connect an Ethernet cable from one of the LAN <-> ports on the 2Wire gateway to the WAN port (circle of dots icon) on the Time Capsule.
    If AirPort Utility cannot "see" the Time Capsule now, you will need to perform a "hard reset" by holding in the reset button for 7-8 seconds or so and then reconfigure the Time Capsule. You can use the same Time Capsule name and password, etc. as before.
    Configure the Time Capsule to "Create a wireless network" and select the Bridge Mode option when it appears during the setup using AirPort Utility.
    Once the Time Capsule is configured, restart the entire network again. Power down everything, start the 2Wire first and then start each other device after that one at a time about a minute apart.
    Now you can connect your Mac directly to one of the LAN <-> ports on the Time Capsule for the backup using another Ethernet cable. In general, about 20-25 GB per hour will transfer.
    The Time Capsule will broadcast a much faster wireless network than the 2Wire can provide, so you might want to leave the setup "as is" for awhile after the first backup is complete. If you decide to use the Time Capsule as your main wireless access point, you would want to turn the wireless off on the 2Wire since two wireless networks in close proximity can create interference problems.
    Or, if you want to use the wireless on the 2Wire, you could turn off the wireless on the Time Capsule. Then backups will occur over the 2Wire wireless, or over Ethernet.
    I don't really recommend the "Join a wireless network" setting on the Time Capsule for most users, but you could go back to that setup as well if you want after the first backup is complete.

  • How can I create a new Care Plan with one or more care tasks

    Hello,
    I'm working on a Dutch website in the HealthVault Environment. I got difficulties in creating and updating a careplan with care tasks. Most likely it's due to lack of knowledge...
    Following code works fine:
    CarePlan plan = new CarePlan();
    plan.Name = "test";
    this.PersonInfo.SelectedRecord.NewItem(plan);
    It creates a plan called [test]. But I don't know how to create a plan with one or more tasks in it: the tasks property is read only.
    https://msdn.microsoft.com/en-us/library/microsoft.health.itemtypes.careplan.tasks.aspx
    Half a year ago I was able to add an example of a careplan, which was a feature of the dev tools, but for some reason that's not possible anymore.
    https://developer.healthvault.com/DataTypes/Overview?TypeId=415c95e0-0533-4d9c-ac73-91dc5031186c
    So my question is, how can I add a new care plan with a task like the example from the HealthVault dev tools:
    <tasks>
    <task>
    <name>
    <text>Run 100 miles</text>
    </name>
    <description>Run 100 miles in 6 months</description>
    <start-date>
    <structured>
    <date>
    <y>2013</y>
    <m>12</m>
    <d>1</d>
    </date>
    </structured>
    </start-date>
    <end-date>
    <structured>
    <date>
    <y>2014</y>
    <m>6</m>
    <d>1</d>
    </date>
    </structured>
    </end-date>
    <target-completion-date>
    <structured>
    <date>
    <y>2014</y>
    <m>12</m>
    <d>31</d>
    </date>
    </structured>
    </target-completion-date>
    <sequence-number>279128532</sequence-number>
    <recurrence>
    <interval>
    <text>Once</text>
    </interval>
    <times-in-interval>10</times-in-interval>
    </recurrence>
    <reference-id>p01vil21ckg7k2346y1g60337mmi20sg564l321l8pmpqev39n302572sewu76lh9019s3993e02924</reference-id>
    </task>
    </tasks>
    Any help is welcome 
    Wilfred

    Hi Wilfred,
    Have you tried this?
    CarePlan plan = new CarePlan();
    plan.Name = "test";
    plan.Tasks.Add(someTask) 
    If you have a task list already, you would need to enumerate through it and add one by one...
    foreach (var task in existingList)
        plan.Tasks.Add(task)

  • How can i  create and access resource file(with .res ext) in j2me

    hi,
    i am developing an mobile international application using jsr-238 an optional api to implement the idea of internationalizationand localization.
    please tell me how can i create .res files in my application to store strings of different languages.thanks inadvance.

    Hello GG RA,
    which fileformat do you want to use (binary or ASCII)?
    There are some LabVIEW shipping examples for File I/O
    You could use the LabVIEW NI Example Finder (Help --> Find Examples..(search item "file")) to get an overview about the different file-formats in LabVIEW.
    Hope this helped out and feel free to reply if you have more questions about File I/O in LabVIEW
    Best regards
    Benjamin

  • How can you create a spry menu bar with no background colour?

    How can you create the first level of a spry menu bar to have no colour? I have a coloured background right now and the colour matches when you load the site in Internet explorer but does not match in Firefox. Any suggestions are welcomed on how to fix this.
    Thanks!
    HK

    Here is the site:
    http://partnersnaturally.ca/
    I am learning with code, (obviously) so any feedback would be nice. I use dreamweaver CS4, but when I originally designed the site it was in a much older version of dreamweaver. I wonder if that could also be a cause. (besides human error)
    Thanks again,
    HK

  • How can I supress a Windows dialog box programmatically in LabView?

    I am trying to automatically supress or close a windows dialog box that appears when a LabView program crashes. I have a restart program that will automatically reopen the program and I don't want to have to click on the program error window that results from the crash. Does anyone know how to do this?
    Thanks so much for your time!

    The program rarely crashes - it is running in the background for the entire day and we just want to ensure that it is monitored and restarted in case of a crash. We also don't want the user to be bothered with the program error messagebox that pops up saying that an error log is being created. The program crashes when too many programs are running at the same time - so the problem isn't a huge one. I was just wondering if it was possible to stop this program error message from appearing by programmatically selecting the okay button or by suppressing the message entirely?

  • How can I create a frame around a text?

    I think everything is in the title. I want to create a frame around a text.
    Thanks

    If what you want is a solid line around the text, set the text in a text box. In the Graphic Inspector click on Stroke and choose Line. In the little menu below that click the arrows and choose the type of line (or dots/dashes) you want. Choose the color (if other than black) and then the weight of the line— from the pt menu. Instead of line you can choose frame, but these don’t always look good with text. To allow some space around the text, go to the Text Inspector and adjust the Inset Margin to your liking.
    You can also set text in a shape by inserting a shape from the menu, double clicking in the shape and typing.
    Walt

  • How can I disable "download error" dialog box when saving a complete web page?

    Sometimes, when I try to save a web page as type: "Web Page, complete", firefox displays download error dialog box stating a file "could not be saved, because the source file could not be read."
    I don't have a problem with firefox couldn't save that file, but I have a problem with firefox displaying that dialog box, because I have to click OK everytime.
    Is there a way to disable that annoying dialog box?

    I modified the host file mainly to block ads. But that's not the problem. It's OK for me for firefox to not saving some parts of a page (ads usually within a frame). It's my intention to NOT saving those files. I just want to save the main content of a webpage.
    But I'm having a problem with firefox displaying the dialog boxes.

  • How can I get a Distiller dialog box in Illustrator CS5 which is exactly the same as Distiller?

    I would like to know if there is some type of plug-in, etc. out there that would allow me to have all the functionality of a Distiller dialog box when I save a PDF out of Illustrator CS5. Right now, I just have what comes installed with Illustrator. It's a stripped down version of what you would find in distiller.

    When you save a PDF out of Distiller it doesn't just have different options, it's an entirely different program. It doesn't do things the same way, so it can't have the same options. Saving from Distiller is in many ways better, expecially in that transparency isn't flattened.
    What specific options are you looking for?

  • How can I create multiple selection check boxes in a report row?

    Hello,
    I'd like to know how a multiple selection checkbox can be created in report rows. In brief, I need to create a questionnaire template and each one of the questions will have multple options checkboxes, that means that the user can select more than one of the answers.
    Should I use apex_item.checkbox ?. I have no clue here.
    Please advice.
    Thank you
    Edited by: user9982480 on Jul 23, 2012 10:58 AM

    Hi,
    This might save your effort
    http://www.apexsolution.de/questionnaire/
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How can I create unique partnerships to deal with like EDI messages?

    I have an EDI to Application partnership setup currently that deals with translating MEDRUC type EDIFACT messages to a mainframe format. The setup is
    Sender = PARTNERA,
    Receiver = PARTNERB
    DocType = MEDRUC.
    In the Input EDI tab the
    Sender Qualifier ID = ZZ:PARTNERA
    Receiver Qualifier ID = ZZ:PARTNERB
    Standard = EDIFACT
    Version = D
    Release Number = 97B.
    Use UNG to locate partnerships = No
    EDIFACT messages contain all this information in their UNB and UNH segments which is where SunONE IS B2B looks to then match against the relevant partnership. My problem is this does not go to enough granularity for me to distinguish uniqueness for the second partnership I need to create.
    The problem is the "Association assigned code" field in the UNH for EDIFACT messages is not catered for anywhere in the partnership details area. This means then that whilst my existing partnership deals with Simplified Billing Claim MEDRUC's which is Association assigned code = SBC20, I can't create an EDI to Application partnership for PARTNERA and PARTNER B to cater for Two Way Gap Claiming MEDRUC's which are Association assigned code = TWC10, ie the two messages are D97B MEDRUC type messages only distinguished from each other by this Association assigned code.
    Any ideas how can I then create a unique EDI to Application partnership for this TWC10 MEDRUC message?
    What I am thinking I will have to do is make this second partnership Application to Application and create a custom service to wrap the MEDRUC message with a HREC/TREC and use the parameters in the HREC to dictate the DocType rather than use the UNB/UNH segments in the MEDRUC?

    Hmmm. It looks like way back when the decision was made on how specific the keys had to be, they didn't get quite specific enough for your case. I'm not super experienced with EDIFACT but I'll throw out some suggestions based on my HREC and X12 knowledge.
    A. Could you handle both instnaces through the same partnership, but alter the map to create unique outputs based on the two different types? At least of the cards would need to be handled through Route, but you could have that picked up by a simple Outprep / Gateway Service list that put the data where you wanted it.
    B. Before Parse, run a custom service that is capable of inspecting for which type of data it is, then modify one of the key fields in place to find the Second partnership. Really getting adventurous, maybe you could alter keys in the UNG to make the distinction. This assumes that you don't have both types of documents in the same interchange.
    C. Your idea may be workable. Can you give some more detail on the make-up of the Service list and the destination/processing of the two differnt types of MEDRUC?
    Thanks.

  • How can I create public AND private access with a wireless VPN router?

    I am thinking about getting one of the new pre-n wireless routers that has a builtin VPN.  I will need to have a private net for my office and a public net for my customers.  On the private side- my employees will need to access all network resources and servers etc.  On the public side, my customers just need to get to the Internet and maybe print on that side too.
    Both sides will be DHCP.
    Can I set this up with 1 device ro do I need 2?  How can I do this?  Any help is greatlu appreciated.
    Thanks all.
    Message Edited by Gman on 10-14-200607:08 PM

    The only safe way to do this is to creat user groups On your server and give specific assess to the users who log into the network.
    Using a single router , bifurcating a public from a private network is not possible.You will not be able to use the VPN since the users hav e to be connected to the VPN to log into your network.

  • How can I create a stop animation video with single images in Premiere Pro?

    Let me start off by saying I am 100% new to pretty much all Adobe software as of about 3 weeks ago. I have been doing a lot of googling these past few weeks. With that said, I will do my best to explain my question.
    I am making a stop motion animated video.  I am not using several photos to create the look, but rather single photoshopped images that I have deleted the backgrounds out of. Basically the video is single charms "crawling" or flying in individually from off screen into a circle, there is a story explaining what each charm means. I started in After Effects, but had issues with audio... am I right in my understanding that you cannot preview the audio unless you use the preview feature? So my solution was playing a guessing game, rendering/exporting, importing it to Premiere Pro, taking notes and then heading back to After Effects to try to re-do the timing. Obviously this was not working too well.
    Then after doing more googling and clicking around I figured out you could layer images in Premier Pro and make them move just as you would in After Effects, which is great! There are two things hanging me up...
    1. I used the wiggle effect in After Effects. For the life of me I cannot find or figure out an effect or preset similar to this in Premiere Pro. Is there such a thing? Or do I have to create rotation keyframes? (I think I'm using keyframes correctly).
    2. Making the images stop-motiony and not smooth.
    My question is... any suggestions on how to re-create the wiggle effect easily in Premiere Pro? Or is there away to create the effect in After Effects and then import the image into Premiere Pro and still be able to change the position and timing?
    Please help! My deadline is tomorrow by the end of the work day!
    Please forgive me if these are silly questions... go easy on me, I'm soo new! Thanks in advance!

    Thanks so much for the reply!
    I read that... but it doesn't preview the whole thing? It only previews a few seconds and then loops. I tried to figure out how to change the preview settings, but I can't seem to get it to work.

  • How can I create a file in iMovie with a lengthy audio file, but only 1 picture?

    Let me state first off that I'm a blind user using the Voiceover screen-reader in OS X.
    Now, I want to upload some audio to Youtube, but they do not allow simple MP3 files. As such, I want to create a file in iMovie with my audio and 1 picture to use as a visual. Within iMovie, I add my audio file, select a picture, but when I publish, the audio is cut off after only a few seconds. Can someone please explain how I can fix this issue so my entire audio clip will play?

    iMovie is a visual medium, so you need to make the duration of your photo at least as long as your voiceover track. You should be able to double click on your photo and then enter a duration.
    See iMovie Help at this link.
    http://help.apple.com/imovie/#mov3a883915
    An MP3 file may work for you, but for best results, use a WAV or AIFF file (uncompressed). You can convert MP3 to AIFF in iTunes. Let me know if you need instructions.

Maybe you are looking for

  • HT1727 How do i set up 2 different apple id's on one PC and share the same music library?

    Hi, I have one PC but 2 apple id's between me and my wife and both of us need access to the music library and need to be able to sync our devices and preferences seperately. How is this possible? Any help would be appreciated...

  • How can I set in ps the "file info" autofill option?

    Hi, finally I have found how to edit my file info inside Ps, I have created an average file info, my name, my website, and other contact info, and i want to add these information to all of my future works description. In this picture, there is an aut

  • CE 7.1 - Garbage collector Allocation failed message

    Hi When we go to SAP Management console -> J01 -> AS Java -> GC History, it is reporting error that GC - Allocation failed. I wanted help to understand whether 1) Is this error message critical or can lead to issues on our production system 2) How do

  • QuickTime on Windows Server 2003

    What version of QuickTime will work on Windows Server 2003, if any? I had issues a year ago with version 7, and I'm going through my list of apps to upgrade. None of the application pages state that Windows 2003 is a supported OS for version 7.1.6. D

  • How can I save photos and free up space in iPhoto?

    I have a hard drive that used to be used on a PC. It's format is MS-DOS (FAT32). I've been using it for the past year with my Mac with no issue (moving files onto it and off of it). I have over 30,000 photos in iPhoto now and am noticing that it's qu