Displaying A JPanel Using 2D Graphics

I have a JPanel that contains several other smaller JPanels. If I use the add() method to add the smaller JPanels to the large JPanel and then call repaint() the panels appear OK. However, I would like to avoid using the add() method and 'paint' the smaller JPanels. I assume this involves using 2D Graphics? Does anyone know how to do this? Mike.

smallerPane.repaint()

Similar Messages

  • Problem in displaying applet by using dynamic graphics

    Hi,
    I followed one document for using dynamic graphics editor, the url is
    /people/abesh.bhattacharjee/blog/2007/02/27/get-started-with-dynamic-graphics-in-xmii-115 by Abesh Bhattacharjee.
    The steps are as follows:
    1). Create the tag query
    2). Preparing the 3DDialGauge Object
    3). Creating the BLS Transaction
    4). Creating an Xacute Query for the BLS Transaction
    5). Creating the HTML Page with help of applet.
    In this HTML page we get that image and also 2 buttons.
    Finally we have to get the object designed in step 2 above and it has to change dynamically and refresh the image by pressing one buttons and the other button is to stop the refresh.
    Now i am getting the image and 2 buttons as output of that HTML page but the problem is the image is getting refreshed continously without getting proper display and i am pressing the buttons it is not stopping the refresh and the warning message i am getting is
    document.TransFanSpeed is null or not an object
    and the object is not changing according to the dynamic value please can anyone help me in resolving this problem.

    Hi shyam,
    The html file is as follows:
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="../../../../ServletExec AS/se-xMII/webapps/default/Lighthammer/Stylesheets/lighthammer.css"><br />
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <APPLET NAME="TransFanSpeed" WIDTH="300" HEIGHT="300" CODE="iCommand" CODEBASE="../Classes" ARCHIVE="illum8.zip" MAYSCRIPT><br />
    <PARAM NAME="QueryTemplate" VALUE="C:/Lighthammer/Illuminator/Templates/Training/SVGexampleXacutequery"><br />
    </APPLET><br />
    </head>
    <body>
    <img src="../../Fan1.jpg" name="refresh"><p></p>
    <button onclick="javascript:doit()">Do it !!!</button>
    <button onclick="javascript:clearit()">Clear Timeout</button>
    <script language="javascript">
    var Time;
    var imagename;
    var tmp;
    function doit(){
    executeQry();
    imagename = "Fan1.jpg";
    tmp = new Date();
    tmp = "?"+tmp.getTime();
    document.images["refresh"].src = imagename+tmp;
    Time = setTimeout("doit()", 1000);
    function clearit(){
    clearTimeout(Time);
    function executeQry(){
    document.TransFanSpeed.executeCommand();
    </script>
    </body>
    </html>
    and the iCommand.java is nothing but internal one there i didn't written any code
    Message was edited by:
            RAJESH PERLA

  • How can I display JTextFields correctly on a JPanel using GridBagLayout?

    I had some inputfields on a JPanel using the boxLayout. All was ok. Then I decided to change the panellayout to GridBagLayout. The JLabel fields are displayed correctly but the JTextField aren't. They are at the JPanel but have a size of 0??? So we cannot see what we type in these fields... Even when I put some text in the field before putting it on the panel.
    How can I display JTextFields correctly on a JPanel using GridBagLayout?
    here is a shortcut of my code:
    private Dimension sFieldSize10 = new Dimension(80, 20);
    // Create and instantiate Selection Fields
    private JLabel lSearchAbrText = new JLabel();
    private JTextField searchAbrText = new JTextField();
    // Set properties for SelectionFields
    lSearchAbrNumber.setText("ABR Number (0-9999999):");
    searchAbrNumber.setText("");
    searchAbrNumber.createToolTip();
    searchAbrNumber.setToolTipText("enter the AbrNumber.");
    searchAbrNumber.setPreferredSize(sFieldSize10);
    searchAbrNumber.setMaximumSize(sFieldSize10);
    public void createViewSubsetPanel() {
    pSubset = new JPanel();
    // Set layout
    pSubset.setLayout(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    // Add Fields
    gbc.gridy = 0;
    gbc.gridx = GridBagConstraints.RELATIVE;
    pSubset.add(lSearchAbrNumber, gbc);
    // also tried inserting this statement
    // searchAbrNumber.setText("0000000");
    // without success
    pSubset.add(searchAbrNumber,gbc);
    pSubset.add(lSearchAbrText, gbc);
    pSubset.add(searchAbrText, gbc);
    gbc.gridy = 1;
    pSubset.add(lSearchClassCode, gbc);
    pSubset.add(searchClassCode, gbc);
    pSubset.add(butSearch, gbc);
    }

    import java.awt.*;
    import java.awt.event.*;
    import javax .swing.*;
    public class GridBagDemo {
      public static void main(String[] args) {
        JLabel
          labelOne   = new JLabel("Label One"),
          labelTwo   = new JLabel("Label Two"),
          labelThree = new JLabel("Label Three"),
          labelFour  = new JLabel("Label Four");
        JLabel[] labels = {
          labelOne, labelTwo, labelThree, labelFour
        JTextField
          tfOne   = new JTextField(),
          tfTwo   = new JTextField(),
          tfThree = new JTextField(),
          tfFour  = new JTextField();
        JTextField[] fields = {
          tfOne, tfTwo, tfThree, tfFour
        Dimension
          labelSize = new Dimension(125,20),
          fieldSize = new Dimension(150,20);
        for(int i = 0; i < labels.length; i++) {
          labels.setPreferredSize(labelSize);
    labels[i].setHorizontalAlignment(JLabel.RIGHT);
    fields[i].setPreferredSize(fieldSize);
    GridBagLayout gridbag = new GridBagLayout();
    JPanel panel = new JPanel(gridbag);
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.weightx = 1.0;
    gbc.weighty = 1.0;
    gbc.insets = new Insets(5,5,5,5);
    panel.add(labelOne, gbc);
    panel.add(tfOne, gbc);
    gbc.gridwidth = gbc.RELATIVE;
    panel.add(labelTwo, gbc);
    gbc.gridwidth = gbc.REMAINDER;
    panel.add(tfTwo, gbc);
    gbc.gridwidth = 1;
    panel.add(labelThree, gbc);
    panel.add(tfThree, gbc);
    gbc.gridwidth = gbc.RELATIVE;
    panel.add(labelFour, gbc);
    gbc.gridwidth = gbc.REMAINDER;
    panel.add(tfFour, gbc);
    final JButton
    smallerButton = new JButton("smaller"),
    biggerButton = new JButton("wider");
    final JFrame f = new JFrame();
    ActionListener l = new ActionListener() {
    final int DELTA_X = 25;
    int oldWidth, newWidth;
    public void actionPerformed(ActionEvent e) {
    JButton button = (JButton)e.getSource();
    oldWidth = f.getSize().width;
    if(button == smallerButton)
    newWidth = oldWidth - DELTA_X;
    if(button == biggerButton)
    newWidth = oldWidth + DELTA_X;
    f.setSize(new Dimension(newWidth, f.getSize().height));
    f.validate();
    smallerButton.addActionListener(l);
    biggerButton.addActionListener(l);
    JPanel southPanel = new JPanel(gridbag);
    gbc.gridwidth = gbc.RELATIVE;
    southPanel.add(smallerButton, gbc);
    gbc.gridwidth = gbc.REMAINDER;
    southPanel.add(biggerButton, gbc);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(panel);
    f.getContentPane().add(southPanel, "South");
    f.pack();
    f.setLocation(200,200);
    f.setVisible(true);

  • When open photoshop a message came up saying photoshop has given up waiting for assesment of the display driver. enhancements that use the graphics hardware have been disabled... can anyone help?

    when open photoshop a message came up saying photoshop has given up waiting for assesment of the display driver. enhancements that use the graphics hardware have been disabled... can anyone help?

    The best thing to do is to go into Help > System Info, copy and paste the contents into your reply.
    One of us or several should be able to sort it out for you.
    Gene

  • Question on using JSplitPane to display 2 JPanels(thats has been drawn on)

    im currently doing a project in which the user is able to draw on 2 panels and the last step is to display the 2 panels with all the text and images that were drawn on it.
    splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, panel1, panel2);
    splitPane.setOneTouchExpandable(true);
    splitPane.setContinuousLayout(true);
    c.add(splitPane, BorderLayout.CENTER);i want to call repaint on the 2 panels so when it goes through paintComponent my array of text/images will be redrawn on the splitpane accordingly.
    any suggestions on how this can be done since its my first time display 2 jpanels on a splitpane im out of ideas.
    thanks in advance

    Just call repaint on each panel.

  • Dual Apple Cinema Studio Displays where one uses DVI-to-ADC adapter

    I have an Apple Power Mac G4 MDD dual 1.25 GHz desktop with 2GB RAM running OSX Tiger 10.4.
    It is supporting two Apple Cinema Studio LCD flat panel 17" displays simultaneously.
    Currently, it has three internal hard drives and one SuperDrive.
    I use this computer exclusively for my home recording studio for music production.
    My main computer applications are therefore, Pro Tools LE 7.4, Steinberg Cubase, and Reason 3.0.
    Also, I have the full Microsoft Office Suite, but rarely use Word, Excel, PowerPoint and Access.
    To drive the dual displays, I am using a ATI Radeon 9000 Pro which has one ADC port and one DVI port. Therefore, I am using a DVI-ator adapter to connect one of my ADC displays to the DVI port.
    Yesterday, while recording, one of the two displays developed a broad vertical band (approx 4" of black with thin red, green and blue vertical lines). The other display was fine, however.
    I decided to shut down my PowerMac G4 and disconnect the DVI-adapted display and re-boot with only the display that was connected to the ADC port. The Power Mac G4 booted up fine and ran only its display on this particular monitor.
    However, within 5 minutes, the screen re-developed the broad black vertical band with thin red, green and blue lines running up-and-down as before. Therefore, I shut it down and re-booted again. This time, it never booted back up. Rather, its progress indicator (clock picture moving in clockwise diagram kept on spinning around & around, but never booted-up.
    What does this symptom indicate?
    How can I boot-up from the SuperDrive?
    Is there some special combination of hot keys to get to its setup mode (like in Windows)?
    From these symptoms, is my PowerMac G4 MDD fixable?

    Hi-
    Welcome to Discussions!
    It could be that your graphics card has bit the dust.
    To boot to the OS install disc from the optical drive, hold the C key when powering up. This should bring you to the installer. In the window after selection of your desired language, from the menu bar, you canselect Utilities/Disk Utility. From there, run Repair Disk on the hard drive to insure the integrity of the hard drive.
    My computer won't turn on
    Now, if you are able to boot, but no video is displayed, then your graphics card is probably dust.
    My computer displays no video
    If you have a copy of the Apple Hardware Test, it would be good to run that, to verify the hardware.
    If you don't have the AHT, you can download it, and burn it to CD, and run from that:
    Apple Hardware Test

  • Screen display looks fuzzy using xf86-video-intel on a HP Pavilion 23

    Hello,
    First off I want to say, thank you for Arch! Been using some distros on and off and I think I found my /home! I made a full plunge into Linux a bit ago after some Windows 8.1 issues, switched to Arch and not looking back. Anyways, So far all my computers are either Arch or Manjaro which I am moving more towards straight arch as Manjaro does have some issues when updating your system (dependency loops). All and all not bad, just liking the full control of a pure system then building from scratch.
    Ok, the issue at hand. I have removed Windows 8.1 from my HP All in One Pavilion 23 machine....what a nightmare that was.... Everything was good after turning off secure boot. I installed Arch Linux (3.14.4-1) x86_64, and I am having issues getting the xf86-video-intel driver to play nice with X.
    I have taken a screenshot:
    Screenshot
    I notice this starts right after the choosing the Arch Linux from the boot option menu. It starts the load nice and crisp but after a second the screen flickers with some lines at the top of the screen, random colors, only about the top 3rd of the screen. This modules begin to load but the terminal text looks blocky and horrible.
    I am using Openbox 3.5.2-6 with slim 1.3.6-4. Running xorg-server 1.15.1-1 and xorg-server-utils 7.6-3 with all the dependencies of course.
    Output from pacman queries for video drivers
    xf86-video-intel 2.99.911-2
    xf86-video-vesa 2.3.2-4
    lspci output
    00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
    00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
    00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
    00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
    00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
    00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
    00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
    00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation H87 Express LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
    00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
    03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
    04:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
    my /etc/mkinitcpio.conf
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES="i915"
    # BINARIES
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image. This is run last, so it may be used to
    # override the actual binaries included by a given hook
    # BINARIES are dependency parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way. This is useful for config files.
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    ## This setup specifies all modules in the MODULES setting above.
    ## No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    ## This setup will autodetect all modules for your system and should
    ## work as a sane default
    # HOOKS="base udev autodetect block filesystems"
    ## This setup will generate a 'full' image which supports most systems.
    ## No autodetection is done.
    # HOOKS="base udev block filesystems"
    ## This setup assembles a pata mdadm array with an encrypted root FS.
    ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    # HOOKS="base udev block mdadm encrypt filesystems"
    ## This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev block lvm2 filesystems"
    ## NOTE: If you have /usr on a separate partition, you MUST include the
    # usr, fsck and shutdown hooks.
    HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
    # COMPRESSION
    # Use this to compress the initramfs image. By default, gzip compression
    # is used. Use 'cat' to create an uncompressed image.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    #COMPRESSION="lzop"
    #COMPRESSION="lz4"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    ,my /etc/default/grub.conf
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    And last my /var/log/Xorg.0.log
    [ 15.641]
    X.Org X Server 1.15.1
    Release Date: 2014-04-13
    [ 15.641] X Protocol Version 11, Revision 0
    [ 15.641] Build Operating System: Linux 3.14.0-4-ARCH x86_64
    [ 15.641] Current Operating System: Linux localhost 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64
    [ 15.641] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=0c1916a0-b631-478f-ac6b-aa5d123f75cd rw quiet splash
    [ 15.641] Build Date: 14 April 2014 08:39:09AM
    [ 15.641]
    [ 15.641] Current version of pixman: 0.32.4
    [ 15.641] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 15.641] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 15.641] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 1 17:05:15 2014
    [ 15.687] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 15.687] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 15.739] (==) No Layout section. Using the first Screen section.
    [ 15.739] (==) No screen section available. Using defaults.
    [ 15.739] (**) |-->Screen "Default Screen Section" (0)
    [ 15.739] (**) | |-->Monitor "<default monitor>"
    [ 15.764] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 15.764] (**) | |-->Device "Intel Graphics"
    [ 15.764] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 15.764] (==) Automatically adding devices
    [ 15.764] (==) Automatically enabling devices
    [ 15.764] (==) Automatically adding GPU devices
    [ 15.793] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 15.793] Entry deleted from font path.
    [ 15.795] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 15.795] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 15.795] (**) Extension "Composite" is enabled
    [ 15.795] (**) Extension "RENDER" is enabled
    [ 15.795] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 15.795] (II) Loader magic: 0x804c80
    [ 15.795] (II) Module ABI versions:
    [ 15.795] X.Org ANSI C Emulation: 0.4
    [ 15.795] X.Org Video Driver: 15.0
    [ 15.795] X.Org XInput driver : 20.0
    [ 15.796] X.Org Server Extension : 8.0
    [ 15.796] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 15.798] (--) PCI:*(0:0:2:0) 8086:0412:103c:2b0f rev 6, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
    [ 15.798] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 15.798] Initializing built-in extension Generic Event Extension
    [ 15.798] Initializing built-in extension SHAPE
    [ 15.798] Initializing built-in extension MIT-SHM
    [ 15.798] Initializing built-in extension XInputExtension
    [ 15.798] Initializing built-in extension XTEST
    [ 15.798] Initializing built-in extension BIG-REQUESTS
    [ 15.798] Initializing built-in extension SYNC
    [ 15.798] Initializing built-in extension XKEYBOARD
    [ 15.798] Initializing built-in extension XC-MISC
    [ 15.798] Initializing built-in extension SECURITY
    [ 15.798] Initializing built-in extension XINERAMA
    [ 15.798] Initializing built-in extension XFIXES
    [ 15.798] Initializing built-in extension RENDER
    [ 15.799] Initializing built-in extension RANDR
    [ 15.799] Initializing built-in extension COMPOSITE
    [ 15.799] Initializing built-in extension DAMAGE
    [ 15.799] Initializing built-in extension MIT-SCREEN-SAVER
    [ 15.799] Initializing built-in extension DOUBLE-BUFFER
    [ 15.799] Initializing built-in extension RECORD
    [ 15.799] Initializing built-in extension DPMS
    [ 15.799] Initializing built-in extension Present
    [ 15.799] Initializing built-in extension DRI3
    [ 15.799] Initializing built-in extension X-Resource
    [ 15.799] Initializing built-in extension XVideo
    [ 15.799] Initializing built-in extension XVideo-MotionCompensation
    [ 15.799] Initializing built-in extension XFree86-VidModeExtension
    [ 15.799] Initializing built-in extension XFree86-DGA
    [ 15.799] Initializing built-in extension XFree86-DRI
    [ 15.799] Initializing built-in extension DRI2
    [ 15.799] (II) "glx" will be loaded by default.
    [ 15.799] (II) LoadModule: "dri2"
    [ 15.799] (II) Module "dri2" already built-in
    [ 15.799] (II) LoadModule: "glamoregl"
    [ 15.808] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    [ 15.917] (II) Module glamoregl: vendor="X.Org Foundation"
    [ 15.917] compiled for 1.15.0, module version = 0.6.0
    [ 15.917] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 15.917] (II) LoadModule: "glx"
    [ 15.917] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 15.928] (II) Module glx: vendor="X.Org Foundation"
    [ 15.929] compiled for 1.15.1, module version = 1.0.0
    [ 15.929] ABI class: X.Org Server Extension, version 8.0
    [ 15.929] (==) AIGLX enabled
    [ 15.929] Loading extension GLX
    [ 15.929] (II) LoadModule: "intel"
    [ 15.929] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 15.955] (II) Module intel: vendor="X.Org Foundation"
    [ 15.955] compiled for 1.15.0, module version = 2.99.911
    [ 15.955] Module class: X.Org Video Driver
    [ 15.955] ABI class: X.Org Video Driver, version 15.0
    [ 15.955] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
    [ 15.956] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
    [ 15.956] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
    [ 15.956] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
    [ 15.956] (++) using VT number 7
    [ 15.971] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
    [ 15.971] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
    [ 15.971] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 15.971] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 15.971] (==) intel(0): RGB weight 888
    [ 15.971] (==) intel(0): Default visual is TrueColor
    [ 15.971] (**) intel(0): Option "AccelMethod" "sna"
    [ 15.971] (**) intel(0): Option "DRI" "true"
    [ 15.971] (**) intel(0): Option "TearFree" "true"
    [ 15.972] (**) intel(0): Framebuffer tiled
    [ 15.972] (**) intel(0): Pixmaps tiled
    [ 15.972] (**) intel(0): "Tear free" enabled
    [ 15.972] (**) intel(0): Forcing per-crtc-pixmaps? no
    [ 15.972] (II) intel(0): Output eDP1 has no monitor section
    [ 15.972] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output eDP1
    [ 15.972] (II) intel(0): Output VGA1 has no monitor section
    [ 15.972] (II) intel(0): Output DP1 has no monitor section
    [ 15.972] (II) intel(0): Output HDMI1 has no monitor section
    [ 15.972] (II) intel(0): Output DP2 has no monitor section
    [ 15.972] (II) intel(0): Output HDMI2 has no monitor section
    [ 15.972] (II) intel(0): Output VIRTUAL1 has no monitor section
    [ 15.972] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
    [ 15.972] (==) intel(0): DPI set to (96, 96)
    [ 15.972] (II) Loading sub module "dri2"
    [ 15.972] (II) LoadModule: "dri2"
    [ 15.972] (II) Module "dri2" already built-in
    [ 15.972] (==) Depth 24 pixmap format is 32 bpp
    [ 15.986] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
    [ 15.986] (==) intel(0): Backing store enabled
    [ 15.986] (==) intel(0): Silken mouse enabled
    [ 15.986] (II) intel(0): HW Cursor enabled
    [ 15.986] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 15.987] (==) intel(0): DPMS enabled
    [ 15.987] (II) intel(0): [DRI2] Setup complete
    [ 15.987] (II) intel(0): [DRI2] DRI driver: i965
    [ 15.987] (II) intel(0): [DRI2] VDPAU driver: i965
    [ 15.987] (II) intel(0): direct rendering: DRI2 Enabled
    [ 15.987] (==) intel(0): hotplug detection: "enabled"
    [ 15.987] (--) RandR disabled
    [ 16.067] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 16.067] (II) AIGLX: enabled GLX_ARB_create_context
    [ 16.067] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 16.067] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 16.067] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 16.067] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 16.067] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
    [ 16.067] (II) AIGLX: enabled GLX_ARB_fbconfig_float
    [ 16.067] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 16.067] (II) AIGLX: enabled GLX_ARB_create_context_robustness
    [ 16.067] (II) AIGLX: Loaded and initialized i965
    [ 16.067] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 16.085] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
    [ 16.107] (II) intel(0): Setting screen physical size to 508 x 285
    [ 16.375] (II) config/udev: Adding input device Power Button (/dev/input/event1)
    [ 16.375] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 16.375] (II) LoadModule: "evdev"
    [ 16.383] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 16.402] (II) Module evdev: vendor="X.Org Foundation"
    [ 16.402] compiled for 1.15.1, module version = 2.9.0
    [ 16.402] Module class: X.Org XInput Driver
    [ 16.402] ABI class: X.Org XInput driver, version 20.0
    [ 16.402] (II) Using input driver 'evdev' for 'Power Button'
    [ 16.402] (**) Power Button: always reports core events
    [ 16.402] (**) evdev: Power Button: Device: "/dev/input/event1"
    [ 16.402] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 16.402] (--) evdev: Power Button: Found keys
    [ 16.402] (II) evdev: Power Button: Configuring as keyboard
    [ 16.402] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
    [ 16.402] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 16.402] (**) Option "xkb_rules" "evdev"
    [ 16.402] (**) Option "xkb_model" "pc104"
    [ 16.402] (**) Option "xkb_layout" "us"
    [ 16.442] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
    [ 16.442] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 16.442] (II) Using input driver 'evdev' for 'Video Bus'
    [ 16.442] (**) Video Bus: always reports core events
    [ 16.442] (**) evdev: Video Bus: Device: "/dev/input/event2"
    [ 16.442] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 16.442] (--) evdev: Video Bus: Found keys
    [ 16.442] (II) evdev: Video Bus: Configuring as keyboard
    [ 16.442] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input2/event2"
    [ 16.442] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 16.442] (**) Option "xkb_rules" "evdev"
    [ 16.442] (**) Option "xkb_model" "pc104"
    [ 16.442] (**) Option "xkb_layout" "us"
    [ 16.443] (II) config/udev: Adding input device Power Button (/dev/input/event0)
    [ 16.443] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 16.443] (II) Using input driver 'evdev' for 'Power Button'
    [ 16.443] (**) Power Button: always reports core events
    [ 16.443] (**) evdev: Power Button: Device: "/dev/input/event0"
    [ 16.443] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 16.443] (--) evdev: Power Button: Found keys
    [ 16.443] (II) evdev: Power Button: Configuring as keyboard
    [ 16.443] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
    [ 16.443] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 16.443] (**) Option "xkb_rules" "evdev"
    [ 16.443] (**) Option "xkb_model" "pc104"
    [ 16.443] (**) Option "xkb_layout" "us"
    [ 16.444] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 16.444] (II) config/udev: Adding input device HP High Definition 1MP Webcam (/dev/input/event8)
    [ 16.444] (**) HP High Definition 1MP Webcam: Applying InputClass "evdev keyboard catchall"
    [ 16.444] (II) Using input driver 'evdev' for 'HP High Definition 1MP Webcam'
    [ 16.444] (**) HP High Definition 1MP Webcam: always reports core events
    [ 16.444] (**) evdev: HP High Definition 1MP Webcam: Device: "/dev/input/event8"
    [ 16.444] (--) evdev: HP High Definition 1MP Webcam: Vendor 0x4f2 Product 0xb40b
    [ 16.444] (--) evdev: HP High Definition 1MP Webcam: Found keys
    [ 16.444] (II) evdev: HP High Definition 1MP Webcam: Configuring as keyboard
    [ 16.444] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input8/event8"
    [ 16.444] (II) XINPUT: Adding extended input device "HP High Definition 1MP Webcam" (type: KEYBOARD, id 9)
    [ 16.444] (**) Option "xkb_rules" "evdev"
    [ 16.444] (**) Option "xkb_model" "pc104"
    [ 16.445] (**) Option "xkb_layout" "us"
    [ 16.445] (II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event14)
    [ 16.445] (**) NextWindow Touchscreen: Applying InputClass "evdev touchscreen catchall"
    [ 16.445] (II) Using input driver 'evdev' for 'NextWindow Touchscreen'
    [ 16.445] (**) NextWindow Touchscreen: always reports core events
    [ 16.445] (**) evdev: NextWindow Touchscreen: Device: "/dev/input/event14"
    [ 16.445] (--) evdev: NextWindow Touchscreen: Vendor 0x1926 Product 0x33e
    [ 16.445] (--) evdev: NextWindow Touchscreen: Found absolute axes
    [ 16.445] (--) evdev: NextWindow Touchscreen: Found absolute multitouch axes
    [ 16.445] (II) evdev: NextWindow Touchscreen: No buttons found, faking one.
    [ 16.445] (--) evdev: NextWindow Touchscreen: Found x and y absolute axes
    [ 16.445] (--) evdev: NextWindow Touchscreen: Found absolute touchscreen
    [ 16.445] (II) evdev: NextWindow Touchscreen: Configuring as touchscreen
    [ 16.445] (**) evdev: NextWindow Touchscreen: YAxisMapping: buttons 4 and 5
    [ 16.445] (**) evdev: NextWindow Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 16.446] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:1926:033E.0001/input/input14/event14"
    [ 16.446] (II) XINPUT: Adding extended input device "NextWindow Touchscreen" (type: TOUCHSCREEN, id 10)
    [ 16.446] (II) evdev: NextWindow Touchscreen: initialized for absolute axes.
    [ 16.446] (**) NextWindow Touchscreen: (accel) keeping acceleration scheme 1
    [ 16.446] (**) NextWindow Touchscreen: (accel) acceleration profile 0
    [ 16.446] (**) NextWindow Touchscreen: (accel) acceleration factor: 2.000
    [ 16.446] (**) NextWindow Touchscreen: (accel) acceleration threshold: 4
    [ 16.446] (II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/mouse2)
    [ 16.446] (II) No input driver specified, ignoring this device.
    [ 16.446] (II) This device may have been added with another device file.
    [ 16.447] (II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event9)
    [ 16.447] (II) No input driver specified, ignoring this device.
    [ 16.447] (II) This device may have been added with another device file.
    [ 16.447] (II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event10)
    [ 16.447] (**) NextWindow Touchscreen: Applying InputClass "evdev pointer catchall"
    [ 16.447] (II) Using input driver 'evdev' for 'NextWindow Touchscreen'
    [ 16.447] (**) NextWindow Touchscreen: always reports core events
    [ 16.447] (**) evdev: NextWindow Touchscreen: Device: "/dev/input/event10"
    [ 16.447] (--) evdev: NextWindow Touchscreen: Vendor 0x1926 Product 0x33e
    [ 16.447] (--) evdev: NextWindow Touchscreen: Found 3 mouse buttons
    [ 16.447] (--) evdev: NextWindow Touchscreen: Found absolute axes
    [ 16.447] (--) evdev: NextWindow Touchscreen: Found x and y absolute axes
    [ 16.447] (--) evdev: NextWindow Touchscreen: Found absolute touchscreen
    [ 16.447] (II) evdev: NextWindow Touchscreen: Configuring as touchscreen
    [ 16.447] (**) evdev: NextWindow Touchscreen: YAxisMapping: buttons 4 and 5
    [ 16.447] (**) evdev: NextWindow Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 16.448] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/0003:1926:033E.0003/input/input10/event10"
    [ 16.448] (II) XINPUT: Adding extended input device "NextWindow Touchscreen" (type: TOUCHSCREEN, id 11)
    [ 16.448] (II) evdev: NextWindow Touchscreen: initialized for absolute axes.
    [ 16.448] (**) NextWindow Touchscreen: (accel) keeping acceleration scheme 1
    [ 16.448] (**) NextWindow Touchscreen: (accel) acceleration profile 0
    [ 16.448] (**) NextWindow Touchscreen: (accel) acceleration factor: 2.000
    [ 16.448] (**) NextWindow Touchscreen: (accel) acceleration threshold: 4
    [ 16.448] (II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/js0)
    [ 16.448] (II) No input driver specified, ignoring this device.
    [ 16.448] (II) This device may have been added with another device file.
    [ 16.449] (II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/mouse0)
    [ 16.449] (II) No input driver specified, ignoring this device.
    [ 16.449] (II) This device may have been added with another device file.
    [ 16.449] (II) config/udev: Adding input device Hewlett Packard HP Wireless Keyboard Kit (/dev/input/event11)
    [ 16.449] (**) Hewlett Packard HP Wireless Keyboard Kit: Applying InputClass "evdev keyboard catchall"
    [ 16.449] (II) Using input driver 'evdev' for 'Hewlett Packard HP Wireless Keyboard Kit'
    [ 16.449] (**) Hewlett Packard HP Wireless Keyboard Kit: always reports core events
    [ 16.449] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: Device: "/dev/input/event11"
    [ 16.449] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Vendor 0x461 Product 0x4e25
    [ 16.449] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found keys
    [ 16.449] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Configuring as keyboard
    [ 16.449] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:0461:4E25.0004/input/input11/event11"
    [ 16.449] (II) XINPUT: Adding extended input device "Hewlett Packard HP Wireless Keyboard Kit" (type: KEYBOARD, id 12)
    [ 16.449] (**) Option "xkb_rules" "evdev"
    [ 16.449] (**) Option "xkb_model" "pc104"
    [ 16.449] (**) Option "xkb_layout" "us"
    [ 16.450] (II) config/udev: Adding input device Hewlett Packard HP Wireless Keyboard Kit (/dev/input/event12)
    [ 16.450] (**) Hewlett Packard HP Wireless Keyboard Kit: Applying InputClass "evdev keyboard catchall"
    [ 16.450] (II) Using input driver 'evdev' for 'Hewlett Packard HP Wireless Keyboard Kit'
    [ 16.450] (**) Hewlett Packard HP Wireless Keyboard Kit: always reports core events
    [ 16.450] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: Device: "/dev/input/event12"
    [ 16.450] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Vendor 0x461 Product 0x4e25
    [ 16.450] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found 1 mouse buttons
    [ 16.450] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found scroll wheel(s)
    [ 16.450] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found relative axes
    [ 16.450] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Forcing relative x/y axes to exist.
    [ 16.450] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found absolute axes
    [ 16.450] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Forcing absolute x/y axes to exist.
    [ 16.450] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found keys
    [ 16.450] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Configuring as mouse
    [ 16.450] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Configuring as keyboard
    [ 16.450] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Adding scrollwheel support
    [ 16.450] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: YAxisMapping: buttons 4 and 5
    [ 16.450] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 16.450] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:0461:4E25.0005/input/input12/event12"
    [ 16.450] (II) XINPUT: Adding extended input device "Hewlett Packard HP Wireless Keyboard Kit" (type: KEYBOARD, id 13)
    [ 16.450] (**) Option "xkb_rules" "evdev"
    [ 16.450] (**) Option "xkb_model" "pc104"
    [ 16.450] (**) Option "xkb_layout" "us"
    [ 16.451] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: initialized for relative axes.
    [ 16.451] (WW) evdev: Hewlett Packard HP Wireless Keyboard Kit: ignoring absolute axes.
    [ 16.451] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) keeping acceleration scheme 1
    [ 16.451] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) acceleration profile 0
    [ 16.451] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) acceleration factor: 2.000
    [ 16.451] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) acceleration threshold: 4
    [ 16.451] (II) config/udev: Adding input device Hewlett Packard HP Wireless Keyboard Kit (/dev/input/event13)
    [ 16.451] (**) Hewlett Packard HP Wireless Keyboard Kit: Applying InputClass "evdev pointer catchall"
    [ 16.451] (II) Using input driver 'evdev' for 'Hewlett Packard HP Wireless Keyboard Kit'
    [ 16.451] (**) Hewlett Packard HP Wireless Keyboard Kit: always reports core events
    [ 16.451] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: Device: "/dev/input/event13"
    [ 16.452] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Vendor 0x461 Product 0x4e25
    [ 16.452] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found 3 mouse buttons
    [ 16.452] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found scroll wheel(s)
    [ 16.452] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found relative axes
    [ 16.452] (--) evdev: Hewlett Packard HP Wireless Keyboard Kit: Found x and y relative axes
    [ 16.452] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Configuring as mouse
    [ 16.452] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: Adding scrollwheel support
    [ 16.452] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: YAxisMapping: buttons 4 and 5
    [ 16.452] (**) evdev: Hewlett Packard HP Wireless Keyboard Kit: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 16.452] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.2/0003:0461:4E25.0006/input/input13/event13"
    [ 16.452] (II) XINPUT: Adding extended input device "Hewlett Packard HP Wireless Keyboard Kit" (type: MOUSE, id 14)
    [ 16.452] (II) evdev: Hewlett Packard HP Wireless Keyboard Kit: initialized for relative axes.
    [ 16.452] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) keeping acceleration scheme 1
    [ 16.452] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) acceleration profile 0
    [ 16.452] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) acceleration factor: 2.000
    [ 16.452] (**) Hewlett Packard HP Wireless Keyboard Kit: (accel) acceleration threshold: 4
    [ 16.452] (II) config/udev: Adding input device Hewlett Packard HP Wireless Keyboard Kit (/dev/input/mouse1)
    [ 16.452] (II) No input driver specified, ignoring this device.
    [ 16.452] (II) This device may have been added with another device file.
    [ 16.453] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event6)
    [ 16.453] (II) No input driver specified, ignoring this device.
    [ 16.453] (II) This device may have been added with another device file.
    [ 16.453] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event5)
    [ 16.453] (II) No input driver specified, ignoring this device.
    [ 16.453] (II) This device may have been added with another device file.
    [ 16.453] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event4)
    [ 16.453] (II) No input driver specified, ignoring this device.
    [ 16.453] (II) This device may have been added with another device file.
    [ 16.453] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
    [ 16.453] (II) No input driver specified, ignoring this device.
    [ 16.453] (II) This device may have been added with another device file.
    [ 16.454] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event7)
    [ 16.454] (**) HP WMI hotkeys: Applying InputClass "evdev keyboard catchall"
    [ 16.454] (II) Using input driver 'evdev' for 'HP WMI hotkeys'
    [ 16.454] (**) HP WMI hotkeys: always reports core events
    [ 16.454] (**) evdev: HP WMI hotkeys: Device: "/dev/input/event7"
    [ 16.454] (--) evdev: HP WMI hotkeys: Vendor 0 Product 0
    [ 16.454] (--) evdev: HP WMI hotkeys: Found keys
    [ 16.454] (II) evdev: HP WMI hotkeys: Configuring as keyboard
    [ 16.454] (**) Option "config_info" "udev:/sys/devices/virtual/input/input7/event7"
    [ 16.454] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 15)
    [ 16.454] (**) Option "xkb_rules" "evdev"
    [ 16.454] (**) Option "xkb_model" "pc104"
    [ 16.454] (**) Option "xkb_layout" "us"
    [ 1192.410] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
    [ 1811.202] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
    [ 5455.421] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none

    I saw your post, and had found it incredulous that you have a 1920x1080 display.  A bit of research and I found I was wrong.
    So, it appears you are driving the panel at its native resolution.  Unfortunately, trying to determine what you mean by "Fuzzy" is probably going to be like trying to nail Jello to a tree.  But, let's give it a shot.  Is it fuzzy before you start X?  Are lines and shapes fuzzy? Or is it just text that is fuzzy?
    If it is just fonts, it could be a problem with hinting.  Hinting is where the edges of fonts are deliberately fuzzed and feathered to get the kerning correct when the physical pixels of the display don't quite line up.  This works well, unless the thing doing the hinting does not understand the geometry of the display.  In a color LCD, each pixel is actually made up of smaller sub pixels, generally three -- A red, a green, and a blue.  Green is usually in the middle.  Some displays have Two greens per pixel, arranged RGBG.  Some displays even have yellow subpixels.  Sometimes the subpixels are arranged left to right, sometimes they are arranged top to bottom.  Long story short, if you have hinting enabled, but the geometry is configured incorrectly, bad things happen.   Take a look at this wiki article

  • How to use a Graphics Object in a JSP?

    Hello, I do not know if this is a good or a silly question. Can anyone tell me if we can use a Graphics object in a JSP. For example to draw a line or other graphics, i am planning to use the JSP. Any help is much appreciated.
    Regards,
    Navin Pathuru.

    Hi Rob or Jennifer, could you pour some light here.
    I have not done a lot of research for this, but what i want to do is below the polygon i would like to display another image object like a chart... is it possible? If so how to do it? Any help is much appreciated.
    here is the code:
    <%
    // Create image
    int width=200, height=200;
    BufferedImage image = new BufferedImage(width,
    height, BufferedImage.TYPE_INT_RGB);
    // Get drawing context
    Graphics g = image.getGraphics();
    // Fill background
    g.setColor(Color.white);
    g.fillRect(0, 0, width, height);
    // Create random polygon
    Polygon poly = new Polygon();
    Random random = new Random();
    for (int i=0; i < 5; i++) {
    poly.addPoint(random.nextInt(width),
    random.nextInt(height));
    // Fill polygon
    g.setColor(Color.cyan);
    g.fillPolygon(poly);
    // Dispose context
    g.dispose();
    // Send back image
    ServletOutputStream sos = response.getOutputStream();
    JPEGImageEncoder encoder =
    JPEGCodec.createJPEGEncoder(sos);
    encoder.encode(image);
    %>
    Regards,
    Navin Pathuru

  • Background image  for JPanel using UI Properties

    Is there any way to add background image for JPanel using UI Properties,
    code is
    if (property.equals("img")) {
    System.out.println("call image file in css"+comp);
    //set the background color for Jpanel
    comp.setBackground(Color.decode("#db7093"));
    here the comp is JPanel and we are setting the background color,
    Is there any way to put the Background image for the JPanel ????

    KrishnaveniB wrote:
    Is there any way to put the Background image for the JPanel ????Override the paintComponent(...) method of JPanel.
    e.g.
    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    import javax.imageio.ImageIO;
    public class ImagePanel {
        public void createAndShowUI() {
            try {
                JFrame frame = new JFrame("Background Image Demo");
                final Image image = ImageIO.read(new File("/home/oje/Desktop/icons/yannix.gif"));
                JPanel panel = new JPanel() {
                    protected void paintComponent(Graphics g) {
                        g.drawImage(image, 0, 0, null);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setSize(new Dimension(400, 400));
                frame.setContentPane(panel);
                frame.setLocationRelativeTo(null);
                frame.setVisible(true);
            } catch (IOException ex) {
                ex.printStackTrace();
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new ImagePanel().createAndShowUI();
    }

  • Hi, I planned to purchase a laptop for me to use for graphic design ..could let me know which laptop would be the best for me to use ? Thank you!

    Hi, I planned to purchase a laptop for me to use for graphic design ..could let me know which laptop would be the best for me to use ? Thank you! Pro or Air

    Someday - and no one knows when that day will come - maybe all applications will be able to take advantage of the Retina display. But for the present, not many do: including all Adobe applications. There was a demo of Photoshop at the Apple World Wide Developers Conference of Photoshop running at native Retina resolutions but no one at Adobe in marketing is saying when, if or how the upgrade may be coming. It could be a week, it could be a year, it could be 2-3 years. No one knows. And only Apple app's (for the main part) are really utilizing the native Retina display.
    I've seen some demos of some applications (Apple's) that take advantage of the Retina display and they're awesome. But in actually working in the here-and-now I've heard quite a few gripes, particularly on the Photoshop forum, of menus looking pixelated and/or 'blurry' so I'm not quite ready to jump into the Retina display boat just now. Don't get me wrong - others have ad are very, very pleased with their selection. But until Retina displays are available on larger monitors, the maximum work area that you're going to be able to use is 15" - and that's simply not enough room for full-blown graphic design. Then there's the cost factor - for the $4,000+ you spend for a completely full-blown Retina kit, you can get a standard MacBook Pro, 16 GB of RAM, a fast SSD and even the Apple Thunderbolt Display for the same amount.
    The standard MacBook Pro isn't better than the Retina display: it's just different. And I think (and this is only my opinion - other graphic designers should feel free to jump in here) that it's the best computer that you can get for your specific purposes. And, towards that goal, I have to recommend a very good external monitor (there's nothing more annoying than having to use InDesign in a single-page mode rather than side-by-side because your monitor isn't big enough).
    Remember that this is only my opinion and that others might jump in with their own. But I was in the electronic pre-press business for more years than I care to admit and we always - always - worked with at least 19" monitors (and that's back when dinosaurs actually ruled the world).
    I hope that others will jump in with their comments. I'm going to follow this thread and see!
    Good luck,
    Clinton

  • How to display ALV grid in a graphical display??

    Hello All,
    I want to display the ALV grid output in graphical format. I did not see any particular Function code or event in ALV for graphs. Hence I designed a PF status myself. But when I use the Function module "Graph_2D", it gives me an error.
    Can you guys suggest which is the best Function module to display the ALV output in graphical format?
    Regards,
    Abhishek
    P.S: Points will be awarded to the answers which will solve the issue

    This piece of code is giving graphical output , u can check it in ur machine.
    REPORT  ZSKC_GRAPH.
    data : begin of itab occurs 0,
            day type i,
            val type i,
           end   of itab.
    start-of-selection.
      do 5 times.
        clear itab.
        itab-day = sy-index.
        itab-val = sy-index + ( sy-index * sy-index ).
        append itab.
      enddo.
      CALL FUNCTION 'GRAPH_2D'
        TABLES
          DATA                     = itab
       EXCEPTIONS
         GUI_REFUSE_GRAPHIC       = 1
         OTHERS                   = 2
      IF SY-SUBRC <> 0.
    *    Give some message.
      ENDIF.
    You just pass ur internal table to this Function module - Do you need to display column captions etc ?? In that case you will have to use GRAPH_MATRIX_2D.

  • Can a JList display a JPanel with JButtons, JTextField, etc....  ?

    I've created a JPanel widget component that I hope could display on a line in a JList. The widget contains a JTextField, a JButton, a JCheckBox, etc...
    I'd like to insert these JPanel widgets into a JList, and have the JList box render them.
    The Widget does implement ListCellRenderer
    public class VOWidget2 extends javax.swing.JPanel implements ListCellRendereras the following
        public Component getListCellRendererComponent(JList list,
                                Object value, int index,
                                boolean isSelected, boolean cellHasFocus)
            return (JPanel)this;
        }I also set it in the JList as a DefaultListModel
    DefaultListModel model = new DefaultListModel();
    for(VideoOut curr: voList){
         VOWidget2 vow = new VOWidget2(curr,isHost);
         model.addElement(vow);
    jListVideoOutWidgets.setModel(model);I had hoped to see the JPanel rendered properly inside the JList, but instead it does a toString() on the Object and displays the text from that.
    Here is my question. Can you display a JPanel based widget inside a JList? Or should I just use a JTable instead.
    All the examples I find on the Internet only show example of JList rendering a JLable with an icon and text. Why? Why would the ListCellRenderer return a Component if the most complex thing it could display was a JLabel?

    Can you display a JPanel based widget inside a JList?Yes.
    but instead it does a toString() Implementing ListCellRenderer on your widget panel does not make it the renderer for the JList. You need to create a custom renderer that simply returns the "value" from the getListCellRendererComponent(...) method. Then you need to set this as the renderer for the JList.
    But as everyone else has mentioned you won't be able to edit any of the component or interact with them in any way. Attempting to do so would basically mean duplicating the code thats already available in JTable, which is why everybody is suggesting you just use a JTable.

  • Printing barcode using oracle graphics

    Hello Folks,
    I am trying to create bar codes using reports & graphics. The
    report documentation (chapter 06) does have guidance but which
    is not clear on the graphics side.
    Is some one can elaborate little more on this?
    Regards.
    null

    Spencer is correct...
    but, watch out for the DEVICE you are reading the
    bar code with...the wand, bar gun...etc.
    what we had to do ( my team )
    was to put and "*" before the bar code
    and a "*" after the bar code for our gun to read
    the code...then is worked...
    patrick
    from the 3of8.ttf
    go to the control panel
    find FONTS and click on it
    once the program displays all your FONTS
    click on the menu FILE and then click on
    INSTALL. this will ask you where the 3of9.tff is located
    ..find the location,
    then install.
    in your oracle report,
    click on the FONT to install 3of9...blah..blah
    good luck
    Spencer Tabbert (guest) wrote:
    : Its really quite simple to print barcodes. Essentially a
    : barcode is no more then a different font which needs to be
    : installed on your pc. Dev 6.0 does ship a sample barcode font
    : which you can install if you would like. Do a search for the
    : font named 3of9.ttf then copy this file into your fonts folder
    : which is located in your control panel. When wanting to print
    : the barcode out just change the font type for a particular item
    : on your report to the barcode font.
    : Spencer Tabbert
    : mjs (guest) wrote:
    : : Hello Folks,
    : : I am trying to create bar codes using reports & graphics.
    The
    : : report documentation (chapter 06) does have guidance but
    which
    : : is not clear on the graphics side.
    : : Is some one can elaborate little more on this?
    : : Regards.
    null

  • Having trouble displaying a JPanel on a JFrame

    Hello all,
    I'm fairly new to Java and I am having trouble displaying a JPanel on a JFrame. Pretty much I have a class called Task which has a JPanel object. Everytime the user creates a new task, a JPanel with the required information is created on screen. However, I cannot get the JPanel to display.
    Here is some of the code I have written. If you guys need to see more code to help don't hesitate to ask.
    The user enters the information on the form and clicks the createTask button. If the information entered is valid, a new task is created and the initializeTask method is called.
    private void createTaskButtonMouseClicked(java.awt.event.MouseEvent evt) {                                             
        if (validateNewTaskEntry())
         String name = nameTextField.getText().trim();
         Date dueDate = dueDateChooser.getDate();
         byte hourDue = Byte.parseByte(hourFormattedTextField.getText());
         byte minuteDue = Byte.parseByte(minuteFormattedTextField.getText());
         String amOrPm = amPmComboBox.getSelectedItem().toString();
         String group = groupComboBox.getSelectedItem().toString();
         numberTasks++;
    //     if (numberTasks == 1)
    //     else
         Task newTask = new Task(mainForm, name, dueDate, hourDue, minuteDue,
             amOrPm, group);
         newTask.initializeTask();
         this.setVisible(false);
    }This is the code that I thought would display the JPanel. If I put this code in anther form's load event it will show the panel with the red border.
    public void initializeTask()
         taskPanel = new JPanel();
         taskPanel.setVisible(true);
         taskPanel.setBorder(BorderFactory.createLineBorder(Color.RED));
         taskPanel.setBounds(0,0,50,50);
         taskPanel.setLayout(new BorderLayout());
         mainForm.setLayout(new BorderLayout());
         mainForm.getContentPane().add(taskPanel);
    }I was also wondering if this code had anything to do with it:
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new AddTaskForm(new MainForm()).setVisible(true);
        }As you can see I create a new MainForm. The MainForm is where the task is supposed to be drawn. This code is from the AddTaskForm (where they enter all the information to create a new task). I had to do this because AddTaskForm needs to use variables and methods from the MainForm class. I tried passing the mainForm I already created, but I get this error: non-static variable mainForm cannot be referenced from a static context. So to allow the program to compile I passed in new MainForm() instead. However, in my AddTaskForm class constructor, I pass the original MainForm. Here is the code:
    public AddTaskForm(MainForm mainForm)
       initComponents();
       numberTasks = 0;
       this.mainForm = mainForm;
    }Is a new mainForm actually being created and thats why I can't see the JPanel on the original mainForm? If this is the case, how would I pass the mainForm to addTaskForm? Thanks a ton for any help/suggestions!
    Brian

    UPDATE
    While writing the post an idea popped in my head. I decided to not require a MainForm in the AddTaskForm. Instead to get the MainForm I created an initializeMainForm method.
    This is what I mean by not having to pass new MainForm():
        public static void main(String args[])
         java.awt.EventQueue.invokeLater(new Runnable()
             public void run()
              new MainForm().setVisible(true);
        }Even when I don't create the new MainForm() the JPanel still doesn't show up.
    Again, thanks for any help.
    Brian

  • Graphs using business graphics

    Hi all,
    I am trying to generate graphs in webdnpro using business graphics but I want to view those graphs in Adobe. Is that possible?
    What is the place where these graphs which are generated in NWDS are saved?what if I can pick the graphs geerated there and then push them into adobe somehow?
    Please help me out.
    Thanks and reagards,
    Gaurav

    Hi Gaurav,
                  To create  business graphics dynamically, you can do like this
    [if(firstTime){
    //Create as many as you want         
    IWDBusinessGraphics bg1 = (IWDBusinessGraphics) view.createElement(IWDBusinessGraphics.class,"bg1");     
    // set type and other properties
    bg1.setChartType(WDBusinessGraphicsType.BARS);
    But this is for first time when you open the view. If you want to change the number of graphs displayed at runtime. Access the graphs runtime and set visibility
    //access them again
    IWDBusinessGraphics bg1_mdfy =(IWDBusinessGraphics) view.getElement("bg1");
    //if you want to hide
    bg1_mdfy.setVisible(WDVisibility.NONE);
    regards,
    Siva

Maybe you are looking for