Straightforward question concerning borders and frame position

Two small questions:
How would you create a frame ( or something similar) that does not have the standard blue bar on its top? I'm trying to code a slash screen and the bar makes it just look silly.
Secondly how would one predetermine where a JFrame showed up on the screen? Specifically, I just want to center it.
Thanks guys.

Use JWindow instead of JFrame for a splash screen, there's no title bar. And the code to center it:
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
setLocation((d.width / 2) - (getWidth() / 2),
            (d.height / 2) - (getHeight() / 2));

Similar Messages

  • Question about Button and TextBox positions

    Hello everybody,
    I just started using Borland Together 6.1 extended with Java and I want to design a UserForm (an Application), especially a Online Bank terminal, where u can input and output different data. My problem is that when I add buttons and textboxes from the toolbox menu, I cannot put then on the place I want, I'm restricted to some positions (center, right, left, west, east and so on). My question is how can I create my elements on the position I want, how can I resize them. Could someone tell me some specific functions, which I should use.
    Thankx

    You should try to find a LayoutManager that suits you. If you can't find one, you can set the Layout to null, then use absolute positioning.
    setLayout(null);
    yourComponent.setLocation(50, 50);
    yourComponent.setSize(40, 20);You need to set both the location and size of components when the layout is null.

  • Some installation questions concerning AS and 8i

    I will be installing 8i Enterprise Edition so that I can work with 9i AS. I have read through most of the Installation Guide for Oracle 8i - Enterprise Edition Release 3 (8.1.7) for Windows NT. I have some questions that didnt seem to be addressed in the documentation.
    How to access Web Site component?
    Appendix A, 'Individual Components Available for Installation,' indicates that the Oracle Enterprise Manager Web Site component is not included in either the Typical or Minimal installations of Oracle 8i Enterprise Edition. Is it available through a custom installation, or how do I access this component?
    Advanced Security questions:
    That same appendix also makes it clear that one of the primary differences between the Typical and Minimal installations is all of the Advanced Security features (encryption and integrity support; authentication support; and so on). It seems that I will need the Advanced Security component, because I will be configuring a database that stores usernames and passwords. However, I will be working with Oracle Portal. Can security features be configured just through Portal and 9i Application Server, or do I need to use Advanced Security instead, or in addition to, Portal and AS?
    From what I understand, Advanced Security works with SSL (Secure Socket Layers). Does this affect visitors' ability to access a Web application anonymously before login (doesnt interaction with an application in SSL require online exchange between computers of authenticated, encrypted digital certificates? I hope this question makes sense; I'm new to the topic.) Is there a short answer to this question?
    Application Server instead of Oracle HTTP server:
    I also saw in Appendix A that the Oracle HTTP server powered by Apache is included with both the Typical and Minimal installations. It's also bundled as a "Web listener" with the Oracle Enterprise Manager Web Site.
    However, I will be installing 9i Application Server instead to work with the 8i database. Will this cause any conflicts? I'm just wondering if the Oracle HTTP server component can be excluded from the beginning, without doing a custom install. I did see on pg. 3-6 of the Installation Guide (under 'Oracle Enterprise Manager Web Browser Requirements') that Oracle Enterprise Web Site does support the Oracle Internet Application Server.
    Also, I understand from the section on 'Mandatory Individual Component Requirements' that Advanced Security "requires preinstallation of an LDAP directory such as Oracle Internet Directory (provided on the component CD-ROM)." It refers me to the Oracle Advanced Security Administrator's Guide for further information.
    Oracle Internet Directory:
    However, I haven't been able to access the Security Administrator documentation yet for installation procedures since I haven't been able to successfully download 8i Enterprise Edition (with all of the supporting documentation) yet.
    I looked at the online 8i documentation at http://technet.oracle.com/docs/products/oracle8i/doc_index.htm but did not see any reference to the Advanced Security Administrators Guide.
    As for Oracle Internet Directory itself, I did just find the Oracle Internet Directory Administrator's Guide on the oracle8i/doc_index.htm page mentioned above - so that should help.
    I also looked at the Oracle Internet Directory download page to see if links to documentation might be provided there, but saw that "Oracle Internet Directory Release 2.1.1.0 is delivered as part of Oracle8i Release 3" which leads me back to the 8i Enterprise Edition page where Ive been experiencing download difficulties. So far as I know, theres no evaluation-version CDs available for this software, though there are evaluation CDs available for 9i AS.
    null

    Urfaust wrote:
    You can use the rankmirrors script to determine which is the fastest mirror for you.
    http://wiki.archlinux.org/index.php/Mir … heir_Speed
    @op - the tip that urfaust posted is contained in the beginners_guide wiki article.  You should not attempt installing arch without reading this guide.  If you have two computers, you can install arch on one while browsing to the guide on the 2nd.

  • Question Concerning Erase and Sync and Itunes backups

    Earlier this year my Computers Harddrive exploded without me making a backup.  overtime I have moved all my new data to a new Itunes library and now after just about everything has been moved My Itunes is telling me that for my 5 devices, That I need to do an Erase and Sync.  If I were to first backup my devices in Itunes would I be able to recover everything after the Erase and Sync ( Notes, Contacts, Remiders,ect.) Also a side question,  If I restore my phone from a backup, are the data in the Apps Lost
    Sorry For Poor Grammar did this in a hurry

    If the songs are still on your computer then you'll have to add them back into iTunes and rebuild your library. Once you've done that you can reload your iPod. Pressing "Erase and Sync" when iTunes brings up the dialogue window asking whether you want to replace the songs on your iPod with the songs in this iTunes does exactly what it says. If you linked to an iTunes with only a few or completely different songs it will have erased your original iPod song list, iTunes itself must have been empty at that point as erase and sync erases the iPod not iTunes. If you lost your songs entirely from the computer and the iPod there are some data recovery programs on the market. I've no personal experience of them so I can't say how effective they are, here's an example: iPod Data RecoveryBuegie - Recovering Songs
    None of the recovery programs are particularly cheap so you have to decide if in your particular circumstances it's worth it to get your songs back. It may be if you have a lot of purchased tracks which you would have to pay to download again. If they came primarily from your CDs then it's most likely not as you can re-rip them.

  • Question concerning Selecting and Deselecting Toggle Buttons

    Hello Everyone,
    I am still relatively new to the adobe web suite (still in the trial period in fact). I am working on creating a mock-up of a main web page design to demonstrate and discuss with management. The decision associated with such would determine if we go forward with purchasing adobe products, continuing a redesign of our website among many other things.
    The big issue that I am running into at the moment is creating a series of interactive thumbnails.
    I have the following set up on the page:
    - A section for the actual image (full sized) complete with a title and description provided at the side for one of potentially many topics.
    - Below the topic/image section is a series of thumbnails, which the first one is set for full opacity and marked as selected. (All of these thumbnails are in a Custom Component and break down into a Toggle Button component each, if the image is unselected it remains set at a low opacity)
    - When selecting one of the other thumbnails, I need it to change the image (this part works), select/set the thumbnail to full opacity (this part works as well, given it is a toggle button feature), and lastly unselect the previous thumbnail (causing it to go to a lower opacity, I cannot figure out a way to accomplish this one)
    - In the future I intend to design side bars (left and right) for both thumbnails and the section above (effectively changing the topic to a new one)
    The ultimate idea is to create articles, provided with thumbnails associated to the article at the bottom and to allow clean alternation between the thumbnails, and likewise be able to switch to a new article (with a new set of thumbnails associated to the new article) as well.
    Any help would be greatly appreciated.
    -Steven

    I think I found the solution of my own question. I share it in the hope that it’ll be useful to other people. Remind that I use Cp 6.1.0.319. I modified the project as follows: 1) I unchecked “Visible in output” for the button “Audio Play” (Bt_play) 2) I  modified the AA associated to the audio on/off buttons as descrived below: Action Name: Play Assign cpCmndMute with 0 Show Bt_Stop Enable Bt_Stop Hide Bt_Play Disable    Bt_Play Action Name: Stop Assign cpCmndMute with 1 Show Bt_Play  Enable Bt_Play  Hide Bt_Stop Disable Bt_Stop In this way the two buttons in the same location work well as a real toggle button! Greetings Elena

  • Question concerning Eclipse and Tomcat Plugin and JSP

    I have a Tomcat-Project that I am working on in Eclipse and quite a few external JARs. Everything works fine, when I run my Test class within my project (in Eclipse). But as soon, as I am trying to call the jsp in my browser I get Exceptions: "java.lang.NoClassDefFoundError: org/apache/log4j/Logger" for example, which tells me that in the browser it can't find the JARs... I'm guessing something's wrong with the classpath but I was thinking that Eclipse would handle those things for me...
    I've added the JARs to my project via Eclipse (Properties -> Java Build Path -> Libraries -> Add external JARs). And I've created a subdirectory for my jsp files and allowed my project to update the .xml file for the settings and all... Do I need to do anything else? What have I done wrong so far, have I forgotten to do?

    I solved the problem...

  • Question concerning WebService and certificates

    Hi, well i'd like to get data from a WebService. Scenario is RFC to WebService in SAP XI.
    Therefore i also have to use user&pw and a certificate key i got previously!
    So i created the receiver channel and now i am stuck. There is the option User Authentification and Configure Certificate Authentication. What do i have to use and how to configure. I know i have to use the keystore-service in VisualAdmin, but how?!
    I already read this: /people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter but it does not fir my needs actually.
    Again, i have user&pw AND certificate-key (only key in plain characters!). how to use these 3?!
    thx in advance, br

    Hi Jens,
    Go through following pdf. It will clear some of you doubts.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
    -Pinkle

  • Questions concerning OpenAL and SDL sound

    Hi,
    After having sound problems with Warsow, I wanted to rebuild OpenAL as it seemed to use OSS by default. However, the PKGBUILD currently in ABS does not work anymore, the download for the source is invalid. I wrote my own PKGBUILD for openal-soft, which seems to work OK so far (I just had to create a symbolic link for libopenal.so.0, as libopenal.so.1 is now created by default). This version linked against my alsa-libs works without problems. Would it be possible to to replace openal with openal-soft or at least change the PKGBUILD or is there a reason the old version is still the standard in the repos?
    Another issue was sound in Urban Terror, which also seemed to use OSS by default. As this game only uses SDL Audio and cannot be compiled to use OpenAL (the flags are ignnored), I wondered why SDL uses OSS by default and not alsa. The current SDL-version is compiled with ALSA and OSS support, but it always used OSS. After rebuilding and reinstalling SDL with --disable-oss, it worked properly (read: I could play music and Urban Terror at the same time). I don't know if there is a configuration file for SDL somewhere, I found nothing in /etc/, but as ALSA is preferred over OSS nowadays, perhaps --disable-oss could be added to the PKGBUILD for SDL. Perhaps I built SDL from source with OSS installed using the standard PKGBUILD, and OSS is not enabled in the repo's SDL, but I think this could be updated nevertheless.

    Yes, it does work, but I find it a bit irritating that OSS is default for SDL, as the majority of users use ALSA nowadays. Same goes for OpenAL according to http://icculus.org/lgfaq/#setthatdriver - perhaps this should be noted somewhere?

  • Question Concerning "Terms and Conditions"

    Lately I have been pondering about whether I should put iPodLinux on my 3rd Generation iPod so that I can play videos on it and more that Apple doesn't allow you to do. I would normally do this in a heartbeat, only my Apple Care extended warranty doesn't expire for 5 more months. So, I looked at the "Terms and Conditions" for my warranty and found an interesting bit....
    The plan does not cover:
    "Damage to the Covered Equipment caused by accident, abuse, neglect, misuse (including faulty installation, repair, or maintenance by anyone other than Apple or an Apple authorized Service Provider), unauthorized modification"
    That does on, but you can see the point I'm making just from that. According to the section I just read, it is not violating your warranty to install other software on your iPod, but Apple won't cover it if your iPod is damaged because of the software. So, say I installed iPodLinux on my iPod, and it was working fine, but one day my scroll wheel just stopped working... I could get my iPod repaired because it is still covered under the warranty, correct?
    Please let me know if I am interpretting this incorrectly.
    -Timo

    ^Thats what I suspected, only I couldn't find anything about just installing it and voiding your warranty, only that AppleCare doesn't cover damage resulting from manipulation of your iPod.
    Of course, I wasn't reading the original iPod warranty...
    -Timo

  • Question concerning Hibernate and EJB3 Annotation overlap

    Consider the following, from the JBoss EJB3 Tutorial:
    @OneToOne(cascade = {CascadeType.ALL})
    @JoinColumn(name = "ADDRESS_ID")
    public Address getAddress()
    return address;
    The above two annotations are applicable, using JBoss Libraries and Hibernate Libraries.
    If one wishes to use both JBoss EJB3 annotations, and Hibernate with Annotations,
    do annotations need to be used twice? Naturally, if Hibernate and Jboss identical
    annocations are imported, there will be a compilation conflict error.
    I know that full package names can be used on annotations to avoid that.
    So, if I used the above code snippet, and I want to Hibernate using
    the equivalent hibernate annotations, what should one ideally
    do and why?

    Zac1234 wrote:
    I know that Netbeans automatically may build and deploy the completed
    EJB using ant to gather resources behind the scenes.
    which is why you shouldn't use it to learn about things. It hiding things from you means you don't learn all you need to know.
    with V2.1, regardless as to the container software that I'm deploying the bean to,
    am I now required to have an appropriate XML deployment descriptor,
    yup, and the ANT build file is not it.
    or is this something unique to jsps/servlets?Not the same thing. Different deployment descriptors for different applications.

  • Question Concerning Anchor Usage

    New to Dreamweaver's web world and have a question concerning
    Anchors and Drop Down Menus. Is it possible to have one of the
    selections from my main navigation drop down menu Anchored to a
    particular section of a page?
    Thank You for any input.

    OH, that. Duh.... 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:fu5vq2$gs1$[email protected]..
    > jcraw77 wrote:
    >> New to Dreamweaver's web world and have a question
    concerning Anchors and
    >> Drop Down Menus. Is it possible to have one of the
    selections from my
    >> main navigation drop down menu Anchored to a
    particular section of a
    >> page?
    >>
    >> Thank You for any input.
    >
    > Sure, just make its link be href="#anchorname"
    >
    > --
    >
    >
    > E. Michael Brandt
    >
    > www.divahtml.com
    >
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    > Standards-compliant scripts and Dreamweaver Extensions
    >
    > www.valleywebdesigns.com/vwd_Vdw.asp
    > JustSo PictureWindow
    > JustSo PhotoAlbum, et alia
    >
    > --

  • I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different p

    I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different place than where it is on frame 2. Confused!

    Hi Melissa - thanks for your interest. Here's the first frame, the second frame and the tween frame. I don't understand why the tween is changing the position of the object in frame 2, was expecting it to just fade from one frame to the next.

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • How to merge borders of repeating frame and frame objects?

    Hi All,
    I have a repeating frame inside a frame.
    Can someone tell me how to merge borders of repeating frame and frame objects?
    I have searched this forum and spent lot of time. But I think I am missing simple thing.
    THanks,
    Sathish

    I think 'Flex' mode is on. Change to Off. Flex mode icon is on the paper layout editor. For more, search report help for
    Changing the current mode

  • Using illustrator for iOS graphics and frame animations (beginner question)

    Hey there,
    Just want to get some opinions and advice.
    We are developing a sidescolling 2D game and I am creating 2D graphics in illustrator, ...so far so good, at this point in time I have a few characters designed.
    Now for the character poses, positions and frame by frame animations.... hmmmm.
    I have been searching for examples of ways to create character movements and positions in illustrator but as of yet have not found any good examples or explainations.
    Would anyone care to share (or point me to some examples) of workflows you use to create different poses and character postions using illustrator...
    (eg. should I be importing my artwork into flash to use the bone tool? Or should I create each variation in illustrator by copying my character and manipulating)

    Though the people I have talked to are using solely illustrator to do just that!?
    Maybe the people you've talked to just haven't taken opportunity to familiarize themselves with Bones. The artwork for cartooney walking animations can be done fairly easily in a drawing program, using Blends, Transform Again etc. So in many cases it's just not a big deal either way.
    What is the advantage of using just illustrator to create animations, I'm guessing that its because the drawing tools available are superior to flash?
    To me, it's not so much about "superior" drawing tools in a drawing program; it's more about a more complete set of drawing tools and commands. Flash has a Bezier drawing tool that works fine, so you can draw paths with control. But creating Blends on paths is just more convenient to do right on the page, without involving a timeline, keyframes, etc. Brushes and Transform Effect make it easy to repeat a series of objects. Flash's continual on-the-fly autotracing and auto merging of overlapping unselected and ungrouped objects can be cumbersome while drawing.
    See this example. Then click the Construction Notes link below it to view a 2-page PDF that shows how the majority of the artworks was accomplished with just two very simple ArtBrushes used in combination with pathBlends. That kind of stuff is often just easier/quicker to do in a drawing program, release to layers, and then copy/paste or otherwise import to Flash.
    Using Blends in AI for things like this experiment can save alot of tedium and time, as compared to working only with Flash's drawing tools. (Notes here.)
    Some things just can't be done with only Flash's drawing tools. Envelope distortions, for example, can be blended to create frame-by-frame shape tweens that would be difficult to do with just Flash's native tools, as in this experiment. (The animation is embedded on Page 11 of the PDF; you may have to click "Trust this host one time only" in Reader and then click the middle of the page to get it to play, depending on your OS version.)
    But as a general rule whenever using a drawing program in conjunction with Flash, avoid using more than ordinary flat fills and stokes in the drawing program before importing the paths to Flash. If you want to involve grads, shadows, transparency, etc., you'll generally be better off adding those things in Flash. Such effects are not the same constructs in different programs, and will most likley become rasterized in Flash (as is the case in the last example, above).
    So again, it depends on specifically what you are trying to do.
    JET

Maybe you are looking for

  • SCOM 2012 R2 Exchange Correlation Service , we receive almost at every day in the Event log Application the Event720

    HI Since the SCOM was Upgrade to R2  Almost at every Day, we receive in the Event log application the Event 720 from the correlation service Source MSExchangeMonitoring Correlation This arrives always around 7:20AM, someday is at 7:19, other at 7:21.

  • UploadBean with JBoss Problem

    Dear Experts I am currently creating a web page which allows the customers to upload csv file. I serached through the net and found that people are using "UploadBean" for this thus I downloaded the uploadbean jar file and imported it to my Jboss libr

  • I need to update adobe, no MBs

    I need to update my adobe flash, but my mac says zero mb's left. Can I delete older adobe flash players, if I can, how do I find the right ones to delete? I need very simple instructions as I am not computer savy, I can follow simple instructions. If

  • Using forall and bulkcollect together

    Hey group, I am trying to use bulk collect and forall together. i have bulk collect on 3 columns and insert is on more than 3 columns.can anybody tell me how to reference those collection objects in bulk collect statement. you can see the procedure,i

  • F110 Profit Center Dummy error

    Hi: I have a problem with tx F110, I hope you could help me. Since two or tree weeks when we use F110 for Automatic payments, we find that erverything goses to profit center dummy. We have change nothing (as far I know) and responsible for FI syas no