Hey fellows...need some help here....please..!!!

OK, this is what I have....;javax.swing.*;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
public class Interface extends JFrame implements ActionListener{
Queue queue;
JButton QButton;
JLable QLabel;
public Interface(){
window = new JFrame("practice");
window.setBounds(0,0,250,200);
window.getContentPane().setLayout(null);
queue = new Queue(); The error I get is:
java.awt.Queue is not public in java.awt; cannot be accessed from outside package
Any ideas!!!

Okay, first point I notice is that the first line should be "import javax.swing.*" not "javax.swing.*"
The reason for the error is that you are using your own 'Queue' class (I presume), and yet there is a Queue class also in the awt package (which is not intended for developer use). This means the compiler does not know which Queue class to pick. Removing the 'import java.awt.*' should get rid of this error. However, if you are using any of the classes in the awt package (such as Button, BorderLayout, etc), you will need to import them individually (e.g. import java.awt.Button;).

Similar Messages

  • I need some help here please!

    i am working on a website thats going to be a friend loop
    such as facebook myspace classmate etc. im in the proccess of
    making the site now and i was wondering what i need to to to enable
    useres to be able to login and create a profile page on my site?
    how can i do this using DW2004 what am i looking at here? also
    anyone who would be interested in helping e-mail
    [email protected] we have the site up on a server but we are
    far from done

    > such as facebook
    > myspace classmate etc. im in the proccess of making the
    site now and i was
    > wondering what i need to to to enable useres to be able
    to login and create a
    > profile page on my site?
    hire a team of skilled programmers, put them in a cage and
    toss money at
    them.
    or spend a lot of time learning how to do it yourself.
    or try a free or commercial pre-written application
    http://www.hotscripts.com/search/?q=myspace&cat=All&page=1&sort=&license_typ
    e=free
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • ITunes Match is driving me nuts! I need some help here please!

    iTunes Match hast been stuck in the Step 2 forever, 17286 out of 17287 Songs Checked, it will always get stuck there, and this is everything I've tried so far to solve the issue:
    1) Stopping the process, and turning it back on again.
    2) Updating iTunes Match in the Store Menu.
    3) Signing out of the iTunes Store and signing back in.
    4) Quiting iTunes and restaring the application.
    5) Restarting the Mac.
    6) Converting all the "Waiting" iCloud Status songs to ACC 256 VRB kbps Version, deleting the originals, keeping just the converted ones.
    But nothing seems to work, it will just stay there and do nothing.
    I've managed to Match 13193 songs and Upload another 2964 songs, but once it has stopped uploading and here I am.
    Guys, if something similar has happened to you, and you've figured it out by doing something I haven't tried yet, please let me know, it will be much appreciated.

    Try the dedicated iTunes Match forum: https://discussions.apple.com/community/itunes/itunes_match

  • Need some help here please

    My computer was sent away for repairs and among other things (it was a very sick computer) it was reformatted. When I got my computer back I downloaded iTunes and plugged my iphone in. It recognised that i had a iphone and an account but I cannot do anything with it on itunes - I cant move the apps around, I cant put music on - nothing. If anyone knows how to fix this little it would be greatly appreciated.
    P.S I am about as far from computer savvy as you can get so step by step instructions would be a bonus lol

    By design, the iphone will sync itunes content with one computer at a time. Any attempt to sync such content with a second computer will result in ALL itunes content being first erased from your phone & then replaced with the content from the second computer. This is a design feature and cannot be overridden. The itunes content sync is one way: computer to phone. If you have photos that were synced to your phone or music ripped on your own that were not backed up, you will first have to extract them from your phone using third party software:
    http://www.wideanglesoftware.com/touchcopy/index.php
    Once you've done that, do the following in the order specified:
    1. Disable auto sync when an ipod/iphone is connected under preferences in itunes, which in windows is under the edit menu.
    2. Make sure you have one contact & one event in whatever programs you use for that purpose on your computer. The entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect your phone, itunes running, do not sync at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on your phone will be in your itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore your itunes content, which you select from the various tabs, You'll get a popup regarding your contacts & calendars asking to merge or replace, select merge.
    That's as good as it gets without a backup of your itunes library.

  • Hi, Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) shows a yellow triangle saying : Charging is not supported with this accessory. Please I need some help here. Thanks =D

    Hi Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) appears a golden triangle saying :Charging is not Supported with this accessory. Please I Need Some Help Here. Thanks =D

    sounds like the cable or the iphone connector are somehow damaged

  • Need some help here on the proper settings for quicktime exporting from imovie that won't degredate the footage from my handycam

    need some help here on the proper setting for quicktime exporting that won't denegrate my footage from handycam canon fs200

    What are the existing settings iMovie?
    Al

  • Cannot get slide show in full screen mode to come up on secondary monitor regardless of how I set up show it always opens on primary screen.  Need some help here.

    Slide show in PowerPosint for mac 2011 on iMac will not open full screen mode on secondary monitor.  Regardless of how I set the slide show preferences it always opens on primary monior with secondardy monitor having totally balck screen.  Need some help if anyone else has run into this problem.

    You should contact Microsoft for Mac Support  and/or post in their forums.

  • Need Some Help Here From The Pros....

    Hi all...Im new here you see. I have some questions here..
    1) May I ask if anyone could just tell me how to actually create a partition like Windows do in Mac OS? I need the partition to do my backups and save some of my important documents.
    2) Can we actually create a password to secure certain of my files so that anyone wants to browse it will have to enter the password? Is it possible to do that?
    3) Im also trying to use Visor(i cant remember the name, it's a software to enable Mac to run windows without the boot camp) but i tried on my friend's Macbook, I cant use the MSN camera function... Anybody have any idea??? Or it's not compatible with the camera built-in.
    4) I want to use "3D Studio Max", its it compatible with Mac OS??? and will it be laggish if i uses macbook 13" white?
    Please help....

    Hi!
    1) May I ask if anyone could just tell me how to actually create a partition like Windows do in Mac OS? I need the partition to do my backups and save some of my important documents.
    With your external drive attached, open Disk Utility, found in Applications/Utilities. Choose your drive on the left, and use the Partition tab to set up the number and type of partitions. Partitioning will delete all data on the drive.
    2) Can we actually create a password to secure certain of my files so that anyone wants to browse it will have to enter the password? Is it possible to do that?
    Don't forget that the Mac, just like Windows, is multi-user. You can set up a user for yourself and one for guests or specific people. Nobody can see anybody else's files. You can lock your computer when you go away from the desk if you want absolute privacy.
    Or, you can create an encrypted disk image (also using Disk Utility) to store private files if you really want to stick with one user account.
    3) Im also trying to use Visor(i cant remember the name, it's a software to enable Mac to run windows without the boot camp) but i tried on my friend's Macbook, I cant use the MSN camera function... Anybody have any idea??? Or it's not compatible with the camera built-in.
    Do you mean VMWare Fusion? I believe iSight support is included in the VMWare Tools - when you're running Fusion, there's a menu option to install/update those tools.
    4) I want to use "3D Studio Max", its it compatible with Mac OS??? and will it be laggish if i uses macbook 13" white?
    I believe it's Mac only, so you should check the Windows specs (RAM requirements, graphic card VRAM, etc) to see if you can run it within a virtual Windows on your Macbook.
    Matt

  • My new K7N2-Delta need some help here!

    Recently i bought a brand new k7n2 delta L and i need some advice on how to overclock with this new mobo, with the km2m it was piece of cake but this is a little bit more complete. I will appreciate the help and tips in this matter more over because my first attempt resulted on a non responsive system :P no post to be more clear.
    Thanks in advance.
    By the way my cpu is an athlon xp 2000+ tbred (i don't know if it is unlocked)

    read all this first
    https://forum-en.msi.com/index.php?threadid=40413&sid=
    https://forum-en.msi.com/index.php?threadid=32088&sid=
    https://forum-en.msi.com/index.php?threadid=38822&sid=

  • Hey Guys, I need some help here

    Im doing some create view and create procedures for my work.
    In creating view, its just done perfectly.
    However with create procedures work, I got some problem with the result.
    So here is the coding:
    create or replace
    PROCEDURE "USP_EDW_CASH_MARGIN"
    result_cursor          OUT     TYPES.cursor_type
    AS
    CURSOR v_cursor IS
    SELECT
    to_char (CM100,'99999999999999.99'),
    to_char (CM101,'99999999999999.99'),
    to_char (CM200,'99999999999999.99'),
    to_char (CM300,'99999999999999.99'),
    to_char (CM301,'99999999999999.99'),
    to_char (CM310,'99999999999999.99'),
    to_char (CM320,'99999999999999.99'),
    to_char (CM400,'99999999999999.99'),
    to_char (CM401,'99999999999999.99'),
    to_char (CM402,'99999999999999.99'),
    to_char (CM500,'99999999999999.99'),
    to_char (CM720,'99999999999999.99'),
    to_char (CM730,'99999999999999.99'),
    to_char (CM740,'99999999999999.99'),
    to_char (CM999,'99999999999999.99')
    FROM VW_CASH_MARGIN a;
    v_id varchar2(100);
    v_row varchar2(4000);
    v_clob CLOB;
    v_buffer varchar2(10000);
    BEGIN
    v_id := 'EDW_CASH_MARGIN';
    DELETE FROM TBL_INTERFACE_DATA WHERE cd = v_id;
    INSERT INTO TBL_INTERFACE_DATA (CD,INT_DATA,DT_CREATED)
    VALUES (v_id,EMPTY_CLOB(),(SELECT CURR_PROC_DATE FROM TBL_PROC_DATE));
    SELECT INT_DATA INTO v_clob
    FROM TBL_INTERFACE_DATA
    WHERE CD = v_id
    FOR UPDATE;
    OPEN v_cursor;
    v_buffer := '';
    dbms_output.put_line(LENGTH(v_buffer));
    LOOP
    FETCH v_cursor INTO v_row;
    EXIT WHEN v_cursor%NOTFOUND;
    if (length(v_buffer) + length(v_row)) < 10000 or v_buffer is null then
    v_buffer := v_buffer || v_row;
    else
    DBMS_LOB.WRITEAPPEND(v_clob, LENGTH(v_buffer), v_buffer);
    v_buffer := v_row;
    end if;
    END LOOP;
    if LENGTH(v_buffer) > 0 then
    DBMS_LOB.WRITEAPPEND(v_clob, LENGTH(v_buffer)-1, v_buffer);
    end if;
    CLOSE v_cursor;
    OPEN result_cursor FOR
    SELECT 'success' AS status FROM dual;
    END;
    After i run this coding.
    I got these errors :
    1)Error(46,5): PL/SQL: SQL Statement ignored.
    2)Error(46,5): PLS-00394: wrong number of values in the INTO list of a FETCH statement
    It says that the error is with this code "FETCH v_cursor INTO v_row;"
    Can someone please help me.

    ok let me explain with emp table.
    DECLARE
    CURSOR c IS SELECT ename,sal FROM emp;
    v_ename VARCHAR2(2000);
    BEGIN
    OPEN c;
    LOOP
    FETCH c INTO v_ename;
    EXIT WHEN c%NOTFOUND;
    Dbms_Output.put_line(v_name);
    END LOOP;
    CLOSE c;
    END;Here i'm selecting 2 columns in the cursor and getting into one variable.
    So i'm getting error like this
    ORA-06550: line 7, column 1:
    PLS-00394: wrong number of values in the INTO list of a FETCH statement
    ORA-06550: line 7, column 1:
    PL/SQL: SQL Statement ignored
    DECLARE
    CURSOR c IS SELECT ename,sal FROM emp;
    v_ename VARCHAR2(2000);
    v_sal NUMBER(10);
    BEGIN
    OPEN c;
    LOOP
    FETCH c INTO v_ename,v_sal;
    EXIT WHEN c%NOTFOUND;
    Dbms_Output.put_line(v_ename||v_sal);
    END LOOP;
    CLOSE c;
    END;Here i'm selecting 2 columns in the cursor and getting into two different variables.so no error.
    DECLARE
    CURSOR c IS SELECT ename,sal FROM emp;
    v_row c%rowtype; -->record type declaration
    BEGIN
    OPEN c;
    LOOP
    FETCH c INTO v_row;
    EXIT WHEN c%NOTFOUND;
    Dbms_Output.put_line(v_row.ename||v_row.sal);---> Here i'm mentioning which column to be printed
    END LOOP;
    CLOSE c;
    END;Same thing i'm getting all columns variable into the records so no error.
    and also pls read this
    How to ask question
    SQL and PL/SQL FAQ

  • Hey I need some HELP!! Please, it's important...

    Hi everybody! First post in here...well today I accidentally installed iTunes 7.6 pressing "software upgrade". Since I'm using OSX 10.4.8 iTunes 7.6 doesn't open: it pops out kind of "need the OSX upgrade for 10.4.9 or 10.4.10 up!!"...I can't upgrade to 10.4.10 or 10.4.11 because of Pro Tools (7.1 version can give some trouble with these OSX versions).
    WHAT SHOULD I DO??
    Should I uninstall iTunes 7.6? Just by trashing it and then using an old version (which one would you suggest)?? I found (http://mac.oldapps.com/itunes.php) old iTunes version...but I actually can't remember which one I was using (it worked great with my 10.4.8).
    Gotta say I'm a little bit scared...thanks in advance!
    Hed

    Searching in the forum, I found this...
    "To downgrade - D/L what version you want at - http://www.oldapps.com/downloadiTunesmac.php
    Go to HD>Library>Receipts - remove the iTunesX.pkg to the trash.
    Drag your iTunes app to the trash. B/U your iTunes Library and .xml files. B/U your iTS purchases.
    Repair permissions with Disk Utility - install iTunes - repair permissions again.
    Open iTunes - if all is well you can empty the trash.
    MJ"
    But which version should I use with OSX 10.4.8??
    Any help?
    ...Hed

  • I really need some help here....Please?

    Hey guys i have posted numerous threads regarding this issue but to no avail so im going to try one last time.
    Basically, Itunes works fine UNTIL i start to sync, Then it freezes up for a while then starts to sync a little bit...Then freezes and syncs a little bit..And so on..
    It took me 2 WHOLE days to sync 15 episodes of southpark.
    I transfered some movies and songs to my wifes laptop and it sync'd everything in around 50 seconds flat, So its now obvious that it must be my PC.
    I have USB 2 and i have 6 slots, I have tried ALL the different USB slots and it stays the same.
    Does anyone have ANY idea what this could be?
    I spoke to the guy who built my PC and he is changing the USB ports, He also said if that doesn't work he will change my motherboard..
    Is there a simple solution to this? Am i going to have to change Motherboard? ANY help would really be greatful.

    Hold your horses....
    Have you done some "rule out" testing? How do you know that the USBs are bad? How do you know that the MB is bad?
    1/ do all ports work when you plug a mouse in them?
    2/ what is a throughput when you plug a flash drive into these USBs (try 1 at a time) and copy a large file onto it? Test all the ports and compare speeds - are they at least 5-10 MB per sec? If yeah, then they are OK - system wise.
    If the USBs don't work and it's a PCI card, look for drivers and if no luck, buy a new card.
    If the USBs are built into the MB, then you have no other choice but to replace it, but only as the very last resort. Seems to me that he's trying ot hose you, my friend.....
    IN any case, it could be the drivers! Or..iTunes. Did you try to remove & reinstall?

  • Hey I need a code for an Itunes 25$ gift card because when I scratched with a coin like it says it scratched the code right of and its unreadable. I need some help here.

    What I want is a code so I can buy my Lord of the Rings Extended Edition Videos because its upseting to see how easy it is to ruin these codes. The code was for 25$ for Itunes and now its ruined please help me its Christmas and I just got my Ipod Touch.

    iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

  • I need some help here. someone please respond with some type of idea.

    okay, here's the deal
    when i take the Ipod out of the usb, i cut it on, and it's just a constant green light in the front that wont go away. it wont play, and wont have any affect on the buttons or anything. it's just a steady green light.
    it wont show my battery life until it's cut off.
    do you have any idea what's going on?
    i'm so uber angry it isn't funny.
    P.S.- I've had this ipod for like, almost a year.

    okay, here's the deal
    when i take the Ipod out of the usb, i cut it on, and
    it's just a constant green light in the front that
    wont go away. it wont play, and wont have any affect
    on the buttons or anything. it's just a steady green
    light.
    it wont show my battery life until it's cut off.
    do you have any idea what's going on?
    i'm so uber angry it isn't funny.
    P.S.- I've had this ipod for like, almost a year.
    See if this helps:
    http://docs.info.apple.com/article.html?artnum=303332

  • [VIA] Need some help here ... anyone please ?

    Hello,
             I'm new here, just wanna ask for some solution for my pc problem.
    I'm currently using Athlon XP 2.4, MSI KT400 (MS-6712AV) Mainboard, just bought for 3 months, but today when i start my pc, it comes out on the screen " Checking NVRAM ", than it stop, the system just hanged there, even that i kept restarting. Can anyone tell me what's the problem ? Does anything to do with my motherboard ? Thank you.

    emm, you reminded me Dr.Stu, i did remove my PS once yesterday to test on my other PC. this problem occured since i switched back. I did take out the cards and rams one by one, but same result.
    Now i unplugged one of the ide cable, i can successfully start my pc to windows, but in roughly few minutes, it'll auto restart. Same problem ?
    Thank you
    My Specs:
    AMD Athlon XP 2.4Ghz
    MSI KT4V MS-6712 MotherBoard
    MSI GeForce FX-5700 256mb Display Card
    768mb DDR Rams ( Apacer 256mb X2 , Kingston 256 X1 ) 
    ASUS 52X CD / 52X24X52 CD-R / Pioneer DVD-R A-109B/W 16X4X16 +-
    Creative SB Audigy 2 ZS Value SoundCard
    Eagle Aluminium ATX Casing with iCute 450Watt 2Fan PSU
    80Gb Western D HDD 8mb Buffer
    3 com 10/100 N/Card and Samsung 710v LCD Monitor

Maybe you are looking for

  • Campus Manager Data Collection always Idle

    Hello, Every time I  start Campus Manager Data Collection, I get a window "Notified server to run Campus Data Collection" but status always stay Idle (not running). LMS 3.2 Campus Manager 5.2.1 Thanks

  • DC Build Fail in Enterprise Portal DC

    DC Build Fails in Enterprise Portal DC The DC uses JCA to execute BAPI's in the backend system. What DC should be added to the Used Dc to make the DC build successfull? Thanks and Regards, Prasanna Krishnamurthy

  • CS3 won't let me print, MAC 10.5

    This is new occurrence. When hitting print, I receive a window that says: Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer. When I click OK, a new window appears saying: Could not c

  • My iPod speaker Is damaged

    Yes my iPod speaker  damaged and when I'm in any application not to miss anything got hit, also work, sometimes not well grabs the system and I have to turn it off for this normal

  • Search help to fill 2 related fields

    Hi I have a table that I populate though SM30. I have 2 fields and I have a matchcode for the first one. Since the end one is a description field, I would like that the when I choose a value from the searchhelp, it return 2 values , 1 to each field..