Random line in skin

LC
While developing training material via demonstration, we have
run across a problem. We have selected BlackGlass skin and modified
the color and progress bar. We have content slides at the beginning
and end that are static (similar to PowerPoint). When previewing or
viewing a published lesson, black lines (about a pixel wide) appear
at the top of the skin. We've changed skins, widened borders etc.
They do not show up all the time and they are only on slides
of captured images.
Sometimes they run across the screen and sometimes the line
is broken into random sizes.
They are always the same width and in the same position (at
the top of the skin).
We recreated our template as well and still get the lines.
Any suggestions?

I have had this happen to me in multiple modules I've made in
Cap2 & Cap3 - it is something that only appears on the
published SWF file. This (in my case) doesn't have anything to do
with the skin as it will appear with or without it. There does not
have to be any fullmotion, animation, or mouse clicks on the page
to make the lines appear and I have never been able to figure out
what causes them. Usually it is just on a couple random slides and
not detrimental to the module, so I just let them go. If someone
could figure out what causes them though - it would be awesome to
be able to prevent it!

Similar Messages

  • Reading a Random Line from a Text File

    Hello,
    I have a program that reads from a text file words. I currently have a text file around 800KB of words. The problem is, if I try to load this into an arraylist so I can use it in my application, it takes wayy long to load. I was wondering if there was a way to just read a random line from the text file.
    Here is my code, and the text file that the program reads from is called 'wordFile'
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class WordColor extends JFrame{
         public WordColor(){
              super("WordColor");
              setSize(1000,500);
              setVisible(true);
              add(new WordPanel());
         public static void main(String[]r){
              JFrame f = new WordColor();
    class WordPanel extends JPanel implements KeyListener{
         private Graphics2D pane;
         private Image img;
         private char[]characterList;
         private CharacterPosition[]positions;
         private int charcounter = 0;
         private String initialWord;
         private File wordFile = new File("C:\\Documents and Settings\\My Documents\\Java\\projects\\WordColorWords.txt");
         private FontMetrics fm;
         private javax.swing.Timer timer;
         public final static int START = 20;
         public final static int delay = 10;
         public final static int BOTTOMLINE = 375;
         public final static int buffer = 15;
         public final static int distance = 4;
         public final static Color[] colors = new Color[]{Color.red,Color.blue,Color.green,Color.yellow,Color.cyan,
                                                                          Color.magenta,Color.orange,Color.pink};
         public static String[] words;
         public static int descent;
         public static int YAXIS = 75;
         public static int SIZE = 72;
         public WordPanel(){
              words = readWords();
              setLayout(new BorderLayout());
              initialWord = getWord();
              characterList = new char[initialWord.length()];
              for (int i=0; i<initialWord.length();i++){
                   characterList[i] = initialWord.charAt(i);
              setFocusable(true);
              addKeyListener(this);
              timer = new javax.swing.Timer(delay,new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        YAXIS += 1;
                        drawWords();
                        if (YAXIS + descent - buffer >= BOTTOMLINE) lose();
                        if (allColorsOn()) win();
         public void paintComponent(Graphics g){
              super.paintComponent(g);
              if (img == null){
                   img = createImage(getWidth(),getHeight());
                   pane = (Graphics2D)img.getGraphics();
                   pane.setColor(Color.white);
                   pane.fillRect(0,0,getWidth(),getHeight());
                   pane.setFont(new Font("Arial",Font.BOLD,SIZE));
                   pane.setColor(Color.black);
                   drawThickLine(pane,getWidth(),5);
                   fm = g.getFontMetrics(new Font("Arial",Font.BOLD,SIZE));
                   descent = fm.getDescent();
                   distributePositions();
                   drawWords();
                   timer.start();
              g.drawImage(img,0,0,this);
         private void distributePositions(){
              int xaxis = START;
              positions = new CharacterPosition[characterList.length];
              int counter = 0;
              for (char c: characterList){
                   CharacterPosition cp = new CharacterPosition(c,xaxis, Color.black);
                   positions[counter] = cp;
                   counter++;
                   xaxis += fm.charWidth(c)+distance;
         private void drawThickLine(Graphics2D pane, int width, int thickness){
              pane.setColor(Color.black);
              for (int j = BOTTOMLINE;j<BOTTOMLINE+1+thickness;j++){
                   pane.drawLine(0,j,width,j);
         private void drawWords(){
              pane.setColor(Color.white);
              pane.fillRect(0,0,getWidth(),getHeight());
              drawThickLine(pane,getWidth(),5);
              for (CharacterPosition cp: positions){
                   int x = cp.getX();
                   char print = cp.getChar();
                   pane.setColor(cp.getColor());
                   pane.drawString(""+print,x,YAXIS);
              repaint();
         private boolean allColorsOn(){
              for (CharacterPosition cp: positions){
                   if (cp.getColor() == Color.black) return false;
              return true;
         private Color randomColor(){
              int rand = (int)(Math.random()*colors.length);
              return colors[rand];
         private void restart(){
              charcounter = 0;
              for (CharacterPosition cp: positions){
                   cp.setColor(Color.black);
         private void win(){
              timer.stop();
              newWord();
         private void newWord(){
              pane.setColor(Color.white);
              pane.fillRect(0,0,getWidth(),getHeight());
              repaint();
              drawThickLine(pane,getWidth(),5);
              YAXIS = 75;
              initialWord = getWord();
              characterList = new char[initialWord.length()];
              for (int i=0; i<initialWord.length();i++){
                   characterList[i] = initialWord.charAt(i);
              distributePositions();
              charcounter = 0;
              drawWords();
              timer.start();
         private void lose(){
              timer.stop();
              pane.setColor(Color.white);
              pane.fillRect(0,0,getWidth(),getHeight());
              pane.setColor(Color.red);
              pane.drawString("Sorry, You Lose!",50,150);
              repaint();
              removeKeyListener(this);
              final JPanel p1 = new JPanel();
              JButton again = new JButton("Play Again?");
              p1.add(again);
              add(p1,"South");
              p1.setBackground(Color.white);
              validate();
              again.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        remove(p1);
                        addKeyListener(WordPanel.this);
                        newWord();
         private String getWord(){
              int rand = (int)(Math.random()*words.length);
              return words[rand];
         private String[] readWords(){
              ArrayList<String> arr = new ArrayList<String>();
              try{
                   BufferedReader buff = new BufferedReader(new FileReader(wordFile));
                   try{
                        String line = null;
                        while (( line = buff.readLine()) != null){
                             line = line.toUpperCase();
                             arr.add(line);
                   finally{
                        buff.close();
              catch(Exception e){e.printStackTrace();}
              Object[] objects = arr.toArray();
              String[] words = new String[objects.length];
              int count = 0;
              for (Object o: objects){
                   words[count] = (String)o;
                   count++;
              return words;
         public void keyPressed(KeyEvent evt){
              char tempchar = evt.getKeyChar();
              String character = ""+tempchar;
              if (character.equalsIgnoreCase(""+positions[charcounter].getChar())){
                   positions[charcounter].setColor(randomColor());
                   charcounter++;
              else if (evt.isShiftDown()){
                   evt.consume();
              else{
                   restart();
              drawWords();
         public void keyTyped(KeyEvent evt){}
         public void keyReleased(KeyEvent evt){}
    class CharacterPosition{
         private int xaxis;
         private char character;
         private Color color;
         public CharacterPosition(char c, int x, Color col){
              xaxis = x;
              character = c;
              color = col;
         public int getX(){
              return xaxis;
         public char getChar(){
              return character;
         public Color getColor(){
              return color;
         public void setColor(Color c){
              color = c;
    }

    I thought that maybe serializing the ArrayList might be faster than creating the ArrayList by iterating over each line in the text file. But alas, I was wrong. Here's my code anyway:
    class WordList extends ArrayList<String>{
      long updated;
    WordList readWordList(File file) throws Exception{
      WordList list = new WordList();
      BufferedReader in = new BufferedReader(new FileReader(file));
      String line = null;
      while ((line = in.readLine()) != null){
        list.add(line);
      in.close();
      list.updated = file.lastModified();
      return list;
    WordList wordList;
    File datFile = new File("words.dat");
    File txtFile = new File("input.txt");
    if (datFile.exists()){
      ObjectInputStream input = new ObjectInputStream(new FileInputStream(datFile));
      wordList = (WordList)input.readObject();
      if (wordList.updated < txtFile.lastModified()){
        //if the text file has been updated, re-read it
        wordList = readWordList(txtFile);
        ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream(datFile));
        output.writeObject(wordList);
        output.close();
    } else {
      //serialized list does not exist--create it
      wordList = readWordList(txtFile);
      ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream(datFile));
      output.writeObject(wordList);
      output.close();
    }The text file contained one random sequence of letters per line. For example:
    hwnuu
    nhpgaucah
    zfbylzt
    hwnc
    gicgwkhStats:
    Text file size: 892K
    Serialized file size: 1.1MB
    Time to read from text file: 795ms
    Time to read from serialized file: 1216ms

  • Random Line reading in text file

    I am trying to read a random line in a text file but every time i read it it reads first line of the file any one can help me what is the problem in the code is or provide me with a new code.
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                   File file = new File("word.txt");
                   if(!file.exists())
                        System.out.println("File does not exist.");
                        System.exit(0);
                   try{
                        //Open the file for reading
                        RandomAccessFile raf = new RandomAccessFile(file, "r");
    raf.seek(file.length());     //Seek to end of file
                        System.out.println("Read full line: " + raf.readLine());
    //str2 is a String
                        str2 = str2 + raf.readLine();
                        System.out.println(""+str2);
                        raf.close();
                        System.out.println("Successfully");
                   catch(IOException ioe)
                        System.out.println(ioe.getMessage());
    my text file look like in this format
    mind
    hate
    Abhor
    Bigot
    narrow
    prejudiced
    person
    Counterfeit
    fake
    false
    give
    voting
    rights
    Hamper
    hinder
    obstruct
    Kindle
    to
    start
    fire
    harmful
    poisonous
    lethal

    Next time when posting code, please use code tags: http://forum.java.sun.com/help.jspa?sec=formatting
    A RandomAccessFile has nothing to do with getting a (pseudo) random line number from a file.
    You should also split things up in separate methods:
    - a method for counting the number of lines in a file;
    - a method to get the N-th line from a file.
    In your main method, you call the method which counts the number of lines N in a file and then generate a (pseudo) random number between 1 and N. Use the java.util.Random class for this.
    When you have generated that number, call the other method to get that specific line number.
    Here's a small start:
    import java.io.*;
    import java.util.*;
    public class Main {
        public static String getLineNumber(int number) throws FileNotFoundException {
            // your code here
        public static int countLines(String fileName) throws FileNotFoundException {
            // your code here
        public static void main(String[] args) throws Exception {
            int numberLines = countLines("word.txt");
            Random generator = new Random();
            int randomNumber = generator.nextInt(numberLines)+1;
            String randomLine = getLineNumber(randomNumber);
            System.out.println("Line "+randomNumber+" = '"+randomLine+"'");
    }In both methods, you can use the java.util.Scanner class to read lines from the file.
    Have a look at the API docs of the Scanner class:
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html (including code samples!)
    Good luck.

  • My iPod Touch has had random lines appearing on the screen at certain times (videos, typing)

    My iPod 5 (32gig) has recently started to do this thing where it will show random lines on the screen when either typing quickly or watching certain videos. They are close to the thickness of your fingernails and occasionally vary in color. I've had this iPod for around a year and a half now and it hasn't suffered any significant trauma. When it happens on the keyboard, the lines only appear on the keyboard. When it happens during a video it only happens where the video is playing (ie. if not on full screen, it only happens on the rectangle where the video is, not the empty space). And it also only happens on certain videos. It happened earlier on a news segment clip on the Fox website, but not on a music video I watched on YouTube three minutes later. For videos, it can be up to three of these lines at once. It first started happening to my keyboard and has since furthered itself to the videos. The screen has two small scratches but other than that it's fine. I'd also like to add even though it may not be relevant that my apps have been crashing more recently as well.
    What do you recommend I do? Why is this happening? Thank you in advance!

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • Blur Tool Problem - Random Lines (Adobe CC 2014.2.1 Release)

    Hi,
    I'm hoping that I haven't ticked some obscure option, but I have been using the Blur Tool in Photoshop CC for a while and after the most recent update have had issues with it - basically, when I try to use it to blur a specific area, it randomly goes all over the place (as if I'd grabbed the mouse and moved it rapidly in a random direction).  Obviously if I can't use the blur tool with precision (well, any tool really!) it makes it hard to work!
    Some interesting notes / observations:
    The sharpen tool works perfectly - only sharpens where I point it, which makes me think that it's not an issue with my mouse.  No other tools I use have the issue either - only the blur tool!!
    I have no other pointing devices plugged in (I had a pen tablet plugged in - long story, prefer the mouse over the tablet :-)) so it's not some other pointing device making noise.
    Has anyone else encountered this problem, and if so, how did you resolve it?
    Thanks - blurring and then going into the layer to delete the random lines of blur is getting tiresome - and it's not very precise either.
    Cheers,
    Terence.

    Check out this other thread I started
    http://feedback.photoshop.com/photoshop_family/topics/using-text-tool-freezes-photoshop-cc -2014-2-0-20140926-r-236-x64-release?utm_source=notification&utm_medium=email&utm_campaign =new_reply&utm_content=reply_button&reply[id]=14914157#reply_14914157
    There it's help there.  I've not totally solved my problem but others seemed to have.
    Richard

  • Random lines around screen and then cannot restart computer

    I'm having an issue with my iMac. recently i i will turn it on and after a while there will be random lines across my screen in certain windows. when I move the windows around the line moves with the window. as i open other apps i start getting other random lines in other parts of the screen. after a little while longer there is so much random pixels all over the screen that I cant work anymore. at this point hte computer is basically stuck and I cannt do anything. I will then hold the power button down to turn off the computer. when i turn it back on I get the black screen of death which says I have to turn the computer off and turn it back n. if i keep turning it off and on it wont start and give me the same screen. if i wait a couple of hours and start it back up it will first give me the screen again. the second time it will start and tell me that mac unexpectedly shut down. at first the technicians told me that I should reformat the hard drive and I did that. is still have the same problem. does anyone have any idea what this could be?

    If the message you're getting is in several languages, that's a kernel panic. Kernel panics are usually, but not always, caused by hardware, with memory a leading cause. If you have a mid-2010 mini, you can easily reseat the memory (remove and reinstall) .... mini's prior to that are a bit more involved to open the case.
    See this FAQ on resolving kernel panics.

  • How to read random lines?

    Hi everyone,
    I am trying to write a program that will take a random lines from a number text files and copy them to a new document.
    Is there a way to read specific lines in a document?
    For example if I set an int array to hold 20 random numbers, (23, 504, 498, etc...)
    can i then jump to each of these lines in the document and output the data on each line??
    I have tried the RandomAccessFile seek method but that only moves a certain number of bytes(not lines).
    I have also tried:
    String tempLine = null;
    // where numLines is the total number of lines in the document
    // where randInput is my RandomAccessFile
    For (int i = 0; i < numLines; i++)
    tempLine = (randInput.readLine())
    for(int k = 0; k < 20; k++)
    if(i == randNums[k])
    out.println(tempLine);
    but this method is too slow, as some of my input files are over 500,000 lines in length.
    Can anyone please suggest a faster more efficient method??
    Many Thanks

    If that is really the requirement then I suggest you
    pre-process the file into some other form so it is
    easier to fulfil the requirement.
    For example you could copy the lines into a database
    table, then choose random records from the table. Or
    you could copy the lines into a new file where all
    the lines had the same length (pad with blanks or
    nulls or whatever you need to get back the original
    line), which would make it possible to seek to line N.How about cache first the file, by reading the each line in the file and store that line in an array?
    ie.
    package com.yahoo.ronilloang.idunoifthisright;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Locale;
    import java.util.Vector;
    * How about caching first then randomly read? This maybe slow or definitely slow in performance.
    * @author     Ronillo Ang
    public class CacheFirstThenRandomlyPick{
         private String[] lines;
         private int lineCount;
         public CacheFirstThenRandomlyPick(String fileName) throws IOException{
              File file = new File(fileName);
              if(file.exists()){
                   BufferedReader bufferedReader = new BufferedReader(new FileReader(file));
                   String line = bufferedReader.readLine();
                   while(line != null){
                        addLine(line);
                        line = bufferedReader.readLine();
                   trim();
                   randomlyPickAndWrite();
                   bufferedReader.close();
         private void addLine(String line){
              if(lines == null)
                   lines = new String[10];
              checkAndExpandCapacityAsNeeded(lineCount + 1);
              lines[lineCount++] = line;
         private void checkAndExpandCapacityAsNeeded(int minCapacity){
              int oldCapacity = lines.length;
              if(minCapacity > oldCapacity){
                   int newCapacity = oldCapacity * 2;
                   while(minCapacity >= newCapacity)
                        newCapacity += 10;
                   String[] oldLines = lines;
                   lines = new String[newCapacity];
                   System.arraycopy(oldLines, 0, lines, 0, lineCount);
         private void trim(){
              if(lineCount > 0 && lineCount < lines.length){
                   String[] oldLines = lines;
                   lines = new String[lineCount];
                   System.arraycopy(oldLines, 0, lines, 0, lineCount);
         private void randomlyPickAndWrite() throws IOException{
              Vector drawnNumber = new Vector();
              BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File("out.txt")), "8859_1"));
              for(int index = 0; index < lineCount; ++index){
                   int whatLineToRead = (int)(Math.random() * lineCount);
                   while(drawnNumber.contains(String.valueOf(whatLineToRead)))
                        whatLineToRead = (int)(Math.random() * lineCount);
                   drawnNumber.addElement(String.valueOf(whatLineToRead));
                   bufferedWriter.write(lines[whatLineToRead]);
                   bufferedWriter.newLine();
              bufferedWriter.flush();
              bufferedWriter.close();
         public static void main(String[] args) throws IOException{
              if(args.length == 1){
                   SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss", Locale.getDefault());
                   System.out.println("Program start at " + sdf.format(new Date()));
                   new CacheFirstThenRandomlyPick(args[0]);
                   System.out.println("Program ended at " + sdf.format(new Date()));
              else
                   System.out.println("Usage: java com.yahoo.ronilloang.idunoifthisright.CacheFirstThenRandomlyPick <text file>");
              System.out.println("\ndone.");
    }What do you think? Definitely wrong? Okay. This just what I think. Never mind.
    Thank you. -Ronillo

  • Output corruption, random lines in image

    I needed to make some simple graphics and I ran into something very bad in Illustrator: I cannot save the raster image (PNG or JPG) of the artwork because every time I try to save it I get seemingly random lines in the right half of the image.
    Here is how it looks:
    Five consecutive Save for Webs:
    http://a.imageshack.us/img691/6544/14511159.png
    http://a.imageshack.us/img716/846/87140050.png
    http://a.imageshack.us/img801/9972/82005247.png
    http://a.imageshack.us/img828/6531/84897859.png
    http://a.imageshack.us/img801/6466/56849493.png
    Blown up to 400% in Save for Web dialogue:
    http://a.imageshack.us/img841/6903/85755026.png
    Outer circle alone:
    http://a.imageshack.us/img842/6070/47719222.png
    Here is the .AI file with that circle:
    http://www.mediafire.com/file/48bs6x1rcg5c50r/icon.ai
    My specs:
    Illustrator CS5 + updates
    Windows 7 x64 Ultimate
    Intel Core i7 920
    6GB RAM
    Total pagefile size: 24GB.
    Primary scratch disk - 155GB free.
    Am I missing something or is this a Illustrator bug?

    This is a bug in Illustrator CS5 with Gradient Mesh. As a workaround you may try to flatten your art first from object menu and then save, this will do the trick for you.

  • My Brand New iMac Gets Random lines On Screen

    Hiya,
    I Bought a custom 27" iMac top of the range,
    after a while somenights the screen goes like this [See Pictures
    i get random lines and things not loading properly as in the reflection of the dock, menu bar and black lines around applications?
    I dont know what it is or what is happening,
    Please help i spent so long getting the money for my imac and now its not working 100%

    Emalexander89 you are welcome to install Photoshop CS4 on your new Mac.  You can download a fresh copy of the installation files at Download CS6 products.

  • On AMD A10-7850K some randome lines appearing on the section of tabs.

    On AMD A10-7850K + Win7 64bit, some randome lines appearing on the section of tabs. (Looks like a graphical bug)
    Reinstall, new driver... still randomly happened.
    HW accelaration is now set to off and it looks okay now.

    Kedves Tomi55!
    Rendicsek! Hozzá vagyok szokva az angol-nyelvű helpdesk-hez.
    Én is dolgozom, de még így is elég gyors a reakcióidő, köszönöm.
    Szóval... Ha kikapcsolom a HW-es gyorsítást, akkor a probléma megszűnik. Nincs gond a memóriával, nincs gond az APU-val sem. Minden szépen fut rajta, egyedül a böngészőben jelennek meg néha random vonalkák a fölső sorban, ahol a tabok vannak.
    Most per pillanat ki van kapcsolva a HW-es gyorsítás a böngészőben és nincs grafikai hiba. Ha bekapcsolom, majd újraindítom a böngészőt, akkor a hiba azonnal előjön.

  • Random Line Colors? noob needs helppppp :(((

    How do you make a program with random line colors heres my program:
    import java.awt.*;
    import java.applet.*;
    import java.util.*;
    import java.util.Random;
    public class Lab6 extends Applet
         public void paint(Graphics g)      
              g.drawLine(0,300,800,300);
              g.drawLine(400,0,400,600);
              Random rand = new Random(12345);
              for(int x=0;x<=100;x=x+1)
              g.drawLine(rand.nextInt(400),rand.nextInt(300),rand.nextInt(400),rand.nextInt(300));
    rand.setSeed(12345);
              for(int x=0;x<=100;x=x+1)
              g.drawLine((rand.nextInt(400) + 400),rand.nextInt(300),(rand.nextInt(400) + 400),rand.nextInt(300));
    i need to make random line colors for the second loop and i dont get how. i can only set the lines for the second loop to one color. please help! i'm a real noob. =(

    This gets the color with a hex integer. You can use
    new Color(seed.nextInt(256), ...
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Random;
    public class Lab6 extends Applet
        Random rand = new Random(12345);
        Random seed = new Random();
        public void paint(Graphics g)
            super.paint(g);
            g.drawLine(0,300,800,300);
            g.drawLine(400,0,400,600);
            for(int x=0;x<=100;x=x+1)
                g.drawLine(rand.nextInt(400),rand.nextInt(300),
                           rand.nextInt(400),rand.nextInt(300));
            rand.setSeed(12345);
            for(int x=0;x<=100;x=x+1)
                g.setColor(getColor());
                g.drawLine((rand.nextInt(400) + 400),rand.nextInt(300),
                           (rand.nextInt(400) + 400),rand.nextInt(300));
        private Color getColor()
            return new Color(seed.nextInt(0xffffff));
        static WindowListener closer = new WindowAdapter()
            public void windowClosing(WindowEvent e)
                System.exit(0);
        public static void main(String[] args)
            Applet applet = new Lab6();
            Frame f = new Frame();
            f.addWindowListener(closer);
            f.add(applet);
            f.setSize(800,600);
            f.setLocation(50,50);
            applet.init();
            f.setVisible(true);
    }

  • Random lines on the screen

    Hello,
    Since last month, has appeared a strip with random lines on the screen. They move when you move the mouse, a window, selecting an icon, etc. If I'm copying a file, the lines move more quickly.
    One day my mother closed the screen too strong and the lines disappeared for a while, but after a few days they returned.
    What could be the problem? There seems to be a bug in the screen because, as I said, the lines are random, not fixed.
    Here you have two photos of the lines:
    http://img151.imageshack.us/img151/8149/img1050012.jpg
    http://img263.imageshack.us/img263/9479/img1051i0.jpg
    And one video:
    http://www.youtube.com/watch?v=3zvBrY17qng

    Look like a probable graphics card problem. It might be an issue with the LVDS cable that connects the display. Try resetting the PRAM. If that doesn't work take it to your nearest Apple Store or Apple Authorized Service Provider.

  • After BB logo on startup screen full of random lines and not reacting on touch

    A few days after a new screen was installed, the microphone during calls is not working anymore, except for calls using the speakerphone function or when a (audio only) headset is plugged in.
    Also the screen sometimes was not reacting on touching and a restart was necessary to let it react again. Now the phone is not starting up anymore. After the blackberry logo is on screen properly, the screen fills with random lines with different pixel motives. Nothing changes when touching and also a short click on the top button does not make the screen go blanc.
    I tried rebooting with up and down volume buttons pressed, but that also makes no difference. The twitter helpdesk of BB is not responding and T-Mobile staff was not able to help me either.
    I hope I can find some help overhere.
    Many thanks in advance!

    ysg wrote:
    BTW: The problems started after I updated my BB OS system last weekend. 
    Well, then that information could make a difference.
    Upgraded to what OS?
    From the main screen, swipe down from the top black bezel to Settings > About... what is the OS Version listed there?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • My Printer has started missing or half printing random lines horizontally bottom half or top half

    My Printer has started missing or half printing random lines  horizontally. Bottom half or top half is missing . I have an Officejet Pro 750 and run Windows 7, 64 bit. For a while if I turned off normal mode and selected best, it was Ok. Now it doesn't matter which mode I use,I have done all the tests and cleaning required but no joy...Help  

    I have done what you suggested. However, I have to disagree with you about the 'third party' comment. Although those minor issues were on there which I picked up on shortly afterwards, they were easily removed. It hasn't CHANGED the symptoms I described about my mac. Both items are removed (growl only tends to make your mac 'lag' and that's not the problem I'm having)
    I am still having all the above issues, regardless of my mac being fully minus third party items. This mac hasn't had any heavy use, or had many applications installed on it ect, there is really no reason for it to be failing. I'd understand if it was old, but it's literally only just passed being 3 years old.
    If you can provide any more help that would be appreciated, thank you!

  • Random lines in PDF inserted in InDesign document

    I have been generating PDF files from Alibre Design (MCAD) since 2005 with no problem. I 'print' the pages with the current Adobe Acrobat Pro and then place them in the pages of my magazine layout in InDesign.
    Recently, when I place a PDF generated from Acrobat Pro, PDF Creator and one or two other PDF generating packages and place the PDF in InDesign, I find random and fairly thin files in most of the placed pages. But not all.
    So far the lines have not appeared in the PDF files generated by the Export function in InDesign.
    What I am worried about is the possibility of the lines showing up in the PDF generated by the Export function. That would force me to use Acrobat to generate TIFF files from the PDF files. A significant time sink if necessary.

    No, it is not a screen artifact. It carries on through to the PDF file I publish as my magazine.
    The workflow is 3D CAD to PDF, place the PDF in InDesign document then Exporting the document to the final PDF.
    The lines are visible in InDesign, sometimes in the resulting Exported PDF and if one prints the PDF page the lines show up randomly on a laser printer.
    Lines do get wider.
    This would kill even a commercial print job.

Maybe you are looking for