Hey everyone, i got a question to you.
When I am listening to my music, theres no picture of the actor or the album on my screen, but on my boyfriends iphone it is. So my question is, why isn't it on screen and how can i get it?
Yah when I tried to add multiple components without sucess I got rather confused here is what I tried...
I was making a non applet or a JFrame whatever you call them, so I made these two variables as class variables
MyOtherComponent me = new MyOtherComponent();
MyComponent mc=new MyComponent();
(I definded the components later on in the class)
I then wanted to display them, I did this in the class constructor which is called by main().
MyComponent one;
MyOtherComponent two;
JButton button;
me.setPreferredSize(new Dimension(40,40));
mc.setPreferredSize(new Dimension(40,40));
me.setPreferredSize(new Dimension(400,400));
me.setVisible(true);
mc.setVisible(true);
content.add(one = new MyComponent(), BorderLayout.CENTER);
content.add(two = new MyOtherComponent(), BorderLayout.WEST);
content.add(button = new JButton("yo"), BorderLayout.EAST);
content.add(button = new JButton("S"), BorderLayout.SOUTH);
content.add(button = new JButton("N"), BorderLayout.NORTH);
I wanted to make a BorderLayout, and have two of my custom components in the layout but every time I try to run this mc is visible (the first component, and me is not visible...
it says me is not visible but i set it to visible clearly in the code, what is the problem..
dukes for this one
Similar Messages
-
Got a question for you guys...
I just got a AMD 6400+ for my DKA790GX Platinum and my question is this...
In EVEREST under CPU Type its calling it "dual core AMD athlon 64 X2 black edition". From what I understand the black edition is a special edition processor
that comes in a all black box. the box is saying its a ADX6400CZBOX.
why is EVEREST calling it a black edition??1) Go to file, select new playlist. Creat the playlaist.
2) Download your music into iTunes.
NOTE: CHECK 'Recently Added' before you download your music.
If the select boxes has a check in them, turn it off by
holding down the 'ctrl' key and selecting one of the
checked boxes. This shold turn off all the checks.
It would be better to clear 'Resently Add' of all
previous downloads, but I don't know how to do that
yet.
3) under 'PLAYLIST' on the right, select 'Recently Add'.
all of your song should show there with a check in the selection
box.
4)Hold the shift key and select the frist (selete records name),
then the last recorded tune. All of the recordings shouls light
up blue.
5) While holding the 'shift' key, drag one of the records to your new
playlist. All of the blue highlighted song will transfer to the new
playlist. -
Hey guys I have a question for you all.
I set my security question a couple of years ago and now can't remember the answers and the email I set up to retrieve the answers I also can not remember the password to. So if you guys have any easy solutions... I can get on my account and buy things easily on my ipod, but when I try on my mac I have to answer the security questions. Help please!
The Three Best Alternatives for Security Questions and Rescue Mail
1. Use Apple's Express Lane.
Go to https://expresslane.apple.com ; click 'See all products and services' at the
bottom of the page. In the next page click 'More Products and Services, then
'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
ID security questions' and click 'Continue'. Please be patient waiting for the return
phone call. It will come in time depending on how heavily the servers are being hit.
2. Call Apple Support in your country: Customer Service: Contacting Apple for support or
Apple ID- Contacting Apple for help with Apple ID account security. Ask to speak to
Account Security.
3. Rescue email address and how to reset Apple ID security questions.
How to Manage your Apple ID: Manage My Apple ID -
Got a question for you haskellers
Hello there Arch members! Thanks for being the awesome community that you are.
On my spare time I've been trying work out my programming muscles... as they are very weak.
What I've got here is haskell code to open a file, read its contents, parse the contents into a type I've defined, and output as much debugging info as i could manage to stdout.
The issue that I cant seem to grapple with is how to bind the final list to a symbol in my main function (ie: forrest <- makeforrest $ objs) so I can use it later.
I'd like the list to have elements that are singleton 2-trees so I can build a heap from the list. The immediate problem I run into is a type problem. If i were to add the code:
forest <- makeforrest objs
the compiler complains with "Couldn't match expected type 'IO t0' with actual type '[BinTree a0]'
Do I have to "unwrap" objs of the IO monad somehow first?
Any advice/help/insight is greatly appreciated.
module Main where
import Text.ParserCombinators.Parsec
import System.Environment
import System.IO
import Control.Monad
import CustTree
data DummyBag = DummyBag {key::String, val::Integer}
deriving (Show,Read,Eq)
parseDataFile :: GenParser Char st [DummyBag]
parseDataFile =
do obs <- many keyAndVal
eof
return obs
keyAndVal = do key <- many1 letter
spaces
val <- anyChar `manyTill` newline
return (DummyBag key (read val))
--extract :: DummyBag a -> (Integer,String)
extract (DummyBag key val) = (val,key)
singleton :: (Show a) => a -> BinTree a
singleton f = NodeBT f Empty Empty
makeforrest :: (Show a) => [a] -> [BinTree a]
makeforrest [] = []
makeforrest xs = map singleton xs
main :: IO ()
main = do args@(f:opts) <- getArgs
handle <- openFile f ReadMode
contents <- hGetContents handle
putStrLn ("DEBUG: got input\n" ++ contents)
let objs = case parse parseDataFile "(unknown)" contents of
Left err -> error $ "Input:\n " ++ show contents ++
"\nError:\n" ++ show err
Right results -> results
putStrLn "Debug: parsed: ";print objs
putStrLn "Debug: converted to forest:";print ( makeforrest objs )
return ()
And here is the output when tested on very simple input data:
DEBUG: got input
ABC 1
DEF 2
GHI 3
JKL 4
MNO 5
PQR 6
STU 7
VWY 8
YZ 9
Debug: parsed:
[DummyBag {key = "ABC", val = 1},DummyBag {key = "DEF", val = 2},DummyBag {key = "GHI", val = 3},DummyBag {key = "JKL", val = 4},DummyBag {key = "MNO", val = 5},DummyBag {key = "PQR", val = 6},DummyBag {key = "STU", val = 7},DummyBag {key = "VWY", val = 8},DummyBag {key = "YZ", val = 9}]
Debug: converted to forest:
[NodeBT (DummyBag {key = "ABC", val = 1}) Empty Empty,NodeBT (DummyBag {key = "DEF", val = 2}) Empty Empty,NodeBT (DummyBag {key = "GHI", val = 3}) Empty Empty,NodeBT (DummyBag {key = "JKL", val = 4}) Empty Empty,NodeBT (DummyBag {key = "MNO", val = 5}) Empty Empty,NodeBT (DummyBag {key = "PQR", val = 6}) Empty Empty,NodeBT (DummyBag {key = "STU", val = 7}) Empty Empty,NodeBT (DummyBag {key = "VWY", val = 8}) Empty Empty,NodeBT (DummyBag {key = "YZ", val = 9}) Empty Empty]module CustTree where
data Tree a = Node a [Tree a] deriving Show
data BinTree a = Empty | NodeBT a (BinTree a) (BinTree a)
deriving Show
data BinTree' a = Leaf a | NodeBT' a (BinTree' a) (BinTree' a)
deriving Show
-- Operations can be grouped into 'single' operations and 'global'
-- operations. Insertions and deletions are considered to belong
-- to the 'single' group where the following belong to latter.
depth :: Tree a -> Int
depth (Node _ []) = 1
depth (Node _ ts) = 1 + maximum (map depth ts)
depth' :: BinTree a -> Int
depth' Empty = 0
depth' (NodeBT _ lt rt) = 1 + max (depth' lt) (depth' rt)
--Count empty leaves in a tree.
countEmpty :: BinTree a -> Int
countEmpty Empty = 1
countEmpty (NodeBT _ lt rt) = countEmpty lt + countEmpty rt
--Suppose the nodes contain integers, summing the values
tsum :: BinTree Int -> Int
tsum Empty = 0
tsum (NodeBT a lt rt) = a + (tsum lt) + (tsum rt)
tsum' :: BinTree' Int -> Int
tsum' (Leaf a) = a
tsum' (NodeBT' a lt rt) = a + (tsum' lt) + (tsum' rt)
preorder :: BinTree a -> [a]
preorder Empty = []
preorder (NodeBT a lt rt) = [a] ++ preorder lt ++ preorder rt
inorder :: BinTree a -> [a]
inorder Empty = []
inorder (NodeBT a lt rt) = inorder lt ++ [a] ++ inorder rt
postorder :: BinTree a -> [a]
postorder Empty = []
postorder (NodeBT a lt rt) = postorder lt ++ postorder rt ++ [a]
Thanks for taking a look
Last edited by ickabob (2011-03-23 06:58:47) -
Is it possible to have Enterprise Edition and J2 SDK 1.4 on the same system without any problem in running the programs??
If No, What really happens that goes wrong?
If Yes, How t configure the system?I don't recommend that you have a development library on a production system. The only thing on the server should be the bare minimum to make it work. Your going to be cracked before the rooster crows.
-
Hey everyone :) I need help resting my password secuirty questions
Hey everyone okay so its getting a little bit frusturating because this is the second time now that i've had to rest my password secuirty questions, but i guess i have no one to blame but my self ugh. Anways sorry, i know kind of how to rest it but it says that i need a rescue email to rest it to and i guess id don't have a rescue email yikes. So i need help putting in a rescue email. Help anyone? Please i really wanna buy song grrrr help
Savannah S. xxYou won't be able to add a rescue email address until you can answer your questions, you will need to contact iTunes Support / Apple in your country to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312 -
Hi everyone, I got my iphone 5 already, and it was comming lined, what you guys think I have to do? Im from central america.
"comming lined" does not make any sense in English. "comming" isn't even a word.
Please rephrase the question or post in your native laguage. -
Hi everyone, I've got a question. I've noticed that Itunes says me exactly the number of times that I've listened a song since I've put it on the library. Well, I've just put on some new music and I was wondering if there is a way to reproduce only the songs that Itunes nerver played without creating a new playlist.
Thank you
SimoneWelcome to the Apple Support Communities
This isn't possible, but this is a great idea > http://www.apple.com/feedback -
Hi there how are you guys out there of this forum? I got a question for y'a
Hi there how are you guys out there of this forum? I got a question for y’all
I wanted to know how I could record different folders using iTunes
Cause when recorded 2000 thongs on the DVD
There were 2000 songs to go through
So I really wanted to have had folders and then the music recorded inside them
So I could get right to where I wanted real quickly
Could anyone please teach me how to do that real quickly?
Can we do it with iTunes?
I know we can do it with Nero.1) Go to file, select new playlist. Creat the playlaist.
2) Download your music into iTunes.
NOTE: CHECK 'Recently Added' before you download your music.
If the select boxes has a check in them, turn it off by
holding down the 'ctrl' key and selecting one of the
checked boxes. This shold turn off all the checks.
It would be better to clear 'Resently Add' of all
previous downloads, but I don't know how to do that
yet.
3) under 'PLAYLIST' on the right, select 'Recently Add'.
all of your song should show there with a check in the selection
box.
4)Hold the shift key and select the frist (selete records name),
then the last recorded tune. All of the recordings shouls light
up blue.
5) While holding the 'shift' key, drag one of the records to your new
playlist. All of the blue highlighted song will transfer to the new
playlist. -
got a question for all you peeps
dos anyone know about i phones i have a i phone 3gs which i got unlocked i did a master reset or summin and just had a pic of apple so i plugged it in i tunes downloaded and it now says no service at the top of phone and i tunes says invalid sim i put the correct sim in it used to be locked too and still says same pls any one with ideas?hi sorry what happoned is that ages ago i brought a i phone 3gs on 02 network i went to a sml phone shop and payed for them to unlock it. it has been fine till yesterday when i went to reset it from the phone it then turned off and came back on just just an image of a apple for about an hour so i connected to i tunes and it said downloading software after another hr it had finished but then i tunes said in had to insert a sim so i had to un plug the phone from laptop while i did this i put my orange sim in and the i phone said where do i live and had to connect to a internet connection but all the time saying no service where the signal bar is and then says activating i phone it took a few min and said couldnt finish it bec of the signal and to connect it to i tunes to do it so i connected it to itunes and i tunes just keeps saying invalid sim so i took my orange sim out and put a 02 sim in and is still saying invalid sim on itunes?
-
How can you change your security questions if you for got them
how can you change your security questions if you for got them
Welcome to the Apple Community.
Start here, and reset your security questions, you will receive an email to your rescue address, use the link in the email and reset your security questions.
If that doesn't help or you don't have a rescue address, you might try contacting Apple through iTunes Store Support -
hey i forgot about the question and answers and when the balance of 15d and i want to buy software form i tunse for regettably i could
The page that you posted from has instructions for how to reset them i.e. if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then steps 1 to 5 half-way down that page should give you a reset link.
If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset (these are user-to-user forums).
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use -
Hi All,
When I try to connect to wi-fi, it asks for a password. Then I got this question. If you don't know the password, check with the Wi-Fi network administrator, but how do I find the network administrator.Whomever provides the wi-fi.
To what wi-fi network are trying to connect? -
hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?
You can get your Security Questions reset by contacting iTunes Support at either of the two links below. Select the best options for your issue, or provide specific information. Let them know you are contacting them concerning Forgotten Security Questions. They will get back to you via your primary email address, usually within 24 hours. Once your Security Questions have been reset, you will be able to go in and reset your Rescue email address on your account:
http://www.apple.com/support/itunes/ww/
or by email:
http://www.apple.com/emea/support/itunes/contact.html
Cheers,
GB -
Hey Adobe, stop asking whether I want you to install updates automatically. I DON'T. Some programs I run crash if you jump in there and start asking questions.
You can set your preferences to not prompt you for updates, either having them done without asking, or relying on yourself to manage them
Maybe you are looking for
-
Who do you categorize in Numbers 3.0
The most useful feature of Numbers in iWorks 9 was the Categorize feature. This alone made me switch over to Numbers from MS Excel. However now Apple has removed this feature in Numbers 3.0! How am I supposed to categorize with Numbers? Do I retu
-
Macbook Pro will not go to sleep at some moment!
This happens frequently, I try to put my Macbook Pro to sleep and it just wakes up again after a couple of seconds. Every time it does, the fan blows heavily for a couple of seconds. The computer runs as it should, only problem is, it runs while it s
-
Any fast way to move objects in front panel?
Hi there, I don't know if this is asked before. It is not a technical question but I wonder any way to move any object/control on the front panel quickly. I try to google and search in the forum but didn't see any way to do so. Sometimes, while dev
-
The bottom half of my screen wont work. i cant unlock my phone
is there anything i can do to fix this
-
Hi, I'm wondering if I can get an alphanumeric string from the users, I know that we can get digits using Get Digit String but what about getting characters so for example I can send an email for the caller email address or any other purposes.. could