Help point me in the right direction please??

Hey whats up. Im trying to make a calendar for my applet. the problem i have is that for each cell in the calendar i want to print 3 lines of information (ie: line 1: day, line 2: some status, line 3: some status)
ive looked into using JTables but as far as I have seen I can only have 1 line of data for each cell. I was thinking maybe i coudl make a custom JLabel or panel and insert that into each cell...but im not sure if that would work or how to go about doing that.
does anyone have any suggestions on what path i should take in trying to do this?
should I not do JTables and take a different approach?
thanks
-ray

I need some help please...
below is a snippet from my calendar. these panels are the indiviual squares in the calendar. My problem is that I make 3 labels but no matter how i format it...all three labels appear directly next to each other. Ive tried various layouts...some of stuff ive tried is still commented out. the only way to get the proper layout is by adding the ugly spaces that I have in there to FORCE the label down. Im not sure why its doing this. LIke i mentioned ive tried almost all the various layout managers to get this right but no luck. maybe im not doing them right..i dont know.
any suggestions??
private class GridPanel extends JPanel {
        private JPanel panel;
        private JLabel dayLabel;
        private JLabel resultLabel;
        private JLabel scoreLabel;
        private String score;
        private Color resultColor;
        public GridPanel(int dayNum, String result) {
            panel = new JPanel();
            //panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
            panel.setPreferredSize(new Dimension(100,100));
            //System.out.print(panel.getPreferredSize());
            dayLabel = new JLabel("        "+new Integer(dayNum).toString()+"      ");
            resultLabel = new JLabel("        "+result+"      ");
            scoreLabel = new JLabel(score);
            GenerateScore(result);
            JLabel scoreLabel = new JLabel(score);
            removeAll();
            dayLabel.setFont(new Font("Serif",Font.BOLD,12));
            add(dayLabel,panel);
            resultLabel.setForeground(resultColor);
            scoreLabel.setForeground(resultColor);
            add(resultLabel,panel);
            add(scoreLabel);
            //resultLabel.setAlignmentX(Component.CENTER_ALIGNMENT);
            //dayLabel.setBounds(0,100,25,25);
            //resultLabel.setBounds(50,50,25,25);
        }

Similar Messages

  • Can a Mod help point me in the right direction...?

    Can a Moderator help point me in the right direction for help on this...not sure if its a sales issue, or a support issue...
    I recently started using the new YouView box.  After a week of use, I have various issues with it, a couple of which I would deem as being serious enough to merit wanting to move back to the BT Vision box.  So...
    1) Is this possible technically?
    2) Can I do this contractually?
    3) If it is possible, can I mothball the YouView box until software upadates fix the issues?
    I'm not sure who to speak to in the first instance....
    Thanks
    Mike

    Hi Guys,
    Thanks for posting. If you’re having problems with the Vision service drop me an email with the details and I’ll look into it for you. Over the next few weeks there will be an update to both BT Vision on YouView and to the YouView software which may help fix some of the issues you have but if you’re still having problem get in touch.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Please help point me in the right direction

    Can some one point me in the right direction to learn more
    about button keyframes controling movies, jpegs with FX's, ect.
    Like if I wanted the over keyframe to fade in a Jpeg or start
    a movie. Thanks much,
    Milt

    andre67 wrote:
    > to fade in a button state in the over, you can add a
    movie clip to the the Over
    > keyframe with a tween that does the fade in.
    >
    > if you want a movie to start when you move over an
    object then maybe using a
    > on(rollOver){
    > }
    > might work
    There downside of it tho is that button resets as soon as you
    move your mouse off
    it. So it might have sudden jumps in your tween on roll out.
    I would suggest use movie clip to start with and attach
    button behaviors to it.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Help! I can't find the download link for adobe acrobat in my account. Can someone point me in the right direction, please?

    I have redeemed my Adobe Acrobat XI Serial Number, and created an adobe account, but can't find that link to download the entire program anywhere. I only see a link for a temporary version and a link for updates although I have purchased the program. So where is that download link, please?

    I forgot to get back to you. Thank you very much for your prompt reply.
    Your suggestion helped!
    Pamela Oettel
    *Oh by the way, referrals to your friends are the heart of my business! If
    you know of someone who is buying or selling a home, please give me a call.*
    cell: 510-703-8636
    [email protected] <[email protected]>
    Hablo espanol tambien
    *Check out my Latest Facebook Post
    <https://www.facebook.com/pameastbayrealtor>*
    *Check out *What They Say About Me
    <http://www.zillow.com/profile/Pamela-Oettel/Reviews/?my=y>
    *BHG Mason McDuffie *
    2095 Rose Street, Suite 100, Berkeley, CA 94709
    BRE Lic No. 01761212
    On Tue, May 27, 2014 at 2:29 AM, GautamBahl <[email protected]>

  • I have an iPod 80gb which charges and looks to play tunes though nothing comes out of head phones docking stations etc. Can you point me in the right direction please?

    I have an 80GB iPod which charges and looks to play tunes though nothing comes out of ear phones,speakers or docking stations. Can you please help me fix this?

    Hello lowe-m1,
    Thanks for using Apple Support Communities.
    For more information, take a look at:
    iPod troubleshooting basics and service FAQ
    http://support.apple.com/kb/ts1382?viewlocale=nl_nl
    The headphones don't work
    If your iPod's headphones don't work or have static or garbled audio, try connecting them to any other 3.5 mm stereo headphone jack, like the one on your computer. If the issue with the headphones persists, replace them. For an iPod under warranty, you can order a replacement online. Otherwise, check out the cool headphones at theApple Online Store. If the issue appears to be with the iPod, try resetting it. If that doesn't work, then restore iPod with the latest iPod software using iTunes 7 or later.
    Have a nice day,
    Mario

  • Custom UILabel subclass... point me in the right direction please...

    Hello all...
    The app Im working on has a lot of UILabels created programmatically. I have several properties that I am assigning to these labels like font, textColor, textShouldResize, alignment, backgroundColor and a few more. Im doing this for every label in my app which is turning out to be quite a lot.
    I know I can create a class for this label... so I added a CustomLabel class which subclasses from UILabel but that is as far as I got. Im not sure how to declare these properties while subclassing. Or more specifically, how to init the implementation file. Should I be doing initWithCoder or just init??
    So lets say I want to set the textColor to white, would it look like this in the header file?
    #import <UIKit/UIKit.h>
    @interface CustomLabel : UILabel {
    UIColor *textColor;
    @property(nonatomic, retain) UIColor *textColor;
    @end
    .m
    #import "CustomLabel.h"
    #import "Constants.h"
    @implementation CustomLabel
    @synthesize textColor;
    - (id) init {
    textColor = [UIColor blueColor];
    return self;
    @end
    Beyond this Im not sure what to do with the implementation file. Any pointers for this would save me boat loads of time. Ive been playing around with it for a few days now and it just doesnt look right.
    Thanks
    Message was edited by: iMerlin

    Sorry to reply to my own post but I think I figured it out...
    - (id)initWithFrame:(CGRect)frame {
    if ((self = [super initWithFrame:frame])) {
    textColor = [UIColor blueColor];
    return self;
    This fixed it.. Now within the rest of my app I just allocate a UILabel like so...
    label = [[CustomLabel alloc] initWithFrame:CGRectMake(0, 160, 480, 30)];
    That always happens, I struggle with something for a bit, then post a question about it, then I figure it out on my own! LOL Hopefully someone else fnds this useful.

  • Hi, I need a video editing software for my Power Mac G5 system. Hunted all over for one! Can anyone help me and point me in the right direction. Everything I come across is for intel based systems. Many thanks in advance.

    Hi, I need a video editing software for my Power Mac G5 system. Hunted all over for one! Can anyone help me and point me in the right direction. Everything I come across is for intel based systems. Many thanks in advance.

    I have Final Cut Studio V1 - the PPC/Intel V5/5.1 cross-grade version, which would suit your requirements perfectly. (I have it for sale at present down here).
    If you keep looking, you're sure to find a similar second hand copy in your area, without the need to upgrade your graphics card.
    I'd go for Final Cut Pro as above over any version of Express. FCP has the full version of LiveType - not the truncated version that was released later on.

  • Need advise about new computer (OS Win8.1) to run CS6 - please point me in the right direction  Thanks

    Question:  Need advise about new computer (OS Win8.1) to run CS6 - please point me in the right direction  Thanks

    OSX comes with Xcode. Install it and see what you think. You can write both Java and Objective-C. They both have a particular syntax that is quite different from VB. Try to use them to write a HelloWorld program and see what you think.
    Apple has come a long way in integrating Java into their development environment. Still, it was designed around Objective-C, so that might be more of a "pure" MacOS X development experience.

  • Creating documents-please point me in the right direction

    Could someone please point me in the right direction:
    I have a couple of tabbed panes which contain some data-
    i save the data to mySql db.
    i read the databack. and get a rs.
    i want to take this data and put it into a document(namely pdf).
    -so that it is not editable.
    -so that i can preview the document before printing it
    I would like to print the data on a template - if possible? can i use a word template?

    Could someone please point me in the right
    direction:
    I have a couple of tabbed panes which contain some
    data-
    i save the data to mySql db.
    JDBC will handle this easily.
    i read the databack. and get a rs.
    Good.
    i want to take this data and put it into a
    document(namely pdf).Consider using XSL-FO (if you are comfortable with XSL) or i-Text (if you want to create the PDF programatically)
    -so that it is not editable.This is the default behavior of PDF.
    -so that i can preview the document before printing
    it
    This is provided by most Acrobat readers within a browser.
    I would like to print the data on a template - if
    possible? can i use a word template?Huh? Now you lost me. PDF is a document format. Word is a document format. You can include a PDF in a Word document. However, why would you do that? You already have a PDF.
    - Saish

  • Please point me in the right direction

    I've been developing with AS2 for many years. I want to create an AS3 app for android and ios but am entirely confused about what tools i need to use. I bought Cs5 and started learning AS3. I am using Flash CS5 since that's what I am familer with (I am first, a designer). One of the biggest problems is that I can't figure out how to do a splash/loading screen for android with Flash. I read that Flex can do this. So..Am I supposed to develop my app with both flash and flex? or can I just use flash. The loading screen is very important. I don't want to have to buy flash builder just to make a loading screen. thanks for your help. I really need it!

    Thanks, Red.
    Hmmm. Mail would have a preference to not have itself as the default email reader? Ah, but I have to set up Mail in order to get to its preferences. Tricky.
    Let me explain further what I'm trying to do. I use a time-keeping and billing application that allows me to send an invoice (as a PDF attachment) from within the app. BUT, it only sends via Mail. My workaround at the moment, since I use Entourage, is to use the Print dialog box to save the invoice as a PDF and then attach the file to an Entourage email. This works just fine. Hopefully the developer will allow users to choose email application in the future.
    But, while I was brainstorming this workaround, I saw that in the print dialog box, under the PDF button, is a Mail PDF function, which also uses Mail. So, I was thinking that if I could make something like that but that uses Entourage, it might save me a step, as the invoice is saved in the application for future access. I don't really need the PDF, except maybe to keep a copy of it with the rest of the job files for archiving.
    So, I searched and found the file. It's called Mail PDF.workflow, and its icon shows it to be an automator document. I looked at the workflow in Automator, but it looks like it's one action. (On my computer it's in the main Library/PDF Services folder.) I just literally decided to look into Automator today (although have known about it), so I really have no idea what I'm getting into.
    So, I think this may be too much for me, but I know there are other people out there who prefer non-Mail applications, so I figured I'd come here and ask you nice people to point me in the right direction.
    Thanks--d

  • I have an older airport express but don't know where to look to find its model number.  The version number is airport utility 6.3.4 (634.17).  Can anyone point me in the right direction?  Thanks.

    I have an older airport express, but don't know where to look to find its model number. 
    The version number is airport utility 6.3.4 (634.17). 
    Can anyone point me in the right direction?  Thanks.

    Hard to see it's so teeny. I needed a magnifying glass.
    FWIW, you should not mark your reply as Solved because you did not solve your question. Helpful and Solved are used to reward the user who help you or solved your problem.

  • I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Thanks

    I can't rate or write a review for app on the app store. It allows me to write out the review but does not diplay my review after sending it. Can anyone point me in the right direction to get answer as apply refuse to reply or solve my problem. Ps thanks apple for ur ignorance

    I have the same problem with another TeamLava app, Fashion Story.

  • Can anyone point me in the right direction for the link to download Acrobat 9 Standard?  I found the link to download 9 Pro but not standard.  Old computer crashed and new computer does not have a CDR/DVD rom drive.

    Can anyone point me in the right direction for the link to download Acrobat 9 Standard.  I found the link to download 9 Pro but not standard.  Old computer crashed and new computer does not have a CDR/DVD rom drive.

    Hi,
    Standard or Pro would be licensed through your serial number, the download link and downloaded file would be the same for both of them.
    Pro or Standard would be determined after you put in your serial number.
    Download Acrobat products | 9, 8
    Thank You
    Arjun

  • I recently deleted approximately 80gb of space on my hard drive by dragging items to the trash and then emptying the trash.  However, the space does not show up on my HD as free. Can anyone point me in the right direction?

    I recently deleted approximately 80gb of space on my hard drive by dragging items to the trash and then emptying the trash.  However, the space does not show up on my HD as free. Can anyone point me in the right direction?

    If you are using File Vault, turn it off.  To find out where all the extra space is use any of these products - Disk Inventory X
    OmniDiskSweeper
    WhatSize
    SpaceControl

  • When playing a home video DVD using DVD Player I tried to use the "Controls, Use current frame as jacket picture" facility to create a printable image but with no success. Can anybody point me in the right direction?

    When playing a home video DVD (created on my Panasonic DVD/Hard Disc recorder)  using the Mac DVD Player, I tried to use the "Controls, Use current frame as jacket picture" facility to create a printable image but with no success. I assume that any file created by this action would be stored somewhere in a common format but cannot find any such file. Can anybody point me in the right direction?

    Hi Sinious,
    Interesting to know about 10.8 and Flash. I'll hold off upgrading until they work together. Currently using 10.6.8 at home and same on the Universtity's computers.
    Haven't verified on Windows but shall do later in the week if I can get access to a Windows machine.
    Both the Flash player and the Projector come up not full screen, and if I leave it that way then things work OK as long as I don't make the video full screen (using the full screen button on the skin).
    However if I make the swf or projector full-screen (by using CMD-F or the menu option) then when I click on the menu item to take me to the page with the video on it, instead of a page with a smallish video and back button I get a black screen with no obvious controls. If I then press Escape I get my normal screen back and I am in the page that should have the video but there is not video and the back button does not work. So something wierd is going on here.
    If I make a file without any videos with a similar navigation structure everyting works ok except that when I go full screen I lose the finger cursor when I roll over my buttons (which is also wierd).

Maybe you are looking for

  • How to write a Xml installation file to build  web installer using IzPack.

    Hai everyone, I have got a problem in building a web installer using IzPack.I am getting this exception,when I am compiling my install.xml using a compile tool provided by IzPack soft.Eventhough I have not mentioned "packsinfo.xml" in my Xml installa

  • Oracle rownum wrong explain plan

    SCOTT@oracle10g>create table t as select * from dba_objects; Table created. SCOTT@oracle10g>alter table t modify CREATED date not null; Table altered. SCOTT@oracle10g>insert into t select * from t; 50416 rows created. SCOTT@oracle10g>insert into t se

  • Export Option in Custom Form

    Dear Members, I have developed a custom form in Oracle Applications using Template.fmb. I am using the above custom form successfully in oracle applications for all purposes like data entry querying etc. But when Iam trying to export the data from th

  • Install 11.5.10.2 Linux Redhat AS3

    Hi, I'm installing the app on an server at home to further develop my skills and i'm a newbie to apps installations and linux so apologises for the silly questions. I have sucessfully installed the application before however i came across a problem w

  • How do i re install windows 7 on a new hard drive on a hp mini 110

    just fitted a new hard drive in my hp mini 110 can any body tell me how to reinstall windows 7 back on the hard drive i have the bios password so i can change the boot up pref new to this side off computers learning a lot thanks andy