JTextArea broken in JWindow

I can type in a JLabel that I add to a JFrame, but as soon as I use JWindow instead of JFrame, the JTextArea refuses to function.
Any suggestions?

Looking through the JWindow API docs, I found
public JWindow()
Creates a window with no specified owner. This window will not be focusable.
I suppose the fact that the window cannot gain focus would have something to do with my problem. I have tried adding a mouse listener to my JTextArea and then having it requestFocus() on mouseClicked, but it didn't do anything to help solve my problem.... any ideas?

Similar Messages

  • JTextField in a FullScreen JWindow jdk1.4

    I have a problem that must have a simple solution I hope.
    I have a JWindow wich I run in fullscreen mode, the contentPane of the JWindow contains a JPanel wich contains JButtons, JLabels and JTextFields I have no problem with the JButtons and JLabels, but the JTextFields get no cursor when clicked and it is therefore impossible to enter text into them.
    I tried using the same JPanel in an ordinary JFrame (not fullscreen) and it worked just as it should.
    What am I missing?
    The JPanel (shortened)
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import javax.swing.*;
    class TheMainMenuPanel extends JPanel
         private BufferedImage background;
         private Graphics2D g2;
         private JButton exitButton=new JButton("Exit Game");
         private JTextField portField=new JTextField(5);
         private JLabel portLabel=new JLabel("Port of game");
         public TheMainMenuPanel()
              Image tmp=new ImageIcon("Graphics\\MainMenuBack.gif").getImage();
              background=ImageUtilities.makeBufferedImage(tmp);
              exitButton.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        System.exit(0);
    add(portLabel);
         add(portField);
    add(exitButton);
         public void paintComponent(Graphics g)
              g2=(Graphics2D)g;
              g2.drawImage(background,0,0,null);
    I'd be happy for any answer

    I got the same problem with a JTextArea and a JWindow in fullscreen mode.
    How did you got in fullscreen with a JFrame?
    did you found an other solution?
    thanks for your help
    Thomas.

  • JWindow JTextArea Issue... Help

    Hello guys and gals,
    I'm sure this issue I'm having is very common here to us programmers and people have asked this question several times.
    I'm using JWindow right now and I have a JTextArea that's not editable at all even though I've set it to be editable.. All I can do is setText to be there... It must be a bug or something..
    I will not convert to JFrame though it's easier to do so. JWindow is needed. Is it possible to my JTextArea editable so I can continue to program or am I just wasting time? Can anyone explain to me in simple terms to fix this issue? Maybe my code is incorrect.. Here's my entire code:
    import javax.swing.*;
    import javax.swing.border.EtchedBorder;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class JustToSee extends JWindow implements ActionListener
         Dimension screenSize =
            Toolkit.getDefaultToolkit().getScreenSize();              
         private JPanel background, outpassBox, inpassBox, wrongBox,
         passBoxoutSide, wrongBoxoutside, inwrongBox;
         private JButton exit;
         private JLabel wrongL, passL;
                         private JTextArea wrongT;
         public JustToSee()
              setBackground(Color.BLACK);
              Container pane = getContentPane();
              pane.setLayout(null);
              background = new JPanel();
              background.setSize(Toolkit.getDefaultToolkit().getScreenSize());
              background.setBackground(Color.black);
              background.setLayout(null);          
              outpassBox = new JPanel();
              outpassBox.setSize(650, 750);
              outpassBox.setLocation(600,30);
              outpassBox.setBackground(Color.black);
              outpassBox.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED, Color.black, Color.blue));
              outpassBox.setLayout(null);
              inpassBox = new JPanel();
              inpassBox.setSize(610,600);
              inpassBox.setLocation(20, 120);
              inpassBox.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED, Color.black, Color.blue));
              inpassBox.setBackground(Color.black);
              inpassBox.setLayout(null);
              wrongBox = new JPanel();
              wrongBox.setSize(300, 750);
              wrongBox.setLocation(50, 30);
              wrongBox.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED, Color.black, Color.blue));
              wrongBox.setBackground(Color.black);
              wrongBox.setLayout(null);
              passBoxoutSide = new JPanel();
              passBoxoutSide.setSize(610, 80);
              passBoxoutSide.setLocation(20,30);
              passBoxoutSide.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED,Color.black, Color.blue));
              passBoxoutSide.setBackground(Color.black);
              passBoxoutSide.setLayout(null);
              wrongBoxoutside = new JPanel();
              wrongBoxoutside.setSize(260, 80);
              wrongBoxoutside.setLocation(20, 30);
              wrongBoxoutside.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED,Color.black, Color.blue));     
              wrongBoxoutside.setBackground(Color.black);     
              wrongBoxoutside.setLayout(null);
              inwrongBox = new JPanel();
              inwrongBox.setSize(260, 600);
              inwrongBox.setLocation(20, 120);
              inwrongBox.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED,Color.black, Color.blue));
              inwrongBox.setBackground(Color.red);
              inwrongBox.setLayout(null);
              passL = new JLabel("Password Field...");
              passL.setForeground(Color.blue);
              passL.setFont(new Font("Computerfont", Font.BOLD, 24));
              passL.setSize(300, 60);
              passL.setLocation(10, 30);
              wrongL = new JLabel("Wrong Passwords...");
              wrongL.setForeground(Color.blue);
              wrongL.setFont(new Font("Computerfont", Font.BOLD, 24));
              wrongL.setSize(300, 60);
              wrongL.setLocation(10, 30);
              wrongT = new JTextArea(50, 1);//Inside the 2nd JPanel on the left side. It fills up the entire panel
              wrongT.setBackground(Color.white);
              wrongT.setForeground(Color.blue);
              wrongT.setFont(new Font("Computerfont", Font.BOLD, 18));
              wrongT.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED,Color.black, Color.blue));
              wrongT.setLocation(0,0);
              wrongT.setSize(260, 600);
              wrongT.setText("This is where the text goes! \nThis needs to be edited. Help =(");
              wrongT.setLineWrap(true);
              wrongT.setEditable(true);
              wrongT.setFocusable(true);
              exit = new JButton("EXIT");
              exit.setBackground(Color.black);
              exit.setForeground(Color.blue);
              exit.setFont(new Font("Computerfont",Font.BOLD,16));
              exit.setLocation(380, 100);
              exit.setSize(100, 60);
              exit.addActionListener(this);
              pane.add(background);
              background.add(exit);
              background.add(outpassBox);
              background.add(wrongBox);
              outpassBox.add(inpassBox);
              outpassBox.add(passBoxoutSide);
              passBoxoutSide.add(passL);
              wrongBox.add(wrongBoxoutside);
              wrongBox.add(wrongT);          
              wrongBoxoutside.add(wrongL);
              wrongBox.add(inwrongBox);
              inwrongBox.add(wrongT);          
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == exit)
                   System.exit(0);
         public static void main(String[] args)
         JustToSee w = new JustToSee();
         GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow(w);
    }Your help is greatly appreciated... =) Take care.
    Gabriel Young

      public JustToSee()
        super(new JFrame(){public boolean isShowing(){return true;}});//<----------
        setBackground(Color.BLACK);

  • JTextArea on JWindow

    Why can't I make a JTextArea on JWindow uneditable?
    Heres the code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Note extends JWindow {
    JTextArea ta;
    public static void main(String args[]) {
    new Note();
    public Note() {
    ta = new JTextArea("j;lsa ;lasjfasdf asdf sadfsadfsad ;lkasdf ;lksa;lkfs;al fj;lksadfl; l;kslkfdf l");
    ta.setLineWrap(true);
    ta.setWrapStyleWord(true);
    ta.setFont(new Font("Verdana",Font.BOLD,24));
    ta.setEditable(true);
    JScrollPane scrollPane = new JScrollPane(ta,JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    getContentPane().setLayout(new BorderLayout());
    getContentPane().add(scrollPane,BorderLayout.CENTER);
    setSize(300, 300);
    setVisible(true);
    // Give focus for keystrokes
    requestFocus();
    but when I changed extends JWindow into extends JFrame, ta.setEditable(true) worked fine.
    Please explain it to me. Thank you very much.

    >
    JWindow and focus: If you happen to use a JWindow in your GUI, you should know that the JWindow's owning frame must be visible for any components in the window to get the focus. By default, if you don't specify an owning frame for a JWindow, an invisible owning frame is created for it. The result is that components in JWindows might not be able to get the focus. The solution is to either specify a visible owning frame when creating the JWindow, or to use an undecorated JFrame instead of JWindow.
    from:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html

  • JTextArea in JWindow

    Basic problem is typing text in a JTextArea once added to JWindow, sounds simple?
    Once the textarea is added there's no caret displayed in the area, and does not accept focus.
    JWindow window = new .....
    JPanel panel = new ......
    panel.add(new JTextArea());
    window.add(panel);
    Is there a bug etc, or do other containers such as JFrame provide additional functionality to support textareas?

    See this thread:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=410638

  • JTextArea Copy to System Clipboard

    I have written an applet that generates RSA type 1 key pairs. The application version works correctly and outputs to files. The online applet version works but instead of writing to files I write the key data to the JTextArea hoping that it could be copied and pasted into files by the user.
    The catch is that the private key (encrypted) data does not copy correctly when you use CTRL-C and then paste to Notepad. I think it has something to do with the encoded chars causing the copy to malfunction.
    Take a look at the applet and the source code and let me know if you have any ideas about what might work. The main class is KeyJenApplet.java. I have tried JTextPane, JTextField and old TextArea. The old TextArea had popupmenu copy available but it was weird in that it didn't even populate the TextArea entirely when the applet was run. It populated the data much like the copy by only doing a portion of it.
    http://www.cheersdata.com/keyjenapplet.html

    Thanks for the responses.
    I believe Windows does have a scripting language, which may well be the way to go, although so far I'm unfamiliar enough with it to be unsure.
    As for the threads idea, unfortunately, I'm not programming the other application, so that won't work in this case.
    Using java.awt.Robot is a good idea, and it may be the easiest, except that as you point out, the text in the clipboard would have to be broken down into keystrokes, which seems rather awkward and slow.
    The other issue is how to make sure that another app becomes the active window. The Robot can presumably do it by sending keystrokes (like Alt+Tab in Windows), which require that it be the most recently active window--not always a safe assumption. Might there be a safer way?
    Thanks,
    Gregory

  • JTextArea word wrapping

    I know I can use a method to word wrap a JTextArea, but is there any simple way so that word wrapping does not cut words in half in order to fit?
    In other words, the current word wrapping will break a word at any position once the max line length has been met, so a word like "extension" may be broken up into "exte" and "nsion" on the next line.

    Straight from the API:
    setWrapStyleWord(...);

  • The resizing of a JTextArea

    Hi.
    Before I begin, I have...
    --Searched the forums for similar postings
    --Read the API for all related components
    --Attempted various solutions myself
    --Followed the Swing tutorials/trails
    That being said, I've got a JTextArea that gets added to a JPanel that gets added to a JFrame. The JPanel uses a GridBagLayout. The problem is that when I resize the GUI negatively, at some point, my JTextArea suffers from significant shrinkage. It kinda does this broken rubberband thing where the JTextArea goes to about 1 or 2 pixels in height and all the other components move toward the vertical center of the window along with the now tiny JTextArea.
    Code below. Thanks in advance to those who enjoy answering these things for those of us that are temporarily frustrated :-)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    public class BidToolGUI {
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
         //create an object of type BidToolGUI to work with
         BidToolGUI myGUI = new BidToolGUI();
         //create components
         JLabel custNameLabel = new JLabel("Customer name: ");
              JLabel sheetIDLabel = new JLabel("Fact sheet ID: ");
              JLabel howManyLabel = new JLabel("How many D p/n's?: ");
              JLabel dpnsLabel = new JLabel("Delta p/n's: ");
              JLabel filler = new JLabel("");
         JRadioButton thinkcentre = new JRadioButton("ThinkCentre");
         JRadioButton thinkpad = new JRadioButton("ThinkPad");
         ButtonGroup buttons = new ButtonGroup();
         buttons.add(thinkcentre);
         buttons.add(thinkpad);
         JTextField custNameField = new JTextField();
         JTextField sheetIDField = new JTextField();
         JTextField howManyField = new JTextField(5);
         JTextArea dpnsArea = new JTextArea(25, 25);
         JScrollPane scrollDpnsArea = new JScrollPane(dpnsArea);
         JButton gen = new JButton("Get delta p/n's");
         JButton clear = new JButton("Clear");
         JButton search = new JButton("Search");
              *string used to communicate to Site the brand
              *looks at the buttons
         String think;
              *string set up to receive data back from php
         String line;
    //Make sure we have nice window decorations.
    //JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("Bid Tool");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setLocation(200, 100);
    //Create a JTabbed pane
    JTabbedPane tabbedPane = new JTabbedPane();
    //Create a JPanel that uses a GridBagLayout
    JPanel panel1 = new JPanel(new GridBagLayout());
         //Create a new GridBagConstraints object
         GridBagConstraints c = new GridBagConstraints();
         c.fill = GridBagConstraints.BOTH;
         //Add the ThinkCentre button
         c.gridx = 0;
                   c.gridy = 0;
         panel1.add(thinkcentre, c);
         //Add the ThinkPad button
         c.gridx = 1;
                   c.gridy = 0;
         panel1.add(thinkpad, c);
         //Add the customer name label
         c.gridx = 0;
                   c.gridy = 1;
         panel1.add(custNameLabel, c);
         //Add the customer name field
         c.gridx = 1;
                   c.gridy = 1;
                   c.gridwidth = 2;
                   panel1.add(custNameField, c);
         //Add the sheet ID label
         c.gridx = 0;
                   c.gridy = 2;
                   c.gridwidth = 1;
         panel1.add(sheetIDLabel, c);
         //Add the sheet ID field
         c.gridx = 1;
                   c.gridy = 2;
                   c.gridwidth = 2;
                   panel1.add(sheetIDField, c);
         //Add the how many? label
         c.gridx = 0;
         c.gridy = 3;
         c.gridwidth = 1;
         panel1.add(howManyLabel, c);
         //Add the how many? field
         c.gridx = 1;
         c.gridy = 3;
         c.gridwidth = 1;
         panel1.add(howManyField, c);
         //Add the Get Delta p/n's button
         c.gridx = 0;
         c.gridy = 4;
         c.weightx = .3;
         c.gridwidth = 1;
         panel1.add(gen, c);
         //Add the clear button
         c.gridx = 1;
         c.gridy = 4;
         c.weightx = .3;
         c.gridwidth = 1;
         panel1.add(clear, c);
         //Add the search button
         c.gridx = 2;
         c.gridy = 4;
         c.weightx = .3;
         c.gridwidth = 1;
         panel1.add(search, c);
         //Add the output area
         c.gridx = 0;
         c.gridy = 5;
         c.gridwidth = 3;
         panel1.add(scrollDpnsArea, c);
         tabbedPane.addTab("DPNG", null, panel1,
    "Delta p/n Generator");
    //Add the tabbedPane to the frame
    //JLabel label = new JLabel("Hello World"); <<<old code from example>>>
    frame.getContentPane().add(tabbedPane);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    Okee dokee. Great answer. I now have a clue and will go try and implement the appropriate code. The one thing I don't get is this: Since I'm using GridBagLayout, the size of the panel is determined dynamically by GridBagLayout based on what components I'm putting where. I like the size of the window when I first run the program, but how do I know what that size is? I'm going to go back and set the minimum size as you suggested, but getting it to be the size that it is when I first run the program is going to be trial and error I think.
    Thanks so much for the direction.

  • JViewport + JTextArea

    I am writing some code that will display a JTextArea in a JViewport just above a progress bar. The idea is for the last several lines of the progress to be visible on the screen. However, once I fill up the current JTextArea, I have not been able to scroll down as I add new information. I would like this to happen programmatically, so that the latest message is always displayed. I have tried using:
    textarea.scrollRectToVisible( rectangle );
    and this doesn't seem to work. When I use:
    viewport.viewport.setViewPosition( point );
    I cause the application to crash even when I am passing a point where there should be just enough component left to fill the viewport from that point. Would someone point me in the right direction on this issue?
    -Benjamin

    I think I may have discovered something else that is related to why I can't get this to work correctly. The screen that this update is taking place on is a JWindow with none of the standard borders, titlebars, or window controls of a standard JFrame. (It is a splash screen) When I try the following code:
    Point p = new Point(viewport.getViewPosition());
    p.y = textArea.getHeight();
    viewport.setViewPosition(p);
    I get this exception:
    java.lang.ClassCastException: java.awt.Window at
    javax.swing.JViewport.setViewPosition(JViewPort.java:1031)
    Is there some incompatibility between using this call in a JWindow?
    -Benjamin

  • JTextArea over JLabel(image for background) Can't Receive Mouse Events

    Hi, I use JLabel for putting background image to a JWindow. But when i put a JTextArea component, i can see and edit the contents but JtextArea only receives keyboard events. When i click on it ,its Focus Gained Event is not fired. No blinking cursor is shown.
    I tried to use JLayeredPane and put them on different layers but it doesn't solve the problem.
    I searched the Forums but can't find a suitable answer.
    Any comments please...

    hey man,
    your problem happen not because your JTextArea over a JLabel, but cause JWindow not take focuse before jdk1.4, so if you need to see your blinking cursor just replace your JWindow with a JFrame.
    for the JTExtArea focusing problem, u may refer to the sun bug forum there is a lot of work around.

  • Difference between JTextArea and TextArea

    hi,
    what the difference betwween the two lines:
    JTextArea area = new JTextArea (10,20);
    and
    TextArea t2 = new TextArea("compilation",4,30,TextArea.SCROLLBARS_BOTH);     
    and what means numbers 10,20 for these lignes.
    bes regards.
    jihen.

    The major difference between the two classes is that JTextArea is Swing based and TextArea is AWT based. JTextArea is more efficient. In AWT, each component established a peer in the OS (think of them as all being viewed as a window in the OS). So as far as the OS was concerned, a window was a window, a button was a window, text area was a window, etc.
    This is why you will often see AWT components referred to as heavy components. Swing components, on the other hand, are often referred to as lightweight components. This is because only the top level components are heavy. This means think like JFram, JWindow, etc. still establish a peer in the OS (so the OS sees them as windows). The other components in Swing (JButton, JTextArea, etc.) are actually drawn onto the top level component's peer.
    So, in AWT, if you created 1 Frame with 2 TextArea components and 1 Button, 4 peers would be created in the OS (lots of resources). In Swing, the same combination would result in 1 peer (for the JFrame). The 2 JTextArea compoonents and the JButton would simply be drawn graphically on the JFrame's peer (resulting in a significant resource saving).
    One last point; you'll notice the Swing components are named J+OldAWTName. So the AWT Button is JButton in Swing. Be sure never to mix the two typs. You most code all AWT or all Swing. Exceptions and Events are not included in this restriction since there is no "visual" representation of these classes (they are just basic JavaBean classes).
    Hope this gets you started.

  • JTextArea - setLineWrap(true) = no text

    Hi,
    Cross-posted to comp.lang.java.gui...
    I have a JTextArea that is running over a JPanel with an image in it.
    Here's the code:
    Image image = Toolkit.getDefaultToolkit().getImage("images/homer02.jpg");
    ImagePanel quotesPanel = new ImagePanel(image);
    quotesTextArea = new JTextArea(getNextQuote());
    quotesTextArea.setLineWrap(true);
    quotesTextArea.setWrapStyleWord(true);
    quotesTextArea.setOpaque(false);
    quotesPanel.add(quotesTextArea);
    When I try to use setLineWrap(true), the text won't display,
    but when that method is commented out, the text is displayed
    but centered and all on one line, falling off each end.
    Is there something I'm not doing? The code matches that in the TextComponent
    demo in the Swing tutorial, although they use a JFrame while this is all part of a
    JWindow that shows quotes from the ancient Greeks over an image of the poet
    Homer, (not Mr. Simpson). ImagePanel is an extension of JPanel that has an
    image as a background. getNextQuote() returns a quote from a text file.
    Thank you in advance,
    Edward

    hello Andy
    iam using the same and the text is visible. i.e textArea.setLineWrap( true );
    asrar

  • Use of JTextArea.read()

    Hi,
    I am trying to read some text from a stream and place it in a JTextArea. I thought about using method read() inherited by JTextArea from JTextComponent. When I execute it I can see no text in my screen, even though no exception is thrown.
    I strongly think there could be some better way to do that than use this read() method, but I am unable to devise some other means.
    What do you all suggest me to do? Try and use read() from JTextComponent or adopt some better pattern? What other solution could I use?
    Thank you all in advance. Regards,
    Filipe Fedalto

    It seems very well for me. Actually I've just found that the reason the text didn't appear was because of some flaw in a pair of PipedOutputStream/PipedInputStream. I wrote the text to the piped outputstream but it didn't appear in the piped inputstream from which I was reading via read() method of JTextComponent.
    I will adopt your idea. Unfortunately, this still leaves me with the problem of my broken pipes.
    Thank you.

  • Jackd + guitar: "timeouts and broken pipes"

    Hi friends! I'm trying to pass my electric guitar via any rack/effects (like Guitarix or Creox) with no luck. I've got this sound card:
    01:06.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
    01:06.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
    I try with QJackCtl and invoking jackd from the terminal with any luck.
    jackd -d alsa -C -P
    jackd 0.121.3
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    could not open driver .so '/usr/lib/jack/jack_net.so': libcelt0.so.2: cannot open shared object file: No such file or directory
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 16bit little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 16bit little-endian
    ALSA: use 2 periods for playback
    jackd watchdog: timeout - killing jackd
    [gabo@machina ~]$
    This is the output from QJackCtl:
    00:12:07.126 Client deactivated.
    00:12:07.130 JACK is being forced...
    cannot read server event (Success)
    cannot continue execution of the processing graph (Bad file descriptor)
    zombified - calling shutdown handler
    cannot send request type 7 to server
    cannot read result for request type 7 from server (Broken pipe)
    cannot send request type 7 to server
    cannot read result for request type 7 from server (Broken pipe)
    00:12:07.339 JACK was stopped with exit status=1.
    I can hear my guitar and record with Audacity, but when jackd enter into the escenario everything blows up. I read that nowadays almost any sound card will work with QJackCtl with the default options. I play with the parameters and sometimes jack refuse to start. With the default options on i can make it run, but i get no sound of the racks or guitar effects processors neither the guitar tuners that use jack takes the sound from the guitar. My line input is in capture via alsamixer, but still no luck. Any clue on this? I'm skipping steps?
    Thanks in advance.
    iamgabo

    Hi!
    groups && cat /proc/asound/cards && cat ~/.asoundrc && cat '/etc/security/limits.d/audio.conf' && jackd -v
    adm disk lp wheel http network video audio optical storage power users polkitd vboxusers wireshark kismet
    0 [Live ]: EMU10K1X - Dell Sound Blaster Live!
    Dell Sound Blaster Live! at 0xcc00 irq 17
    #pcm.upmix71 {
    #type upmix
    #slave.pcm "surround71"
    #delay 15
    #channels 8
    pcm.!default {
    type hw
    card 0
    ctl.!default {
    type hw
    card 0
    # convert alsa API over jack API
    # use it with
    # % aplay foo.wav
    # use this as default
    pcm.!default {
    type plug
    slave { pcm "jack" }
    ctl.mixer0 {
    type hw
    card 1
    # pcm type jack
    pcm.jack {
    type jack
    playback_ports {
    0 system:playback_1
    1 system:playback_2
    capture_ports {
    0 system:capture_1
    1 system:capture_2
    cat: /etc/security/limits.d/audio.conf: No such file or directory
    I have a file called 99-audio.conf
    cat /etc/security/limits.d/99-audio.conf
    @audio - rtprio 99
    @audio - memlock unlimited
    Also i've seen some guys changing this file too:
    cat /etc/security/limits.conf
    # /etc/security/limits.conf
    #Each line describes a limit for a user in the form:
    #<domain> <type> <item> <value>
    #Where:
    #<domain> can be:
    # - an user name
    # - a group name, with @group syntax
    # - the wildcard *, for default entry
    # - the wildcard %, can be also used with %group syntax,
    # for maxlogin limit
    #<type> can have the two values:
    # - "soft" for enforcing the soft limits
    # - "hard" for enforcing hard limits
    #<item> can be one of the following:
    # - core - limits the core file size (KB)
    # - data - max data size (KB)
    # - fsize - maximum filesize (KB)
    # - memlock - max locked-in-memory address space (KB)
    # - nofile - max number of open files
    # - rss - max resident set size (KB)
    # - stack - max stack size (KB)
    # - cpu - max CPU time (MIN)
    # - nproc - max number of processes
    # - as - address space limit (KB)
    # - maxlogins - max number of logins for this user
    # - maxsyslogins - max number of logins on the system
    # - priority - the priority to run user process with
    # - locks - max number of file locks the user can hold
    # - sigpending - max number of pending signals
    # - msgqueue - max memory used by POSIX message queues (bytes)
    # - nice - max nice priority allowed to raise to values: [-20, 19]
    # - rtprio - max realtime priority
    #<domain> <type> <item> <value>
    #* soft core 0
    #* hard rss 10000
    #@student hard nproc 20
    #@faculty soft nproc 20
    #@faculty hard nproc 50
    #ftp hard nproc 0
    #@student - maxlogins 4
    * - rtprio 0
    * - nice 0
    @audio - rtprio 65
    @audio - nice -10
    @audio - memlock unlimited
    jackd 0.121.3
    There are the snaps for QJackCtl
    Also, checkout this stuff that i've recorded with audacity, only from the line and nothing else
    http://ompldr.org/vZ3A2eg
    Thanks!
    Last edited by iamgabo (2012-12-15 02:21:08)

  • HT1688 I have a damaged I-Phone and I need the contents of my calendar off of it. I did not have Mobile me at the time.  Can I swap out the sim card from the broken phone to a new phone and recover this calendar?

    I have an older I-Phone (3G) that for some reason the body of the phone has split in two.  This phone was a business phone and it had a lot of important information on it. I have a second phone that is also a 3G.  On the broken phone there is a lot of important information that I need in my calendar. Im not worried about anything else but the calendar.  I didn't have the Mobile Me account at that time or I would be having this problem. Does anybody know if I can ust switch out the sim cards. I just need to recover the old calendar, so im hoping that the calendar will transfer when I switch the sim card into the good 3G. If that doesn't work does anybody know of anyway that I can retrieve this information off of this phone?

    Nothing is stored on the sim card on an iPhone.  If you backed up to your computer the backup will contain your calendar events.  Otherwise, if your phone isn't functioning there is no way to back up or extract your calendar at this point.

Maybe you are looking for

  • HT1491 Can i have more than one  movie on my itouch

    I have downloaded two movies from itunes but only one appears on screen. Why?

  • How do I prompt a user to enter numeric data while a vi is running?

    I am writing a Labview vi that to calibrate angle sensors. I need to prompt the user to enter numeric or string data for the low and high angle points so the vi can then calculate the span based on these values and the a/d output differences at these

  • Error code 6002 silverlight

    Hi, when i upgrade my imac to Yosemite and i try to watch video on safari, i have this probelm whit silverlight. (error 6002). I called yesterday to microsoft and they told me about this problem. ''This error is not our fault'' they told me. And they

  • Can i  use B1DE v1.2 for SAP 2004.B ?

    Hi, I have installed B1DE v1.2 but dont know it supports SAP 2004.B. Regards , Ganesh

  • Video Chat from my PlayBook to Z10

    Hi, I have a Playbook and a Z10, both of which are on separate BBID's. Till about 2-3 months back, I was able to video chat from my Playbook  to my Z10. However, I am not able to do that now and I get the message 'COntact's unavailable'. But, I can s