Extended JDialog to pop-up in center of parent frame

I have a JDialog extended, and I want it to pop up in the center of the parent frame when A button is pressed in the frame. The button is in the constructor of the main frame, and uses an anonymous inner class to attach the action listener to the button. I am calling the outter class (MainFrame) with the "this" reference, and I get bogus results. MapParameters is extended from JDialog.
when I instantiate the JDialog with this line "mp = new MapParameters(MainFrame.this,true)" It puts the dialog in the upper left corner of the screen, which is the same results as if I were to use "null" where "MainFame.this" is.
What am I doing wrong?

You have to calculate the locations if you want to center the dialog on the frame. Add this code to either your the MainFrame where you create the dialog or in the JDialog extended class. Make sure the size of the dialog is set (ie it has been laid out if you are using a layout manager or set it using setSize if you are laying out components manually) before this code is executed.
//Center the dialog
Dimension frameSize = frame.getSize();
Dimension dialogSize = dialog.getSize();
if (dialogSize.height > frameSize.height) dialogSize.height = frameSize.height;
if (dialogSize.width > frameSize.width) dialogSize.width = frameSize.width;
dialog.setLocation((frameSize.width - dialogSize.width) / 2, (frameSize.height - dialogSize.height) / 2);

Similar Messages

  • How do I get a pop-up JDialog to return a result back to the parent frame?

    I have a button in a frame that opens up a JDialog with more buttons. Depending on the button pressed, the JDialog calculates an array and then closes the dialog. I'd like the results from the JDialog to be passed back to the parent frame. Is there any built in JDialog function allowing a passback upon closing to the parent frame or anything like that?
    If not, what's the best way to go about it?

    Is this a modal dialog? Then setVisible(true) blocks. The caller can retrieve the result after that call:
    dlg.setVisible(true);
    //now get result;

  • BUG: Extending JDialog error in design view

    I extended JDialog to create a custom Dialog, then when I extend the CustomDialog to create a Dialog in Jdeveloper Design mode it actualy creates the popup dialog instead of the design mode for it (ie it actually renders the final popup as a seperate popup, which would be a really cool feature because you can actually use the popup to test it, but it means you can't edit it with the gui designer)
    OS - Suse 9.3
    Oracle IDE - 10.1.3.3412
    Java Platform - 1.5.0_06
    Here is some sample code:
    package org.cms.custom.swing;
    import javax.swing.JDialog;
    public class CustomDialog extends JDialog
    public CustomDialog()
    package org.cms.screen;
    import org.cms.custom.swing.CustomDialog;
    public class TestDialog extends CustomDialog
    public TestDialog()
    So you go to design mode for TestDialog and it pops up the dialog.........(you may need to build first).....

    The above code does reproduce the error. I reduced it to that code to make sure that it wasn't any of my code doing it and when I made the 2 classes above and go to design mode for the second one it pops up the dialog. You can cut and paste the code as is. The implementation is irrelevant, its Inheritance of a class that extends JDialog that is causing the problem.
    You need to compile the classes, close them, then reopen the second one in design view for the popup to happen.
    Regards
    mark
    Message was edited by:
    user481304

  • JVM not allowing a jDialog to pop up?

    I wrote a date picker class that extends JDialog using Eclipse: VE. everything works fine in eclipse when I run the code, but when I export the project to a .jar file the date picker will not pop up. I assume this is a safety feature of the JVM not popping up an extension of JDialog. Has anyone heard of this happening or know how to get around it.

    well, it was a problem with how it accessed images... I figured it out.

  • How to set the size of a class that extends JDialog

    Hi,
    I was trying to set the size of my dialog window to be 600 by 600, but couldn't change it. Here is my code:
    public class alii extends JDialog {
    /** Creates new form alii */
    public alii(java.awt.Frame parent, boolean modal) {
    super(parent, modal);
    initComponents();
    private void initComponents() {
    Container contentPane = getContentPane();
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    closeDialog(evt);
    pack();
    public static void main(String args[]) {
    JFrame frame = new JFrame();
    alii a = new alii(new javax.swing.JFrame(), true);
    frame.setSize(600,500);
    frame.setLocation(200,200);
    frame.setVisible(true);}}
    Please help me with this and explain to me what is the problem and what needs to be changed.
    Cheers

    Hi,
    The code you sent me doesn't work, and the code I posted wasn't a complete, but there is the complete one. You can see now what the code does.
    * alii.java
    * Created on 15 November 2003, 13:31
    * @author Ali
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    import java.applet.*;
    import java.net.*;
    public class sun extends JDialog {
    int x[] = new int[4];
    int y[] = new int[4];
    int w[] = new int[4];
    int h[] = new int[4];
    int Y_ax = 310;
    double DrawGraf[][] = new double[4][4];
    String line[] = new String[9];
    double Perc[] = new double[4];
    double Sum=0;
    GUICanvas can;
    double graphvalue[] = new double [5];
    /** Creates new form alii */
    public sun(Frame parent, boolean modal) {
    super(parent, modal);
    initComponents();
    //setVisible(true);
    //setSize(600,500);
    //setLocation(200,200);
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    //Container contentPane = getContentPane();
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    closeDialog(evt);
    //contentPane.setSize(700,700);
    //pack();
    public void drawthegraph(String s)
    /* try {
    URL url = new URL(
    "http://localhost:111/test/servlet/Compare?value="+s);
    BufferedReader in = new BufferedReader(
    new InputStreamReader(url.openStream()));
    for (int c = 0; c<9; c++)
    line[c] = in.readLine();
    in.close();
    }catch (Exception e){
    e.printStackTrace();
    graphvalue[0] = 200;
    graphvalue[1] = 200;
    graphvalue[2] = 100;
    graphvalue[3] = 300;
    graphvalue[4] = 20;
    //graphvalue[4] = can.d2i(graphvalue[4]);
    //System.out.println(line[8]);
    Sum = graphvalue[0]+graphvalue[1]+graphvalue[2]+graphvalue[3];
    Perc[0] = graphvalue[0]/Sum*200;
    Perc[1] = graphvalue[1]/Sum*200;
    Perc[2] = graphvalue[2]/Sum*200;
    Perc[3] = graphvalue[3]/Sum*200;
    System.out.println(Perc[0]);
    DrawGraf[0][0] = 130;
    DrawGraf[0][1] = Y_ax - Perc[0];
    DrawGraf[0][2] = 60;
    DrawGraf[0][3] = Perc[0];
    DrawGraf[1][0] = DrawGraf[0][0]+60;
    DrawGraf[1][1] = Y_ax - Perc[1];
    DrawGraf[1][2] = 60;
    DrawGraf[1][3] = Perc[1];
    DrawGraf[2][0] = DrawGraf[1][0]+60;
    DrawGraf[2][1] = Y_ax - Perc[2];
    DrawGraf[2][2] = 60;
    DrawGraf[2][3] = Perc[2];
    DrawGraf[3][0] = DrawGraf[2][0]+60;
    DrawGraf[3][1] = 310 - Perc[3];
    DrawGraf[3][2] = 60;
    DrawGraf[3][3] = Perc[3];
    for(int d=0;d<4;d++)
    x[d]=d2i(DrawGraf[d][0]);
    y[d]=d2i(DrawGraf[d][1]);
    w[d]=d2i(DrawGraf[d][2]);
    h[d]=d2i(DrawGraf[d][3]);
    repaint();
    static int d2i(double d) {return (int) Math.round(d);}
    public void paint (Graphics g)
    g.setColor(Color.red);
    for(int d=0;d<4;d++)
    g.fill3DRect(x[d],y[d],w[d],h[d],true);
    g.setColor(Color.blue);
    g.drawLine(130,130,130,310);
    g.drawLine(130,310,370,310);
    g.setColor(Color.black);
    g.drawString("WELCOME TO Ali",150,100);
    g.drawString("Region: Lambeth",430,150);
    g.drawString("Manger: ",430,170);
    g.drawString("Location: ",430,190);
    g.drawString("Number of Staff: "+graphvalue[4],430,210);
    g.drawString("Week1",135,345);
    g.drawString("Week2",195,345);
    g.drawString("Week3",255,345);
    g.drawString("Week4",315,345);
    g.drawString(" "+"20 -",100,295);
    g.drawString(" "+"40 -",100,255);
    g.drawString(" "+"60 -",100,215);
    g.drawString(" "+"80 -",100,175);
    g.drawString("100 -",100,135);
    g.setColor(Color.yellow);
    g.drawLine(130,290,370,290);
    g.drawLine(130,250,370,250);
    g.drawLine(130,210,370,210);
    g.drawLine(130,170,370,170);
    g.drawLine(130,130,370,130);
    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {
    setVisible(false);
    dispose();
    * @param args the command line arguments
    public static void main(String args[]) {
    JFrame frame = new JFrame();
    sun sn = new sun(frame, true);
    frame.setSize(600,500);
    frame.getContentPane().add(sn);
    frame.setLocation(200,200);
    frame.setVisible(true);
    You were right that I am know to this, but getting there slowly and thanks for your help.
    Cheers

  • JTable  with headers extending JDialog

    I am creating a class file extending JDialog. I have populated the JTable on the form and want to include headers on the table. The dialog form opens and the table is visible and populated but with no headers. Has anyone had success with headers on JTables when creating a JDialog object?
    I have other tables created with headers so I wondered if the problem was with JDialog?

    inorder to make headers visible you need to add scroll pane to table,
    either by:
    JScrollPane scrollPane = JTable.createScrollPaneForTable(table);
    or:
    scrollPane = new JScrollPane(table);
    unless there's no scroller, you can't see headers.

  • Extend JDialog  - stupid question

    I'm trying to make my own custom JDialog so I did this:
    public class myJDialog extends javax.swing.JDialog {
    public myJDialog(javax.JFrame parentFrame){
         super(parentFrame);
        init();
    public void init(){
    /// add panel and components to this dialog...
    }then, in my main frame, I did this:
    myJDialog dialog = new JDialog(this);
    button_something when actionPerformed {
         dialog.setVisible(true);
    }new JDialog opens up but it's in native Java look and feel so I figured that I'm doing something wrong.
    Couldn't find any tutorials on extending JDialog so I'm asking what am I doing wrong?

    Athlon1600 wrote:
    not at all. I don't want to change JDialog component in any way. I'm doing this just to make code cleaner and easier to work with.
    how would I call Xdialog if I'm not extending it? How would Java know that that variable is holding jDialog component?The JDialog is the least part of the code. Myself I usually have a class that creates a JPanel (note that it doesn't extend a JPanel). Then in the code that needs a dialog, I instantiate the class, extract the JPanel create a simple JDialog, and place the JPanel into the JDialog. Simple as that.

  • Constructing a class extending JDialog when invoked from main application

    In an application that extends JFrame a method, showJDialogGUI, is called to instantiate an object of another class (called enterGUI) that extends JDialog. This object, enterGUIDialog, is modal; user must click on its Submit button in order to dismiss it and be able to continue in MainProgram. I have troubles getting error messages resolved when the constructor of the enterGUIDialog JDialog object is called. Perhaps there are other things wrong with below code. Any help appreciated - snippet of code from both classes is below.
    public class MainProgram extends JFrame {
    enterGUI enterGUIDialog; // declaration for object of class extending JDialog
    public MainProgram() {     // constructor
    myContainer = getContentPane();
    showJDialogGUI(); // calls method to initialize
    public void showJDialogGUI() {
    enterGUIDialog = new enterGUI (this, true);
    enterGUIDialog.setDefaultCloseOperation (DISPOSE_ON_CLOSE );
    enterGUIDialog.setSize(200,200);
    enterGUIDialog.setVisible( true );
    enterGUIDialog.show();
    } // end of class MainProgram
    public class enterGUI extends JDialog{
    Container myContainer;
    JPanel myPanel;
    //// How to call the constructor to create this JDialog????
    public loginGUI( JRootPane theRoot, boolean theModal ) // passed in 'this', and 'true'
    // or maybe??? public About(Frame parent, boolean modal) {
    this.setRootPane( theRoot ); //???????
    // or maybe ??? super(theRoot, flag);
    //super(theRoot, flag); // calls Dialog class constructor
    this.setModal( theModal ); // ?????
    myContainer = getContentPane();
    myContainer.setLayout( new FlowLayout() );
    thePanel = new JPanel();
    // next add components to JPanel, then add to the JDialog container
    fieldsPanel.add( pageLabel ); etc.
    myContainer.add( fieldsPanel );
    // etc.
    myContainer.setDefaultCloseOperation( DISPOSE_ON_CLOSE );
    myContainer.setVisible(true);
    } // end of constructor
    // more methods etc
    }

    Error received is:
    E:\Ghost>
    MainProgram.java:670: cannot resolve symbol
    symbol : constructor enterGUI (MainProgram,boolean)
    location: class MyPackage.enterGUI
    enterGUIDialog = new enterGUI(this, true);
    'new enterGUI(this, true); ' seems to be at start of
    error
    TIAThe error message could not be any more clear. To wit: the compiler is telling you it cannot find a constructor for class enterGUI that takes as parameters a reference to a javax.swing.JFrame, and a boolean value. Supply the constructor and the error will not be raised.

  • Extending JDialog... setting parent

    HI,
    I have extended JDialog, and can't work out how to set the parent of my JDialog (so that the dialog appears in the centre of the parent, and doesnt disappear when I click to another window). I have set it as modal mode. There does not seem to be a setParent() method.
    Thanks
    Jason

    hi!
    in case of dialog you can not set the parent after you have intialised it. you have to pass it as argument.
    but i think you want setLocationRelativeTo try this method. and if you want to close / hide your dialog when you click on other window, then don't setModal(true), write setModal(false) and use addWindowFocusListener for handling the windowFocusEvent
    :)

  • Correct way to Extend JDialog?

    Hello,
    I have a custom JDialog in which I would like to be able to be ran by the following code:
    AddRecordsDialog a = new AddRecordsDialog(this, data);
    if (a.showDialog() == AddRecordsDialog.Return_Type.Accept)
       //do some stuff.
    }I'm obvously not doing this correctly, and am unsure as to were to go. Any help would be greatly appreciated!
    here is my code for the custom dialog:
    * AddRecordsDialog.java
    * Created on June 24, 2008, 4:42 PM
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.event.WindowListener;
    import javax.swing.JFrame;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.text.TableView.TableRow;
    * @author  HrPeanut
    public class AddRecordsDialog extends javax.swing.JDialog
        private RETURN_TYPE type;
        public enum RETURN_TYPE
            Accept,
            Cancel
        /** Creates new form AddRecordsDialog */
        public AddRecordsDialog(JFrame j, JTable data)
            super(j, "Choose Records to Add");
            initComponents();
            jTable1.setModel(data.getModel());
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jLabel1 = new javax.swing.JLabel();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            jPanel1 = new javax.swing.JPanel();
            jScrollPane1 = new javax.swing.JScrollPane();
            jTable1 = new javax.swing.JTable();
            setBackground(new java.awt.Color(153, 153, 153));
            jLabel1.setText("Please select the records you wish to add.");
            jButton1.setText("Add");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jButton2.setText("Cancel");
            jButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton2ActionPerformed(evt);
            jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
            jTable1.setModel(new javax.swing.table.DefaultTableModel(
                new Object [][] {
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null}
                new String [] {
                    "Title 1", "Title 2", "Title 3", "Title 4"
            jScrollPane1.setViewportView(jTable1);
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 421, Short.MAX_VALUE)
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 263, Short.MAX_VALUE)
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel1)
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                            .addComponent(jButton2)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel1)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jButton2)
                        .addComponent(jButton1))
                    .addContainerGap())
            pack();
        }// </editor-fold>
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            type = RETURN_TYPE.Accept;
            this.dispose();
        private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
            type = RETURN_TYPE.Cancel;
            this.dispose();
        public Type showDialog()
            this.setVisible(true);
        public VCMSRecord[] getSelectedDataRows()
            VCMSRecord[] output = new VCMSRecord[jTable1.getSelectedRowCount()];
            String[] order = new String[jTable1.getColumnCount()];
            for (int i = 0; i < order.length; i++)
                order[i] = jTable1.getColumnName(i);
            for (int i = 0; i < jTable1.getSelectedRowCount(); i ++)
                Object[] data = new Object[jTable1.getColumnCount()];
                for (int j = 0; j < data.length; j++)
                    data[j] = jTable1.getModel().getValueAt(j, i);
                output[i] = new VCMSRecord(data, order, null);  
            return output;
         * @param args the command line arguments
    //    public static void main(String args[]) {
    //        java.awt.EventQueue.invokeLater(new Runnable() {
    //            public void run() {
    //                new AddRecordsDialog().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JTable jTable1;
        // End of variables declaration
    }

    Implement a returnAnswer method in AddRecordsDialog:
    public RETURN_TYPE returnAnswer(){
      return type;
    }and ask later:AddRecordsDialog a = new AddRecordsDialog(this, data);
    a.showDialog();
    if (a.returnAnswer() == AddRecordsDialog.Return_Type.Accept)
       //do some stuff.
    }

  • Applet - Extending JDialog

    I am having trouble making an applet function in an html file. It has two class, the first of which calls the other (a graph class) on the clicking of a button.
    In developing the graph class JDialog was extended in order so as the window could be closed on the clicking of a exit button. Should the second applet extend the first in some way and would the exit functionality then be lost?
    Is there any other way this can be done?
    I would appreciate any assistance.

    Can you be a little more specific on what you are trying to do.
    Questions:
    1] You have two applets?
    2] You want to open a JDialog?
    I can most likely help if I can just understand a little more.
    DeltaCoder
    "Soulshine is better than sunshine, better than moonshine, sure damn better than rain."

  • Why doesn't JFileChooser extend JDialog?

    A quirky question, but:
    Why does JFileChooser inherit directly from JComponent and not JDialog? I'm pretty new to Swing and have written similar things to JFileChooser, but always inherited from JDialog.

    Yeah ok, I can see that. But I'm more interested in wether or not there would be any problems with subclassing AWTEventMulticaster to include Swing and/or custom EventListeners. It seems to me that maintaining an AWTEventMulticaster subclass would be a lot less work than using EventListenerList everywhere, even if it's just because the EventMulticaster architecture seems a lot simpler and (thread)safer than the EventListenerList

  • PS Extended CS4 - Efficiency Pop-Up

    When I reopen a large, multi-layered image in CS4, the efficiency pop-up displays 100%.
    Is this display dynamic, meaning, will the displayed efficiency reduce to a number less than 100 ONLY during execution of a process; eg, applying a filter, if insufficient RAM in available requiring access to virtual memory?
    Thank you, Kenneth Schang

    Never thought Ken was asking such an obvious, elementary question with a self-explanatory answer. I thought he wanted to know what the percentage change meant and didn't want to go into explanations of what happens in multiprocessor machines.
    I've been using Photoshop seriously for close to six years and have never had any need to look at the efficiency figures, which I regard as useful only as a troubleshooting aid when a user encounters performance problems, which I haven't had even on my older box.

  • In Adobe Bridge when I try to open my camera raws, I get a pop up box stating "Bridges parent application is not active.  Bridge requires that a qualifying product has been launched at least once to enable this feature"  What do I do? Please advise

    In Adobe Bridge, when I try to open my camera raws, I get a pop up stating"Bridges parent application is not active.  Bridge requires that a qualifying product has been launced at least once to enable this feature."  What the heck?  I have a PC and haven't had problems before.. I have adobe cloud and pay my monthly bill...

    Have you opened Photoshop or any other Adobe app that Bridge works with?  You need to do this if you've upgraded PS or just signed up for CC.

  • How to pass the data from a pop up window to the parent window

    Hi All,
    I have a jsp page which contains a add button, while clicking it a popup will come out(which is a another jsp page). There are some input fieldsand a submit button. Now how could I send the data from the pop up to the parent winow. Also I have to check that if the pop up is open and I click add button then another pop up must not open.
    Plz reply its urgent
    Thanks and Regards
    Rajib Sharma

    Thanks for the reply
    But it not worked
    I have a jsp page and the popup is also a jsp page the data that is passed from the popup window to the parent must be send to the server from the parent window to get a data from the data base as search result. Its of no use to get it as js data
    Thanks and regards
    Rajib Sharma

Maybe you are looking for

  • Network profile and Internet sharing

    Hi, In the network System preference applet there is the possibility to create network profiles for different environement, ex: Home, work, etc. In sharing preferences includes the Internet sharing as well. Is it possible to attach a Network profile

  • Low resolution on external monitor using Kernel 2.6.39

    First of all, I don't if this is the right place to post this thread because it involves a kernel from the AUR, but, as that kernel is the same version as the one from [testing] I thought it would be a good place. Furthermore, the thread involving in

  • Paging in jsp

    please sir i need ur help to display large number of items retrived from database in page by page style for ex display 10 records in each page then click next to view the second 10 records asd soo on thank u

  • 8500 all in one

    8500 all in one has engineering defects in both paper tray senors... fax and paper tray.  new one did not work. they sent us a refurb replacement - it does not work... and HP cannot fix on ph. wee need  same dpi and other charcteristics. WHICH ONE...

  • Compiling Java Program thro EXEC

    hi.. I want to compile java programs programatically. I am using exec for that. The problem is there is a error in the i am no getting any message from that Process .will u help me how to solve this URGENT pyari Code Snippet           try