Somebody help me with this ??
Hi,
I need your help, please.
When execute this code:
File dir = new File("c:\\paso");
File[] files = dir.listFiles();
I see "files" and the content is this: "[Ljava.io.File;@111f71".
How I can see the name of the File ??
How I can run a program with the parameter from one by one from the files reader ???
Thank's.
Hervey P.
Hi,
files is a File array object and as such has no interesting internal string representation other
than what you've already seen.
Looping through the array will get you individual File objects which similiarily have
little interesting information when examined.
However if you use files.getName() this will return a String of the name of the file and
files[i].getParent() will return a String of the path (if one exists)
Reading the JavaDoc on java.io.File is recommended
Similar Messages
-
Can somebody help me with this code?
Can anyone help me with this code? My problem is that i can't
seem to position this form, i want to be able to center it
vertically & horizontally in a div either using CSS or any
other means.
<div id="searchbar"><!--Search Bar -->
<div id="searchcart">
<div class="serchcartcont">
<form action='
http://www.romancart.com/search.asp'
name="engine" target=searchwin id="engine">
<input type=hidden value=????? name=storeid>
<input type=text value='' name=searchterm>
<input type=submit value='Go'> </form>
</div>
</div>
<div class="searchcont">Search For
Products:</div>
</div><!-- End Search Bar -->
Pleasssssseeeeeeee Help
ThanksHi,
Your form is defined in a div named "serchcartcont", you can
use attributes like position and align of the div to do what you
want to do. But there are two more dives above this dive, you will
have define the height width of these before you can center align
the inner most div. If you are not defining the height & width
then by default it decide it automatically to just fit the content
in it.
Hope this helps.
Maneet
LeXolution IT Services
Web Development
Company -
Please somebody help me with this
1.1 modify the application so that:
i) Information about any foreign key constraints for the selected table is displayed eg as
additional labels in the table editor window, or in a separate dialog window.
You can choose how you wish to display this information.
ii) An Update button is added for each text field in the display, which will attempt to update the corresponding field in the database table, from the current data in the textfield. The following code will retrieve the current value from a JTextField object:
String newValue = textfieldName.getText();
The following code will convert the string to a number:
int newNumber = Integer.parseInt(newValue);
Remember, an attempt to update a row in a table may fail if eg it tries to alter a
foreign key to a value not currently recorded for any corresponding primary key
that the foreign key refers to.
An attempt to set a foreign key field to 'null' should always be successful.
If the update attempt fails, the value in the displayed text field should revert to its
original state, to maintain consistency with the database.
import java.io.*;
import java.sql.*;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import oracle.jdbc.driver.*;
* class JdbcCW
* demonstration of Java client connecting to an Oracle DBMS
* @author put your name here
* @date December 2002
public class JdbcCW extends JFrame{
static String url = "jdbc:oracle:thin:@localhost:1521:orcl";
static String initialquery = "select table_name from user_tables";
static String nullstring = "null";
private String user;
private String pass;
private Connection conn;
private Statement stmt;
private ResultSet results;
private JComboBox tableChooser;
private JButton editButton;
private JButton exitButton;
private JButton detailsButton;
private JPanel panel1;
private JPanel panel2;
private String selectedTable;
private Container cp;
public static void main(String[] args) throws SQLException {
JdbcCW demo = new JdbcCW();
demo.show();
* JdbcCW constructor method
public JdbcCW() throws SQLException {
super("Java/Oracle coursework");
addWindowListener (new WindowAdapter() {
public void windowClosing (WindowEvent evt) {
System.exit(0);
try {
user =
JOptionPane.showInputDialog("enter oracle username eg ops$c9999999");
pass = JOptionPane.showInputDialog("enter oracle password eg 29feb80");
if ( user.length() == 0 || pass.length() == 0)
throw new Exception("no user name and/or password");
DriverManager.registerDriver (new OracleDriver());
conn = DriverManager.getConnection(url, user, pass);
if (conn != null)
System.out.println("Connected");
catch (Exception e ) {
e.printStackTrace();
System.exit(0); // problems - abandon ship
// now we can access tables in the database
stmt = conn.createStatement();
results = stmt.executeQuery(initialquery);
boolean anyRecords = results.next();
if ( ! anyRecords ) {
JOptionPane.showMessageDialog (this, "No Tables in the database");
System.exit(0);
tableChooser = new JComboBox();
do
tableChooser.addItem(results.getString(1));
while (results.next() ) ;
selectedTable = (String) tableChooser.getSelectedItem();
tableChooser.addActionListener (new ActionListener () {
public void actionPerformed (ActionEvent evt) {
changeTable();
editButton = new JButton("Edit");
editButton.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent evt) {
runEdit();
exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent evt) {
System.exit(0);
panel1 = new JPanel(); // panels have flow layout
JLabel label1 = new JLabel("Choose Table");
panel1.add(label1);
panel1.add(tableChooser);
panel2 = new JPanel();
panel2.add(editButton);
panel2.add(exitButton);
cp = getContentPane();
cp.add(panel1,BorderLayout.NORTH);
cp.add(panel2,BorderLayout.SOUTH);
setSize(300,200);
setLocation(100,100);
private void changeTable() {
selectedTable = (String) tableChooser.getSelectedItem();
* method runEdit runs a query to determine the structure of the
* selected table in order to customise the table editor window
private void runEdit() {
System.out.println("Selected Table " + selectedTable);
String query = "select column_name,data_type from user_tab_columns " +
"where table_name = '" + selectedTable + "'";
try {
results = stmt.executeQuery(query);
} catch (java.sql.SQLException e) {
System.out.println("SQL Exception on query " + query);
return;
JdbcEdit tableEditor = new JdbcEdit(this,selectedTable,results);
tableEditor.show();
public ResultSet makeQuery(String query) {
ResultSet results;
try {
results = stmt.executeQuery(query);
} catch (SQLException e) {
System.out.println("Query Failed " + query);
return null;
return results;
} // end class JdbcGen
* class JdbcEdit
* oracle table editing dialog window
* @author put your name here as well
* @date December 2002
class JdbcEdit extends JDialog {
private JdbcCW parent;
private Container cp;
private Vector columnNames;
private Vector dataTypes;
private Vector editFields;
private Vector rows;
private int noOfColumns;
private int currentRow = 0;
* JdbcEdit constructor method
* the parameter true makes the dialog window modal -
* the parent frame is inactive as long as this window is displayed
public JdbcEdit (JdbcCW parent, String tableName, ResultSet results) {
super(parent,"table editor " + tableName, true);
this.parent = parent;
columnNames = new Vector();
dataTypes = new Vector();
editFields = new Vector();
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel,BoxLayout.Y_AXIS));
// boxLayout - components are added to mainPanel in a vertical stack
try {
boolean anyRecords = results.next();
if ( ! anyRecords ) {
JOptionPane.showMessageDialog (this, "No Detail for " +
tableName+ " in the database");
return;
do {
String columnName = results.getString(1);
String dataType = results.getString(2);
System.out.println("Row " + columnName + " Type " + dataType);
JPanel editPanel = new JPanel();
JLabel colNameLabel = new JLabel(columnName);
JTextField dataField = new JTextField(20);
editPanel.add(colNameLabel);
editPanel.add(dataField);
// this would be a good place to add an Update button
mainPanel.add(editPanel);
// now store the columnName, dataType and data text field
// in vectors so other methods can access them
// at this point in time the text field is empty
columnNames.add(columnName);
dataTypes.add(dataType);
editFields.add(dataField);
}while (results.next() ) ;
} catch (java.sql.SQLException e) {
System.out.println("SQL Exception on query ");
return;
// get the data from the Oracle table and put the first
// row of data in the text fields in the dialog window
populateData(tableName);
// find out which column(s) are part of the primary key and make these
// textfields non-editable so the values can't be changed
findPKConstraints(tableName);
// this would be a good place to discover any foreign key constraints
JPanel buttonsPanel = new JPanel();
JButton exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent evt) {
closeWindow();
JButton nextButton = new JButton("Next");
nextButton.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent evt) {
showRow(true);
JButton prevButton = new JButton("Prev");
prevButton.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent evt) {
showRow(false);
buttonsPanel.add(exitButton);
buttonsPanel.add(nextButton);
buttonsPanel.add(prevButton);
cp = getContentPane();
cp.add(mainPanel,BorderLayout.CENTER);
cp.add(buttonsPanel,BorderLayout.SOUTH);
pack();
private void closeWindow() {
dispose();
private void populateData(String tableName) {
int noOfColumns;
// have to access the Statement object in the parent frame
ResultSet tableData = parent.makeQuery("select * from " + tableName);
try {
boolean anyRecords = tableData.next();
if ( ! anyRecords ) {
JOptionPane.showMessageDialog (this, "No data in " +
tableName);
return;
rows = new Vector();
noOfColumns = columnNames.size();
do {
String [] row = new String[noOfColumns];
for (int i = 0; i < noOfColumns; i++) {
row[i] = tableData.getString(i+1);
rows.add(row);
} while (tableData.next() ) ;
} catch (java.sql.SQLException e) {
System.out.println("SQL Exception on query ");
return;
// Put the first row of data from the table into the test fields;
String [] rowData = (String[]) rows.get(0);
for (int i = 0; i < noOfColumns; i++) {
// get the reference to a text field in the dialog window
JTextField textField = (JTextField) editFields.get(i);
// vector editFields holds a reference to each JTextField
// in the visible dialog window
// hence the next line of code puts the data retrieved from
// the table into the relevant text field in the GUI interface
textField.setText(rowData);
// method showRow updates the textfields in the GUI interface
// with the next row of data from the table ( if next is true)
// or with the previous row of data from the table ( if next is false)
private void showRow(boolean next) {
if ( rows == null ) {
System.out.println("table is empty");
getToolkit().beep();
return;
if (next && currentRow < rows.size() - 1) {
currentRow++;
} else if (!next && currentRow > 0) {
currentRow--;
} else {
System.out.println("No Next/Prev row " + currentRow);
getToolkit().beep();
return;
String [] rowData = (String[]) rows.get(currentRow);
int noOfAttributes = dataTypes.size();
for (int i = 0; i < noOfAttributes; i++) {
JTextField textField = (JTextField) editFields.get(i);
textField.setText(rowData[i]);
private void findPKConstraints(String tableName){
String PK_ConstraintName = "none";
String pkquery =
"select owner,constraint_name from user_constraints " +
"where table_name = '" + tableName + "' and constraint_type = 'P'";
// have to access the Statement object in the parent frame
ResultSet results = parent.makeQuery(pkquery);
try {
boolean anyRecords = results.next();
if ( ! anyRecords ) {
// if none just return - but print a debug message
System.out.println("No primary key constraint found");
return;
} else {
// There should only be one
System.out.println("Owner = " + results.getString(1) +
" name = " + results.getString(2));
PK_ConstraintName = results.getString(2);
// Now find out which columns
pkquery =
"select Column_name, position from user_cons_columns"
+ " where constraint_name = '" + PK_ConstraintName
+ "'";
// have to access the Statement object in the parent frame
results = parent.makeQuery(pkquery);
anyRecords = results.next();
if ( ! anyRecords ) {
// if none just return - but there must be at least one
System.out.println("no columns found");
return;
} else {
do {
System.out.println
("Name " + results.getString(1) +
" position " + results.getString(2))
int position = Integer.parseInt(results.getString(2));
JTextField primarykey =
(JTextField)editFields.get(position - 1);
primarykey.setEditable(false);
} while (results.next());
} catch (java.sql.SQLException e) {
System.out.println("SQL Exception on query " + pkquery);
return;You're pretty optimistic if you think anyone is going to answer that. There are three very good reasons not to (each is good enough by themselves!).
1. IT'S YOUR HOMEWORK, IT DOESN'T EVEN LOOK AS THOUGH YOU'VE TRIED. WE HELP WITH PROBLEMS, NOT PROVIDE SOLUTIONS, ESPECIALLY FOR HOMEWORK.
2. Format your code. Use [ code] and [ /code] (without the spaces). And if you've used 'i' as an index variable, [ i] will result in switching to italics mode. Use 'j' as your index variable.
3. Don't post your whole program, only the parts you're having trouble with (mostly not relevant for this question, as you don't seem to have trouble with any particular area) -
Can somebody help me with this Panic Report:
Thu Mar 21 11:38:18 2013
Panic(CPU 3): Unresponsive processor (this CPU did not acknowledge interrupts) TLB state:0x0
RAX: 0x00000000ffffffff, RBX: 0x0000000000002710, RCX: 0x0000000000007000, RDX: 0xffffff80eb84d078
RSP: 0xffffff80eb7dbc1c, RBP: 0xffffff80eb7dbc20, RSI: 0x0000000000007000, RDI: 0xffffff80d4ef6004
R8: 0xffffff80eb7cd078, R9: 0x0000000000000000, R10: 0x0000000000000000, R11: 0x0000000000000040
R12: 0x0000000000000000, R13: 0x0000000000000003, R14: 0x0000000000000066, R15: 0xffffff80d4ef6004
RFL: 0x0000000000000292, RIP: 0xffffff7f83536e52, CS: 0x0000000000000008, SS: 0x0000000000000010
Backtrace (CPU 3), Frame : Return Address
0xffffff80eb85af50 : 0xffffff80026bd371
0xffffff80eb85af80 : 0xffffff80026b7203
0xffffff80eb85afd0 : 0xffffff80026ce6a8
0xffffff80eb7dbc20 : 0xffffff7f835136c1
0xffffff80eb7dbc80 : 0xffffff7f8355e8b9
0xffffff80eb7dbcb0 : 0xffffff7f8355ea28
0xffffff80eb7dbce0 : 0xffffff7f835604c6
0xffffff80eb7dbda0 : 0xffffff7f8351089f
0xffffff80eb7dbe20 : 0xffffff7f83502099
0xffffff80eb7dbe60 : 0xffffff7f83539300
0xffffff80eb7dbe80 : 0xffffff7f83504a9a
0xffffff80eb7dbec0 : 0xffffff7f834b05c2
0xffffff80eb7dbef0 : 0xffffff8002a472a8
0xffffff80eb7dbf30 : 0xffffff8002a45daa
0xffffff80eb7dbf80 : 0xffffff8002a45ed9
0xffffff80eb7dbfb0 : 0xffffff80026b26b7
Kernel Extensions in backtrace:
com.apple.driver.AirPort.Atheros40(600.70.23)[2E6077DF-D532-357F-8107-F23BC2C10 F2F]@0xffffff7f834a2000->0xffffff7f835eafff
dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f82c07000
dependency: com.apple.iokit.IO80211Family(500.15)[4282DF5A-86B9-3213-B9B1-675FAD842A94]@0xf fffff7f83436000
dependency: com.apple.iokit.IONetworkingFamily(3.0)[28575328-A798-34B3-BD84-D708138EBD17]@0 xffffff7f82ecc000
Kernel Extensions in backtrace:
com.apple.driver.AirPort.Atheros40(600.70.23)[2E6077DF-D532-357F-8107-F23BC2C10 F2F]@0xffffff7f834a2000->0xffffff7f835eafff
dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f82c07000
dependency: com.apple.iokit.IO80211Family(500.15)[4282DF5A-86B9-3213-B9B1-675FAD842A94]@0xf fffff7f83436000
dependency: com.apple.iokit.IONetworkingFamily(3.0)[28575328-A798-34B3-BD84-D708138EBD17]@0 xffffff7f82ecc000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000002400000
Kernel t
Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 3.1 GHz, 8 GB, SMC 1.72f2
Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333531533642465238432D48392020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333531533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.70.23-P2P
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HDS722020ALA330, 2 TB
Serial ATA Device: OPTIARC DVD RW AD-5690H
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: Ext HDD 1021, 0x1058 (Western Digital Technologies, Inc.), 0x1021, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: CTH-470, 0x056a (WACOM Co., Ltd.), 0x00de, 0xfd140000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
It occurs up to twice a day!!!
Thanks ConstiPanic(CPU 0): Unresponsive processor (this CPU did not acknowledge interrupts) TLB state:0x0
RAX: 0x00000000ffffffff, RBX: 0x0000000000002710, RCX: 0x0000000000007000, RDX: 0xffffff80eb715078
RSP: 0xffffff80fa8fba2c, RBP: 0xffffff80fa8fba30, RSI: 0x0000000000007000, RDI: 0xffffff80daee1004
R8: 0xffffff8008cbec60, R9: 0x00007fff8bcb9b00, R10: 0xffffff8008cbdc20, R11: 0x00007fff8bcb9b01
R12: 0x0000000000000000, R13: 0x0000000000000003, R14: 0x0000000000000066, R15: 0xffffff80daee1004
RFL: 0x0000000000000292, RIP: 0xffffff7f8958fe52, CS: 0x0000000000000008, SS: 0x0000000000000000
Backtrace (CPU 0), Frame : Return Address
0xffffff80eb714f50 : 0xffffff80086bd371
0xffffff80eb714f80 : 0xffffff80086b7203
0xffffff80eb714fd0 : 0xffffff80086ce6a8
0xffffff80fa8fba30 : 0xffffff7f8956c6c1
0xffffff80fa8fba90 : 0xffffff7f895b78b9
0xffffff80fa8fbac0 : 0xffffff7f895b7a28
0xffffff80fa8fbaf0 : 0xffffff7f895b94c6
0xffffff80fa8fbbb0 : 0xffffff7f8956989f
0xffffff80fa8fbc30 : 0xffffff7f8955ab61
0xffffff80fa8fbcb0 : 0xffffff7f89535102
0xffffff80fa8fbcf0 : 0xffffff7f89523056
0xffffff80fa8fbd10 : 0xffffff7f89546f72
0xffffff80fa8fbd80 : 0xffffff7f8954d3c4
0xffffff80fa8fbdc0 : 0xffffff7f8954743c
0xffffff80fa8fbe60 : 0xffffff7f8954ce66
0xffffff80fa8fbea0 : 0xffffff7f895934b3
0xffffff80fa8fbed0 : 0xffffff7f895da7ce
0xffffff80fa8fbf20 : 0xffffff8008a49e4a
0xffffff80fa8fbf60 : 0xffffff800863dcde
0xffffff80fa8fbfb0 : 0xffffff80086b26b7
Kernel Extensions in backtrace:
com.apple.driver.AirPort.Atheros40(600.70.23)[2E6077DF-D532-357F-8107-F23BC2C10 F2F]@0xffffff7f894fb000->0xffffff7f89643fff
dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f88c07000
dependency: com.apple.iokit.IO80211Family(500.15)[4282DF5A-86B9-3213-B9B1-675FAD842A94]@0xf fffff7f8948f000
dependency: com.apple.iokit.IONetworkingFamily(3.0)[28575328-A798-34B3-BD84-D708138EBD17]@0 xffffff7f88e3e000
Kernel Extensions in backtrace:
com.apple.driver.AirPort.Atheros40(600.70.23)[2E6077DF-D532-357F-8107-F23BC2C10 F2F]@0xffffff7f894fb000->0xffffff7f89643fff
dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f88c07000
dependency: com.apple.iokit.IO80211Family(500.15)[4282DF5A-86B9-3213-B9B1-675FAD842A94]@0xf fffff7f8948f000
dependency: com.apple.iokit.IONetworkingFamily(3.0)[28575328-A798-34B3-BD84-D708138EBD17]@0 xffffff7f88e3e000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000008400000
Kernel text base: 0xffffff8008600000
System model name: iMac12,2 (Mac-942B59F58194171B)
System uptime in nanoseconds: 12068988959830
last loaded kext at 10314800767704: com.apple.filesystems.smbfs 1.8 (addr 0xffffff7f8a98c000, size 229376)
last unloaded kext at 10423125018987: com.apple.driver.AppleUSBCDC 4.1.22 (addr 0xffffff7f8a97b000, size 12288)
loaded kexts:
com.parallels.filesystems.prlufs 2010.12.28
com.parallels.kext.prl_vnic 7.0 15107.796624
com.parallels.kext.prl_netbridge 7.0 15107.796624
com.parallels.kext.prl_hid_hook 7.0 15107.796624
com.parallels.kext.prl_hypervisor 7.0 15107.796624
com.parallels.kext.prl_usb_connect 7.0 15107.796624
com.avatron.AVExFramebuffer 1.6.4
com.avatron.AVExVideo 1.6.4
com.rim.driver.BlackBerryUSBDriverInt 0.0.74
com.apple.filesystems.smbfs 1.8
com.apple.filesystems.msdosfs 1.8
com.apple.driver.AppleBluetoothMultitouch 75.15
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.IOBluetoothSCOAudioDriver 4.0.9f33
com.apple.driver.IOBluetoothA2DPAudioDriver 4.0.9f33
com.apple.iokit.IOBluetoothSerialManager 4.0.9f33
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.3.1f2
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.kext.AMDFramebuffer 8.0.0
com.apple.driver.AppleMikeyDriver 2.3.1f2
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.AMDRadeonAccelerator 1.0.0
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.AppleLPC 1.6.0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.11
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleIRController 320.15
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AirPort.Atheros40 600.70.23
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleMultitouchDriver 235.28
com.apple.driver.AppleBluetoothHIDKeyboard 165.5
com.apple.driver.IOBluetoothHIDDriver 4.0.9f33
com.apple.driver.AppleHIDKeyboard 165.5
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.1f2
com.apple.iokit.IOAudioFamily 1.8.9fc10
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.iokit.IOSurface 86.0.3
com.apple.driver.AppleThunderboltEDMSink 1.1.8
com.apple.driver.AppleThunderboltEDMSource 1.1.8
com.apple.iokit.IOAcceleratorFamily 19.0.26
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IOBluetoothFamily 4.0.9f33
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleHDAController 2.3.1f2
com.apple.iokit.IOHDAFamily 2.3.1f2
com.apple.driver.AppleGraphicsControl 3.2.11
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.kext.triggers 1.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.kext.AMD6000Controller 8.0.0
com.apple.kext.AMDSupport 8.0.0
com.apple.iokit.IONDRVSupport 2.3.5
com.apple.iokit.IOGraphicsFamily 2.3.5
com.apple.driver.AppleThunderboltDPOutAdapter 1.8.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.1.1
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.driver.AppleKeyStore 28.21
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOStorageFamily 1.8
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Panic(CPU 2): Unresponsive processor (this CPU did not acknowledge interrupts) TLB state:0x0
RAX: 0xffffff801c4d2800, RBX: 0xffffff801c82c000, RCX: 0xffffff80fa985000, RDX: 0x000000007c34f001
RSP: 0xffffff80fa6dbbf0, RBP: 0xffffff80fa6dbc00, RSI: 0xffffff801c4d2980, RDI: 0xffffff801c4d2980
R8: 0x0000000000000000, R9: 0xffffff8104cf7000, R10: 0xffffff80fabb6000, R11: 0xffffff80fab86000
R12: 0x0000000000001664, R13: 0xffffff801cc27ab0, R14: 0xffffff80fa6dbc18, R15: 0x0000000000006670
RFL: 0x0000000000000202, RIP: 0xffffff7f8a0f552e, CS: 0x0000000000000008, SS: 0x0000000000000010
Backtrace (CPU 2), Frame : Return Address
0xffffff80f182cf50 : 0xffffff80086bd371
0xffffff80f182cf80 : 0xffffff80086b7203
0xffffff80f182cfd0 : 0xffffff80086ce6a8
0xffffff80fa6dbc00 : 0xffffff7f8a0ba8f4
0xffffff80fa6dbc20 : 0xffffff7f8a1d4320
0xffffff80fa6dbc40 : 0xffffff7f893853e2
0xffffff80fa6dbcc0 : 0xffffff7f8a1d49fc
0xffffff80fa6dbd60 : 0xffffff7f8938e87f
0xffffff80fa6dbdb0 : 0xffffff7f8938e6f4
0xffffff80fa6dbdd0 : 0xffffff7f8938e45b
0xffffff80fa6dbe50 : 0xffffff7f8938905a
0xffffff80fa6dbef0 : 0xffffff7f89388cfa
0xffffff80fa6dbf30 : 0xffffff8008a66e4e
0xffffff80fa6dbf70 : 0xffffff80086a5b16
0xffffff80fa6dbfb0 : 0xffffff80086ced53
Kernel Extensions in backtrace:
com.apple.iokit.IOHDAFamily(2.3.1f2)[9C95D2A5-6F93-3240-9512-C50D9D7FC51B]@0xff ffff7f8a0b7000->0xffffff7f8a0c2fff
com.apple.iokit.IOAudioFamily(1.8.9f10)[0616A409-B8AF-34AC-A27A-F99939D8BD48]@0 xffffff7f8937d000->0xffffff7f893abfff
dependency: com.apple.kext.OSvKernDSPLib(1.6)[E29D4200-5C5A-3A05-8A28-D3E26A985478]@0xfffff f7f89376000
com.apple.driver.AppleHDA(2.3.1f2)[1EE24819-23E1-3856-B70C-DE8769D2B3F6]@0xffff ff7f8a1c2000->0xffffff7f8a23cfff
dependency: com.apple.driver.AppleHDAController(2.3.1f2)[C2BAE0DE-652D-31B4-8736-02F1593D23 46]@0xffffff7f8a0ed000
dependency: com.apple.iokit.IONDRVSupport(2.3.5)[86DDB71C-A73A-3EBE-AC44-0BC9A38B9A44]@0xff ffff7f891d8000
dependency: com.apple.iokit.IOAudioFamily(1.8.9fc10)[0616A409-B8AF-34AC-A27A-F99939D8BD48]@ 0xffffff7f8937d000
dependency: com.apple.iokit.IOHDAFamily(2.3.1f2)[9C95D2A5-6F93-3240-9512-C50D9D7FC51B]@0xff ffff7f8a0b7000
dependency: com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7f89195000
dependency: com.apple.driver.DspFuncLib(2.3.1f2)[462137E5-EB47-3101-8FA8-F3AC82F2521B]@0xff ffff7f8a103000
Kernel Extensions in backtrace:
com.apple.driver.AppleHDAController(2.3.1f2)[C2BAE0DE-652D-31B
Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 3.1 GHz, 8 GB, SMC 1.72f2
Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333531533642465238432D48392020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333531533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.70.23-P2P
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HDS722020ALA330, 2 TB
Serial ATA Device: OPTIARC DVD RW AD-5690H
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 5
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: Flash Disk, 0x1221, 0x3234, 0xfd140000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
I also often have this Panic report.
I think it includes the Software part. My other Panic report had no software report!#
Thank you all for helping!
It is from January 2013.
Consti -
I keep getting an error1 descktop failure while installing cc desktop????
http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip/
http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
or
A chat session where an agent may remotely look inside your computer may help
Creative Cloud chat support (all Creative Cloud customer service issues)
http://helpx.adobe.com/x-productkb/global/service-ccm.html -
Please GOD somebody help me with this session
I went to a Track to use an EQ and now my whole session will not display only the EQ window I was using!! has anyone ever had this issue??
hit cmd-1.
-
Somebody help me with this gridbaglayout code....
guys
do take a look at this problem....this code on being compile and executed doesn't give any error nor does it give any exception...no response at all.
import javax.swing.*;
import java.awt.*;
import javax.swing.event.*;
import java.awt.event.*;
import java.util.*;
public class Applicant extends JFrame
JPanel panel;
JLabel lapid;
JLabel lapaddress;
JLabel lapposition;
JLabel lapname;
JButton submit;
JButton reset;
JTextField tapid;
JTextField tapaddress;
JTextField tapname;
JComboBox cbapposition;
GridBagLayout g;
GridBagConstraints gbc;
public Applicant()
super("application");
create();
public void create()
Container c=getContentPane();
g=new GridBagLayout();
gbc=new GridBagConstraints();
panel=new JPanel();//(JPanel)getContentPane();
panel.setLayout(g);
lapid=new JLabel("applicant id");
gbc.fill=GridBagConstraints.BOTH;
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=0;
gbc.gridy=1;
g.setConstraints(lapid,gbc);
panel.add(lapid);
tapid=new JTextField();
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=1;
gbc.gridy=1;
g.setConstraints(tapid,gbc);
panel.add(tapid);
lapname=new JLabel("applicant name");
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=0;
gbc.gridy=2;
g.setConstraints(lapname,gbc);
panel.add(lapname);
tapname=new JTextField();
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=1;
gbc.gridy=2;
g.setConstraints(tapname,gbc);
panel.add(tapname);
lapaddress=new JLabel ("applicant address");
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=0;
gbc.gridy=3;
g.setConstraints(lapaddress,gbc);
panel.add(lapaddress);
tapaddress= new JTextField();
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=1;
gbc.gridy=3;
g.setConstraints(tapaddress,gbc);
panel.add(tapaddress);
lapposition=new JLabel("applicant position");
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=0;
gbc.gridy=4;
g.setConstraints(lapposition,gbc);
panel.add(lapposition);
cbapposition=new JComboBox();
cbapposition.addItem("executive");
cbapposition.addItem("manager");
gbc.fill=GridBagConstraints.BOTH;
gbc.insets=new Insets(10,0,0,30);
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=1;
gbc.gridy=4;
g.setConstraints(cbapposition,gbc);
panel.add(cbapposition);
JButton submit=new JButton("submit");
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=0;
gbc.gridy=5;
g.setConstraints(submit,gbc);
panel.add(submit);
JButton reset=new JButton("reset");
gbc.ipady=2;
gbc.ipadx=2;
gbc.gridx=1;
gbc.gridy=5;
g.setConstraints(reset,gbc);
panel.add(reset);
c.add(panel,BorderLayout.CENTER);
c.setSize(500,400);
c.setVisible(true);
public static void main(String[] args)
System.out.println("hi");
Applicant a=new Applicant();
System.out.println("there");
try
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch(Exception e)
System.out.println("hello");
Ok, you know how to use the "bold" tags which do absolutely nothing to make the question clearer. Now learn how to use the "code" tags which will keep the codes original formatting and make the code easier to read, which in turn will make it easier for people to understand you code and provide some advice.
-
Photoshop General DiscussionPhotoshop General Discussion
Might be good if you'd describe what kind of computer, and a bit more about just what you did.
"I have downloaded the photoshop CC" isn't really very descriptive. Did you run the Creative Cloud application? Did it spend time installing Photoshop (i.e., did you see the little progress bar go across)?
It may be that it's there and you just don't know how to start it, or you didn't install anything yet. It's hard to know without more info.
-Noel -
I recently upgraded to IOS 10.9.5 and now I can't export anything from final cut Pro X. Could somebody please help me with this?
SSign in to the App Store using the Apple ID that was used to purchase the software.
-
I would like to remove a short gray edge from two images. I need help in that I am not yet able to use PhotoShop. Could somebody kindly help me with this?
I doubt it Doc Maik, but I am certainly happy to learn The image is this one (and a similar one). They would be beautiful portraits if not for the "extra mouth". The grey edge that I would like to remove is the excess of (grey) mouth that is actually my horse's chin, but that in the pictures looks like a wider, looping mouth. Practically, looking at the picture, the "extra mouth" to the left. What I would love it to be able correct that to look like a normal mouth, which means that half of the protruding edge should be removed. I am not sure I was able to explain myself, but here is one of the two pictures. I thank you for you kindness in being available to advise me.
-
Hi, my name is Chenet i have a Macbook 0sx lion 10.7.5 i don't remember my password for the system preferences i can't even go online, can somebody help me with that please
Hi 'baltwo'
Thank you for your link, I already had been on this particular website this afternoon. they only discuss problems in the application and nothing about how the MS Office application installation does disturb Mac OS.
Or have I missed a special comment there?
In any case many thanks, trioloGo -
Can someone pls help me with this code
The method createScreen() creates the first screen wherein the user makes a selection if he wants all the data ,in a range or single data.The problem comes in when the user makes a selection of single.that then displays the singleScreen() method.Then the user has to input a key data like date or invoice no on the basis of which all the information for that set of data is selected.Now if the user inputs a wrong key that does not exist for the first time the program says invalid entry of data,after u click ok on the option pane it prompts him to enter the data again.But since then whenever the user inputs wrong data the program says wrong data but after displaying the singlescreen again does not wait for input from the user it again flashes the option pane with the invalid entry message.and this goes on doubling everytime the user inputs wrong data.the second wrong entry of data flashes the error message twice,the third wrong entry flashes the option pane message 4 times and so on.What actually happens is it does not wait at the singlescreen() for user to input data ,it straight goes into displaying the JOptionPane message for wrong data entry so we have to click the optiion pane twice,four times and so on.
Can someone pls help me with this!!!!!!!!!
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.text.*;
import java.util.*;
public class MainMenu extends JFrame implements ActionListener,ItemListener{
//class
FileReaderDemo1 fd=new FileReaderDemo1();
FileReaderDemo1 fr;
Swing1Win sw;
//primary
int monthkey=1,counter=0;
boolean flag=false,splitflag=false;
String selection,monthselection,dateselection="01",yearselection="00",s,searchcriteria="By Date",datekey,smonthkey,invoiceno;
//arrays
String singlesearcharray[];
String[] monthlist={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"};
String[] datelist=new String[31];
String[] yearlist=new String[100];
String[] searchlist={"By Date","By Invoiceno"};
//collection
Hashtable allinvoicesdata=new Hashtable();
Vector data=new Vector();
Enumeration keydata;
//components
JButton next=new JButton("NEXT>>");
JComboBox month,date,year,search;
JLabel bydate,byinvno,trial;
JTextField yeartext,invtext;
JPanel panel1,panel2,panel3,panel4;
JRadioButton single,range,all;
ButtonGroup group;
JButton select=new JButton("SELECT");
//frame and layout declarations
JFrame jf;
Container con;
GridBagLayout gridbag=new GridBagLayout();
GridBagConstraints gc=new GridBagConstraints();
//constructor
MainMenu(){
jf=new JFrame();
con=getContentPane();
con.setLayout(null);
fr=new FileReaderDemo1();
createScreen();
setSize(500,250);
setLocation(250,250);
setVisible(true);
//This is thefirst screen displayed
public void createScreen(){
group=new ButtonGroup();
single=new JRadioButton("SINGLE");
range=new JRadioButton("RANGE");
all=new JRadioButton("ALL");
search=new JComboBox(searchlist);
group.add(single);
group.add(range);
group.add(all);
single.setBounds(100,50,100,20);
search.setBounds(200,50,100,20);
range.setBounds(100,90,100,20);
all.setBounds(100,130,100,20);
select.setBounds(200,200,100,20);
con.add(single);
con.add(search);
con.add(range);
con.add(all);
con.add(select);
search.setEnabled(false);
single.addItemListener(this);
search.addActionListener(new MyActionListener());
range.addItemListener(this);
all.addItemListener(this);
select.addActionListener(this);
public class MyActionListener implements ActionListener{
public void actionPerformed(ActionEvent a){
JComboBox cb=(JComboBox)a.getSource();
if(a.getSource().equals(month))
monthkey=((cb.getSelectedIndex())+1);
if(a.getSource().equals(date)){
dateselection=(String)cb.getSelectedItem();
if(a.getSource().equals(year))
yearselection=(String)cb.getSelectedItem();
if(a.getSource().equals(search)){
searchcriteria=(String)cb.getSelectedItem();
public void itemStateChanged(ItemEvent ie){
if(ie.getItem()==single){
selection="single";
search.setEnabled(true);
else if (ie.getItem()==all){
selection="all";
search.setEnabled(false);
else if (ie.getItem()==range){
search.setEnabled(false);
public void actionPerformed(ActionEvent ae){
if(ae.getSource().equals(select))
if(selection.equals("single")){
singleScreen();
if(selection.equals("all"))
sw=new Swing1Win();
if(ae.getSource().equals(next)){
if(monthkey<9)
smonthkey="0"+monthkey;
System.out.println(smonthkey+"/"+dateselection+"/"+yearselection+"it prints this");
allinvoicesdata=fr.read(searchcriteria);
if (searchcriteria.equals("By Date")){
System.out.println("it goes in this");
singleinvoice(smonthkey+"/"+dateselection+"/"+yearselection);
else if (searchcriteria.equals("By Invoiceno")){
invoiceno=invtext.getText();
singleinvoice(invoiceno);
if (flag == false){
System.out.println("flag is false");
singleScreen();
else{
System.out.println("its in here");
singlesearcharray=new String[data.size()];
data.copyInto(singlesearcharray);
sw=new Swing1Win(singlesearcharray);
public void singleinvoice(String searchdata){
keydata=allinvoicesdata.keys();
while(keydata.hasMoreElements()){
s=(String)keydata.nextElement();
if(s.equals(searchdata)){
System.out.println(s);
flag=true;
break;
if (flag==true){
System.out.println("vector found");
System.exit(0);
data= ((Vector)(allinvoicesdata.get(s)));
else{
JOptionPane.showMessageDialog(jf,"Invalid entry of date : choose again");
public void singleScreen(){
System.out.println("its at the start");
con.removeAll();
SwingUtilities.updateComponentTreeUI(con);
con.setLayout(null);
counter=0;
panel2=new JPanel(gridbag);
bydate=new JLabel("By Date : ");
byinvno=new JLabel("By Invoice No : ");
dateComboBox();
invtext=new JTextField(6);
gc.gridx=0;
gc.gridy=0;
gc.gridwidth=1;
gridbag.setConstraints(month,gc);
panel2.add(month);
gc.gridx=1;
gc.gridy=0;
gridbag.setConstraints(date,gc);
panel2.add(date);
gc.gridx=2;
gc.gridy=0;
gc.gridwidth=1;
gridbag.setConstraints(year,gc);
panel2.add(year);
bydate.setBounds(100,30,60,20);
con.add(bydate);
panel2.setBounds(170,30,200,30);
con.add(panel2);
byinvno.setBounds(100,70,100,20);
invtext.setBounds(200,70,50,20);
con.add(byinvno);
con.add(invtext);
next.setBounds(300,200,100,20);
con.add(next);
if (searchcriteria.equals("By Invoiceno")){
month.setEnabled(false);
date.setEnabled(false);
year.setEnabled(false);
else if(searchcriteria.equals("By Date")){
byinvno.setEnabled(false);
invtext.setEnabled(false);
monthkey=1;
dateselection="01";
yearselection="00";
month.addActionListener(new MyActionListener());
date.addActionListener(new MyActionListener());
year.addActionListener(new MyActionListener());
next.addActionListener(this);
invtext.addKeyListener(new KeyAdapter(){
public void keyTyped(KeyEvent ke){
char c=ke.getKeyChar();
if ((c == KeyEvent.VK_BACK_SPACE) ||(c == KeyEvent.VK_DELETE)){
System.out.println(counter+"before");
counter--;
System.out.println(counter+"after");
else
counter++;
if(counter>6){
System.out.println(counter);
counter--;
ke.consume();
else
if(!((Character.isDigit(c) || (c == KeyEvent.VK_BACK_SPACE) || (c == KeyEvent.VK_DELETE)))){
getToolkit().beep();
counter--;
JOptionPane.showMessageDialog(null,"please enter numerical value");
ke.consume();
System.out.println("its at the end");
public void dateComboBox(){
for (int counter=0,day=01;day<=31;counter++,day++)
if(day<=9)
datelist[counter]="0"+String.valueOf(day);
else
datelist[counter]=String.valueOf(day);
for(int counter=0,yr=00;yr<=99;yr++,counter++)
if(yr<=9)
yearlist[counter]="0"+String.valueOf(yr);
else
yearlist[counter]=String.valueOf(yr);
month=new JComboBox(monthlist);
date=new JComboBox(datelist);
year=new JComboBox(yearlist);
public static void main(String[] args){
MainMenu mm=new MainMenu();
public class WindowHandler extends WindowAdapter{
public void windowClosing(WindowEvent we){
jf.dispose();
System.exit(0);
}Hi,
I had a similar problem with a message dialog. Don't know if it is a bug, I was in a hurry and had no time to search the bug database... I found a solution by using keyPressed() and keyReleased() instead of keyTyped():
private boolean pressed = false;
public void keyPressed(KeyEvent e) {
pressed = true;
public void keyReleased(KeyEvent e) {
if (!pressed) {
e.consume();
return;
// Here you can test whatever key you want
//...I don't know if it will help you, but it worked for me.
Regards. -
I just bought this movie "Godzilla 2014" but it won't show in my Movie Library. I closed my Itunes and put it back on again but still won't show up. I checked my purchased list and it shows that I recently bought the movie but when I checked the itunes store it wants to buy the movie again. Please help me with this right away Apple.
Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
To contact product and tech support: Contacting Apple for support and service - this includes
international calling numbers..
For Mac App Store: Apple - Support - Mac App Store.
For iTunes: Apple - Support - iTunes. -
Good morning. I just purchased Imatch but cannot download my music from an iphone 5 to IMatch in Icloud. Can you help me with this?
Hi
Has iTunes completed its scan of your iTunes library on your computer Subscribing to iTunes from an iOS device.
Jim -
iv moved all the music over thought home sharing... from the old itunes i was using but i want to be able to sync my iphone with the new itunes on my new machine but its saying saying syncing setp 1 of 1 and nothing happens... could someone please help me with this?
Copy the entire iTunes folder from the old computer to the new computer.
Maybe you are looking for
-
Error value = 73, How to change the type of password?
I want to use the famous wiki integrated in leopard, so I had to configure open directory and DNS. Well my problem come from that I can't configure open Directory, just after creating a new admin, I have no possiblity to change the type of password,
-
Anybody there familiar with Java Mail API ???? I need help
I have a problem using the MessageCount Listener in mail API... Problem is simple........... The Listener doesn't work at all... Has anyone tried it out .. Please reply if u have so that i can present the real picture.... Please dont avoid me by givi
-
Hi, I am experience hanging in my database. I am using 10.2.0.3 on Solaris 5.10. I am having automatic processes that drop the schema and recreate the schema and upload the new data. Since the last few days i am facing in hanging while dropping the s
-
Hi! I created Reservations and Purchase Requisitions through Easy Cost Planning using the Project Builder Tranx (CJ20N). However these are not appearing when i run the ProMan (CNMM) Tranx. I checked the ProMan Profile & Exceptions. It looks fine. Wha
-
Delete multiple emails at once on iPhone 5s - any fix?
I have alot of emails which "appeared" in my inbox. Not sure if because it's sinced to my home email account which also has alot of emails in the inbox of the server. But my main question is how to delete multiple emails at once. I've read "work ar