Hello all,
My application catches ESCAPE keypresses and closes the current internal frame in such a situation.
Dialogs (as popped up from JOptionPane) are problematic in that I have not been able to catch the ESCAPE event in the dialog, and it ends up propagating to the internal frame...
Hi all,
I have created a simple class that extends DefaultCellEditor (see below), but it appears that shouldSelectCell() is not working - the cell's contents do not get selected.
Advice much appreciated!!
class PaymentCellEditor extends javax.swing.DefaultCellEditor {
public...
Hello,
I imagine it's my renderer(??), but not sure why -- when I call JTable.getSelectedRow() (or for that matter, getSelectedColumn()), if a full row isn't selected, it will always return -1. But I need the row to be returned correctly even when just a cell is selected. Below is a clip of...
Advice grately appreciated:
I can't for the life of me figure out why this doesn't work. From the command line, this works:
copy /B test.txt \\Hq2oakps2\p4103hp5k
And consulting this thread:
http://jguru.com/forums/view.jsp?EID=476993
I wrote this code:
Process printJobProcess = null...
Hello,
Using awt.print.PrinterJob.pageDialog() from a JInternalFrame is problematic in two ways:
1. When pressing ESC to close the pageDialog, the keypress is not consumed by it, and is caught by my application, which thinks that it needs to close the window that was currently open (when the...
I would like to be able to send a file to a WIndows printer in PCL format from my Java app (I've already constructed and verified the PCL in Unix), but am at a loss... anyone have experience with this?
I have been able to send the PCL file via FTP, or by opening a Socket to the printer, but...
I cannot seem to get my HP9000dn to give me 9 lines per inch. The two most relevant commands (I'm working in PCL) I've tried are:
Setting the line spacing to 9 lines per inch:
Ec&l9D 027 038 108 057 068
This is ignored by the printer (9 is invalid?).
Setting the vertical motion index...
I cannot seem to get my HP9000dn to give me 9 lines per inch. The two most relevant commands I've tried are:
Setting the line spacing to 9 lines per inch:
Ec&l9D 027 038 108 057 068
This is ignored by the printer (9 is invalid?).
Setting the vertical motion index to 5
Ec&l5C 027...
I would like to be able to send a file to a WIndows printer in PCL format from my Java app (I've already constructed and verified the PCL in Unix), but am at a loss... anyone have experience with this?
Hello,
Using awt.print.PrinterJob.pageDialog() from a JInternalFrame is problematic in two ways:
1. When pressing ESC to close the pageDialog, the keypress is not consumed by it, and is caught by my application, which thinks that it needs to close the window that was currently open (when the...
Hello,
After a long day of trying everything I could (including trying out the 4DOS command shell), I am at a loss. I would simply like to do the following to my MS-DOS command prompt in Windows 98:
- increase the buffer size so I can look back at lines that have scrolled off the screen...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.