How to draw in class out side of it ???
Hi
Im trying to create :
class MySomething extends Component {
public MySomething() {}
public void paint(Graphics g) {
g.drawString("MySomething",10,10);
but when i call it from a applet it doesnt draw in the applet.
Thanks for all the help
Firstly, this should be posted in Applets forum. You would get more answers there than here.
Hope you are aware that Applets belong to Life cycle concept. And the life cycle is operated by the JVM. Please see how the applet life cycle works and embed what you want according to its applet flow.
Try using paint(Graphics g) from Applet's paint, update and repaint.
There could be several posts in the Applet forum on this issue.
Similar Messages
-
How to draw in class from out side of it ???
Hi
Im trying to create :
class MySomething extends Component {
public MySomething() {}
public void paint(Graphics g) {
g.drawString("MySomething",10,10);
but when i call it from a applet it doesnt draw in the applet.
Thanks for all the helpCross-posted:
http://forum.java.sun.com/thread.jspa?threadID=606488 -
How to open a document out side the .war file
Hi all,
I have initially stored a document outside the WEB-INF in the .war file to retrieve it from a jsp file of the same war file. But now the file has been stored at a location on the same server and outside the .war file. how can I retrieve the file path and location outside the war file from the jsp. I ve previously used the following code when retrieving from a directory "docs" of the same .war file as:
<td class="FormLableLeft"><a href="#" onClick=window.open("/docs/<%=colData.get("DOCUMENT_NAME")%>")><%=colData.get("File_NAME")%></a> </td>please suggest me how to retrieve the document located outside the war.Create a servlet which reads the file from the local file system and writes it to the outputstream of the response after having set the response headers accordingly. Then simply call that servlet by URL along with the file ID as request parameter or pathinfo. You may find this example useful: [http://balusc.blogspot.com/2007/07/fileservlet.html].
-
How can I Create Class Diagram and save as image in Java
Hi
I have to make a project in java that will generate class diagram of the input class file.
I have some knowledge of listing methods/properties of a class file in text from but don't really know how to draw a class diagram model (JBuilder 2005 such class diagram whenever a class is compiled). I have to save that class diagram in an image file as well.
Please guide me what must be my line of action to follow. I need some suggestions on urgent basis.
Thanx in advance
RegardsHi
My problem is that I have to construct toll like JUDE. What I need from this tool is just to simply draw the diagrams and save in an image format.
So I need to know how to draw the diagram and save in an image file. I don't know about the drawing libraries available in Java. Kindly help me
Regards -
Can't figure out how to print on the right side of a greeting card using a 5X7 when folded
I have a HP Officejet Pro 8500A. I am trying to print a greeting card, but cannot figure out how to print on the right side of the paper so that it's on the correct side when folded. The paper is 5X7 when folded, 10X7 laid flat.
shgilljx,
Welcome to the forums. I will try to explain this in simple terms, and you'll have to play with it. We'll use plain paper, cut to 10x7. You'll need a marker, 4-5 sheets of paper.
Lay paper flat, number top 1, bottom 2. Flip paper over right to left. number top 3, and bottom 4.Draw a line where the fold would be on each page.1) Put paper with number 3 side up in printer.
To create both templates using MW Office, do this. The requires 2 documents. One is graphic, one is text.
Text template: The text will be printed on number 2. That means your wording must be within the bottom half of the page.
Graphic template: The image must be rotated 180 degrees.The image must be within the top half of the page.
Print the text template. Insert side #3 into the printer. The text should print on side #2.
Print the graphic template: Insert side #1 into the printer. The graphic should print on side #3.
When folded, all should be correct, if I did it right.
I am a volunteer. I am not an HP employee.
To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
(2) HP DV7t i7 3160QM 2.3Ghz 8GB
HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
Both Customs use Rosewill Blackhawk case.
Printer -- HP OfficeJet Pro 8600 Plus -
How to find Out Sid Of A Particular User?
How to find Out Sid Of A Particular User?
if you have a privillege for v$mystat
SQL> select distinct sid from v$mystat;
SID
140
If the user doesn't have privillege
In User Session ask him to run .
SQL> select sys_context('userenv','sessionid') from dual;
SYS_CONTEXT('USERENV','SESSIONID')
4294967295
In DBA session compare this value with v$session audsid
SQL> select sid from v$session where audsid=4294967295;
SID
140 -
I opened the hard drive and found some intrusive files under places in left side of window.. How do I take them out?
Thanks for the reply. I was able to save the data on the Macbook Air whose HD got corrupted by using File Sharing (ethernet connecting two Macbook Airs).
I am also going to make a disk image of the HD using Disk Utility and mount that Disk Image onto an external hard drive. That way I can save the hard drive contents. -
I can only figure out how to debug on the flex side
I am calling CFC methods from my flex applications but I can
only figure out how to debug on the flex side. Is it possible to
debug on the CFC methods begin called from flex? I don't think this
is possible but you may prove me wrong :)Thanks.
As a workaround I tried returning the thing that I suspect
the problem lies:
<cffunction name="updateField" access="remote"
returntype="String">
<cfargument name="field" required="true"
type="string">
<cfargument name="currencyName" required="true"
type="string">
<!--- <cfargument name="currencyID" required="true"
type="Numeric"> --->
<cfargument name="value" required="true"
type="Numeric">
<cfquery name="q" datasource="#datasource#">
update tbale
set <cfqueryparam value="#arguments.field#"
cfsqltype="cf_sql_varchar"> =
<cfqueryparam value="#arguments.value#"
cfsqltype="cf_sql_float">
where currencyName =
<cfqueryparam value="#arguments.currencyName#"
cfsqltype="cf_sql_varchar">
</cfquery>
<cfset flash.result="update RATES #arguments.field#" >
<cfreturn flash.result>
</cffunction>
but the following line does not return the correct string:
<cfset flash.result="update RATES #arguments.field#" >
I do I add arguments to the string? -
Can we define path for a bean out side work space?
<bean id="HSBCMarketsReports"
class="HSBCMarketsReportsConfiguration">
<property name="reports">
<map>
<entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
<entry key="PinnacleReportsData" value="PinnacleDummyData.xml"/>
</map>
</property>
</bean>it works well but when make the same as
<bean id="HSBCMarketsReports"
class="HSBCMarketsReportsConfiguration">
<property name="reports">
<map>
<entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
<entry key="PinnacleReportsData" value="C:\PinnacleDummyData.xml"/>
</map>
</property>
</bean>
it says C:\PinnacleDummyData.xml not found i work space , how to make it look for the file out side work space (particularly given location)LoveOpensource wrote:
<bean id="HSBCMarketsReports"
class="HSBCMarketsReportsConfiguration">
<property name="reports">
<map>
<entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
<entry key="PinnacleReportsData" value="PinnacleDummyData.xml"/>
</map>
</property>
</bean>it works well but when make the same as
<bean id="HSBCMarketsReports"
class="HSBCMarketsReportsConfiguration">
<property name="reports">
<map>
<entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
<entry key="PinnacleReportsData" value="C:\PinnacleDummyData.xml"/>
</map>
</property>
</bean>
it says C:\PinnacleDummyData.xml not found i work space , how to make it look for the file out side work space (particularly given location)Why dont you include the xml file in your workspace/web application?
All these are custom tags, right? So somewhere in the code for the custom tags, it would load the xml file for parsing.
There are different ways to load a file. The first is to use the absolute path (not recommended) and anyways I dont think your application does it that way because then your file would have been loaded even if it's outside the web application folder.
The better approach is to load the file as a resource stream.
The ServletContext object has a method getResourceAsStream() to load files from the web application path. But then the xml file has to be inside the web application and if this is indeed how your tags have been coded, you have no other option but to include the xml file in your web application.
There is another way - to use the ClassLoader's getResourceAsStream() method. The ClassLoader looks up the classpath variable to search for files. In this case, you need to add your xml file location (c:/dir or whatever) to the application server's classpath. Look up in the startup scripts for your application.
As I said, it all depends upon the tag code that looks up the xml file and whether you can tweak it.
cheers,
ram. -
How to draw a line(shortest distance) between two ellipse using SWING
how to draw a line(should be shortest distance) between two ellipse using SWING
any help will be appreciated
regardsimport java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.MouseInputAdapter;
public class ELine extends JPanel {
Ellipse2D.Double red = new Ellipse2D.Double(150,110,75,165);
Ellipse2D.Double blue = new Ellipse2D.Double(150,50,100,50);
Line2D.Double line = new Line2D.Double();
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
g2.setPaint(Color.green.darker());
g2.draw(line);
g2.setPaint(Color.blue);
g2.draw(blue);
g2.setPaint(Color.red);
g2.draw(red);
private void connect() {
double flatness = 0.01;
PathIterator pit = blue.getPathIterator(null, flatness);
double[] coords = new double[2];
double x1 = 0, y1 = 0, x2 = 0, y2 = 0;
double min = Double.MAX_VALUE;
while(!pit.isDone()) {
int type = pit.currentSegment(coords);
switch(type) {
case PathIterator.SEG_MOVETO:
case PathIterator.SEG_LINETO:
Point2D.Double p = getClosestPoint(coords[0], coords[1]);
double dist = p.distance(coords[0], coords[1]);
if(dist < min) {
min = dist;
x1 = coords[0];
y1 = coords[1];
x2 = p.x;
y2 = p.y;
break;
case PathIterator.SEG_CLOSE:
break;
default:
System.out.println("blue type: " + type);
pit.next();
line.setLine(x1, y1, x2, y2);
private Point2D.Double getClosestPoint(double x, double y) {
double flatness = 0.01;
PathIterator pit = red.getPathIterator(null, flatness);
double[] coords = new double[2];
Point2D.Double p = new Point2D.Double();
double min = Double.MAX_VALUE;
while(!pit.isDone()) {
int type = pit.currentSegment(coords);
switch(type) {
case PathIterator.SEG_MOVETO:
case PathIterator.SEG_LINETO:
double dist = Point2D.distance(x, y, coords[0], coords[1]);
if(dist < min) {
min = dist;
p.setLocation(coords[0], coords[1]);
break;
case PathIterator.SEG_CLOSE:
break;
default:
System.out.println("red type: " + type);
pit.next();
return p;
public static void main(String[] args) {
final ELine test = new ELine();
test.addMouseListener(test.mia);
test.addMouseMotionListener(test.mia);
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.add(test);
f.setSize(400,400);
f.setLocation(200,200);
f.setVisible(true);
EventQueue.invokeLater(new Runnable() {
public void run() {
Graphics g = test.getGraphics();
g.drawString("drag me", 175, 80);
g.dispose();
private MouseInputAdapter mia = new MouseInputAdapter() {
Point2D.Double offset = new Point2D.Double();
boolean dragging = false;
public void mousePressed(MouseEvent e) {
Point p = e.getPoint();
if(blue.contains(p)) {
offset.x = p.x - blue.x;
offset.y = p.y - blue.y;
dragging = true;
public void mouseReleased(MouseEvent e) {
dragging = false;
public void mouseDragged(MouseEvent e) {
if(dragging) {
double x = e.getX() - offset.x;
double y = e.getY() - offset.y;
blue.setFrame(x, y, blue.width, blue.height);
connect();
repaint();
} -
How to draw rectanlge in the panel, clear, repaint?
when i was taking my coding, i found a problem which i could not solve.So, i hope someone can help. Thank you.
the question :
1. how to draw Rectangle in the Panel?
2. how to clear?
3. how to repaint?
The following is my coding.
import javax.swing.*;
import java.awt.*;
public class DrawScreen extends JFrame {
Color rectColor=Color.white;
int hight=100;
Panel Button_panel = new Panel();
Button button1 = new Button();
Button button2 = new Button();
Button button3 = new Button();
Panel Draw_Panel = new Panel();
public DrawScreen(String title) {
super(title);
try {
Init();
catch(Exception e) {
e.printStackTrace();
private void Init() throws Exception {
setResizable(false);
setFont(new Font("Serif",Font.ITALIC,12));
this.getContentPane().setLayout(null);
Button_panel.setBackground(SystemColor.control);
Button_panel.setLocale(java.util.Locale.getDefault());
Button_panel.setBounds(new Rectangle(14, 17, 118, 259));
Button_panel.setLayout(null);
button1.setLabel("Draw Square");
button1.setBounds(new Rectangle(0, 69, 115, 22));
button2.setLabel("Colour Red");
button2.setBounds(new Rectangle(0, 111, 115, 22));
button3.setLabel("Clear Screen");
button3.setBounds(new Rectangle(2, 152, 115, 22));
Draw_Panel.setBackground(Color.white);
Draw_Panel.setBounds(new Rectangle(138, 15, 254, 266));
// System.out.println(Draw_Panel.getBounds());
this.getContentPane().setBackground(Color.white);
this.getContentPane().add(Button_panel, "East");
Button_panel.add(button3, null);
Button_panel.add(button2, null);
Button_panel.add(button1, null);
this.getContentPane().add(Draw_Panel, "West");
addWindowListener(new java.awt.event.WindowAdapter(){
public void windowClosing(java.awt.event.WindowEvent e){
System.exit(0);
button1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
button1ActionPerformed(evt);
button2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
button2ActionPerformed(evt);
button3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
button3ActionPerformed(evt);
pack();
private void button1ActionPerformed(java.awt.event.ActionEvent evt) {
hight=(int)(Math.random()*100);
rectColor=Color.black;
repaint();
private void button2ActionPerformed(java.awt.event.ActionEvent evt) {
rectColor=Color.red;
repaint();
private void button3ActionPerformed(java.awt.event.ActionEvent evt) {
rectColor=Color.white;
repaint();
public void paint(Graphics g){
g.setColor(rectColor);
g.drawRect(50, 50,hight,hight);
public static void main(String[] args) {
DrawScreen ds=new DrawScreen("Square Plotter");
ds.setSize(600,350);
ds.setVisible(true);Few changes and it works:
import javax.swing.*;
import java.awt.*;
public class DrawScreen extends JFrame
Color rectColor = Color.white;
int hight = 100;
Panel Button_panel = new Panel();
Button button1 = new Button();
Button button2 = new Button();
Button button3 = new Button();
DPanel Draw_Panel = new DPanel();
public DrawScreen(String title)
super(title);
setResizable(false);
// setFont(new Font("Serif",Font.ITALIC,12));
// this.getContentPane().setLayout(null);
Button_panel.setBackground(SystemColor.control);
Button_panel.setLocale(java.util.Locale.getDefault());
Button_panel.setBounds(new Rectangle(14, 17, 118, 259));
Button_panel.setLayout(null);
button1.setLabel("Draw Square");
button1.setBounds(new Rectangle(0, 69, 115, 22));
button2.setLabel("Colour Red");
button2.setBounds(new Rectangle(0, 111, 115, 22));
button3.setLabel("Clear Screen");
button3.setBounds(new Rectangle(2, 152, 115, 22));
Draw_Panel.setBackground(Color.white);
Draw_Panel.setBounds(new Rectangle(138, 15, 254, 266));
// System.out.println(Draw_Panel.getBounds());
// this.getContentPane().setBackground(Color.white);
this.getContentPane().add(Button_panel, "East");
Button_panel.add(button3);
Button_panel.add(button2);
Button_panel.add(button1);
this.getContentPane().add(Draw_Panel, "Center");
addWindowListener(new java.awt.event.WindowAdapter()
public void windowClosing(java.awt.event.WindowEvent e)
System.exit(0);
button1.addActionListener(new java.awt.event.ActionListener()
public void actionPerformed(java.awt.event.ActionEvent evt)
button1ActionPerformed(evt);
button2.addActionListener(new java.awt.event.ActionListener()
public void actionPerformed(java.awt.event.ActionEvent evt)
button2ActionPerformed(evt);
button3.addActionListener(new java.awt.event.ActionListener()
public void actionPerformed(java.awt.event.ActionEvent evt)
button3ActionPerformed(evt);
// pack();
private void button1ActionPerformed(java.awt.event.ActionEvent evt)
hight=(int)(Math.random()*100);
rectColor=Color.black;
repaint();
private void button2ActionPerformed(java.awt.event.ActionEvent evt)
rectColor=Color.red;
repaint();
private void button3ActionPerformed(java.awt.event.ActionEvent evt)
rectColor=Color.white;
repaint();
public class DPanel extends JPanel
public DPanel()
public void paintComponent(Graphics g)
super.paintComponent(g);
g.setColor(rectColor);
g.drawRect(50, 50,hight,hight);
public static void main(String[] args)
DrawScreen ds=new DrawScreen("Square Plotter");
ds.setSize(600,350);
ds.setVisible(true);
}Noah -
How do I find classes in a package
Hi,
I am working on an automation tool which is to be used for testing public API's in our product. The tool is supposed to work this way:
1. A developer of the API adds a new java file containing the test code for the API in a particular package (which the tool defines). Then he compiles and places the stuff in a jar. There is also a driver class in this same package path defined by the test tool. E.g.
driver class: com.aaa.bbb.DriverClass
new API test file: com.aaa.bbb.TestFile
Now the driver file's job is to find out all the other classes in this particular package and then do some processing. When I tried doing the getPackage() on this driver class to find out about the package I got back a null.
Question 1: How can I get the package for a particular class (An ugly way to do this would be to strip it out from the classname)
Question 2: How can I find out what other classes are there in a package?
Thanks in advance on this.
Nikhil Singhal
You can also send me mails at
[email protected]hai
i have the same problem to finding the classes in package...
in my case i know the jars name and i have loaded
classes using code
ResourceBundle bundle = ResourceBundle.getBundle("source\\ClasssPath");
StringTokenizer stToke = new StringTokenizer(bundle.getString("ClassPath"),";");
String temp;
ClassLoader classLoader = ClassLoader.getSystemClassLoader();
while(stToke.hasMoreTokens())
temp = stToke.nextToken().trim();
if(temp.endsWith(".jar"))
JarFile jar = new JarFile(new File(temp));
Enumeration en = jar.entries();
String pathStr;
while(en.hasMoreElements())
pathStr = en.nextElement().toString();
System.out.println("pathStr ="+pathStr);
if(pathStr.endsWith(".class"))
System.out.println( classLoader.getResource(pathStr));
System.out.println(classLoader.loadClass(pathStr.substring(0,pathStr.indexOf(".class")).replace('/','.').trim()));
else classLoader.loadClass(temp);
here i am getting the classes in that package using code
String[] filLis = new File("//it//sella//converter//ptlf//startup//").list();
int length = filLis.length;
while(length-- >0)
System.out.println(">"+filLis[length]);
but its returnign the class when this classes in locale folder(i.e)its not getting the classes in loaded memory...
so how to retrieve the class files names using package structure name...
(i am having more then 20 jars files, inthat inside the jar samepackage structue may appear in more then one jars )
pls help me in this field..
Thanx -
How to create a class using java script..
Hi all,
Iam new to java script and I tried out the following program but its not working..I basically created a class just like a java prog' but Iam not getting any output or error.Iam attaching the code below.
If I created one function inside the script and create one object its working fine but what should I do when I have a lot of function??so I created a class and put all the function and created an object but its not working..
Do let me know what changes should I do..Iam attaching the code which I had written. or give me an example of how to create a class with couple of functions using JAVASCRIPT
Thanks
Avis_su
<html>
<head><title>JSP Page</title></head>
<body>
<SCRIPT language = "JavaScript">
<!--
//Created classes
class book
var title: String;
var author:String;
function author()
doucument.write("Author is " +this.author);
function tile()
doucument.write("Title is " +this.title);
function printall()
var counter = 0;
function author();
function title();
var chapters = Array[String];
for(chapter in this chapters)
counter++;
document.write("Chapter" counter" :"+this.chapters[chapter]+"<br>");
var thisbook = new book()
thisbook.author = "Sivagami";
thisbook.title = "MS in CS giude";
thisbook.chapters = new Array[10];
thisbook[0] = "Prepare to Excell in all ";
thisbook[1] = "Learn to be happy";
thisbook[2] = "Learn to be healthy mentally emotionally physically";
thisbook[3] = "Siva and Subbu along with kidssssss will be successful in future";
thisbook.printall();
//-->
</script>
</body>
</html>Run this program to get your answer:
public class AnswerToYourPost {
public static void main(String args[]) {
System.out.println("TRUE/FALSE: This question
ion belongs on a Java forum.\n"
+ "ANSWER: " + ("Javascript" == "Java"));
}Since when do we compare objects for equality using operator == ? -
How to draw text vertically, or in an angle
please help me how to draw text vertically, or in an angle
I robbed the framework from Dr Las or 74phillip (don't remember which) ...
import java.awt.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
public class AngleText extends JPanel {
private int degrees = 16;
private JSpinner degreesSpinner;
public AngleText () {
setBackground ( Color.WHITE );
} // AngleText constructor
protected void paintComponent ( Graphics _g ) {
super.paintComponent ( _g );
Graphics2D g = (Graphics2D)_g;
g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );
AffineTransform at = AffineTransform.getRotateInstance ( Math.toRadians ( degrees ) );
Font f = g.getFont();
g.setFont ( f.deriveFont ( at ) );
g.drawString ( "Rotating Text!", getWidth()/2, getHeight()/2 );
g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF );
} // paintComponent
public JPanel getUIPanel () {
SpinnerModel degreesModel = new SpinnerNumberModel (
degrees // initial
,0 // min
,360 // max
,2 // step
degreesSpinner = new JSpinner ( degreesModel );
degreesSpinner.addChangeListener ( new DegreesTracker() );
JPanel panel = new JPanel();
panel.add ( degreesSpinner );
return panel;
} // getUIPanel
// DegreesTracker
private class DegreesTracker implements ChangeListener {
public void stateChanged ( ChangeEvent e ) {
Integer i = (Integer)((JSpinner)e.getSource()).getValue();
degrees = i.intValue ();
repaint();
} // DegreesTracker
// main
public static void main ( String[] args ) {
JFrame f = new JFrame ( "AngleText" );
f.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );
AngleText app = new AngleText();
f.getContentPane().add ( app );
f.getContentPane().add ( app.getUIPanel(), BorderLayout.SOUTH );
f.setSize ( 200, 200 );
f.setVisible ( true );
} // main
} // AngleText -
I am traveling out side of the U.S. and I am trying to up-date some apps on my iPod touch. Now I'm getting this message... "Account Not In This Store. Your account is NOT valid for use in the Ecuadorian store. You must switch to the U.S. store"
Please, is there anyone one out who can help me solve this problem? I just can seem to figure out how to get to the U.S. store... thanks!I just read this solution, tried it & now it's working...
I think I found a fix...I went to Settings, iTunes & App Stores, then click on your Apple ID...view Apple ID...change country region to USA (even though it was already USA...just do it again...go through the steps making sure the United States store is selected...agree to the Terms of Service, THEN I think what the key is is to RE-auhorize your credit card...in my case all I had to do was enter the security code...and it worked...I am now able to download the YouTube app for example...couldn't do it before.
Maybe you are looking for
-
How do i transfer music files from itunes to an external flash drive for the car
I would like to listen to my music from itunes in the car, how do I transfer files to a usb flash drive?
-
Invalid tag generated in result XML file, xslt mapping done using MAPFORCE
HI My requirement is File to File using xslt mapping I have done a very simple XSLT mapping, but through MAPFORCE tool Here are the steps, I followed: 1. Supplied source xsd and xml file to MAPFORCE 2. Supplied target xsd file 3. mapped it as require
-
Oracle 10g Express edition on Open Suse 10.2 mahine Insatllation vows !
The Installation Oracle 10g Express edition on Open Suse 10.2 mahine, requried the installation of libaio... i installed the package by smart .... after that installation was fine... but when i try to login : following exception occurs : oracleXE: er
-
Getting versioned and unversioned docs in the same search
Hi folks, I want to do the following search: Get all unversioned documents and all versions of versioned documents that meet an specific criteria (attribute or content qualification) and that are in an specific folder (the document itself or its fami
-
TS1717 Im new to itunes so this might be a simple answer but...
Im new to itunes so this might be a simple answer but...I downloaded 20 songs a few days ago and the last 45-60 second ds of more than half didn't download. When playing the song it will kirt move to the next song. How can I get it to download again