Printing very long doc as series of "tiled" 8 x 11
i frequently have to take a very long/tall screenshot of a web page or a mac finder window and then print these so that i can read them.
right now i am taking a series of much smaller SCREENSHOTS of this document and then printing these "chopped up" sets of images. they often have overlap, are at different sizes etc.
does anyone know if there is adobe software (or other) that will let me print these long images as "tiled sets" of 8 x 11 documents?
the images are png and i can obviously pre-size the width to be 8 or 8.5" or whatever...
TIA for any leads
- jon
Ah, Jon.
Tiling is possible.
I believe the obvious place to ask would be one of the Photoshop forums (General Discussion or for Beginners), over here:
http://forums.adobe.com/community/photoshop
Or maybe Photoshop Elements:
http://forums.adobe.com/community/photoshop_elements
Yet another place could be the Illustrator forum, although that application is more for vector artwork so there would be more to do to make it work.
http://forums.adobe.com/community/illustrator/illustrator_general?view=discussions#/?per_p age=100
You may decide which place(s) to try depending on which application(s) you have.
Similar Messages
-
I need to print off one long webpage containing a whole load of customer invoices. For anything up to about 40 pages this is not a problem. However, if the webpage contains more pages Firefox is unable to cope.
While data is being sent to the printer a little green progress bar appears. This bar continues for a while and then stops. Some sort of timeout error appears (i can't remember the wording) and firefox becomes unresponsive. I have to start task manager in order to close Firefox.
I then have to open a different browser in order to print the long webpage.
Anyone know of any settings I can play with to fix this?Hi,
Please also try this setting: Windows start menu or Control Panel > '''Devices and Printers''', right-click the printer > '''Printer properties''' > '''Advanced''', and select '''Start printing after the last page is spooled'''. In this case you can also close Firefox after spooling is over (usually much faster than direct printing), and printing will continue.
Also as a general case, if you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related processes/files in all the different configuration modules/areas of the security software like process monitoring, sub/spawned process control, virtualization, HIPS etc., in addition to the security software's main configuration panel. Instead create new fully allowed/trusted rules for Firefox + its related processes in all the different modules/panels - a genuine/original Firefox installer as well as all the installed EXEs (Application) and DLLs (Application extension) are digitally signed by Mozilla Corporation (right-click > Properties > Digital Signatures). Even otherwise, some security software may also ask again when Firefox and/or its sub processes are started, and you may be able to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this].
[http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration] -
How to print very long data series (wrap multiple XY graphs)
I'm working a data logger project where each file usually contains 5 - 10 minutes of data but sometimes may go up to 3 hours +. The customer needs the ability to print out all of the acquired data in XY charts.
If the amount of data recorded exceeds 15 minutes, printing all of the data on a single chart is not an option (granularity) so they want to print as many 15 minute chunks as necessary to cover the entire range. Ideally, they want to print out two 15 minute graphs stacked on top of each other on a landscape page. I can split the data into chunks (that's the easy part) but I need a way to create an arbitrary number of XY graphs and format/size them for mult-page print out (2 per page).
I'm looking for some ideas on how to solve this problem - any ideas are welcome as long as they involve LabVIEW and maybe Excel because it needs to be something i can integrate into the application. I can't use offline post-processing like Diadem in this situation.
Philip
CLDPhilip,
I would probably create one VI with two graphs formatted for printing. Then loop through the data, write segments to the graphs, print, repeat until all data is printed. This method allows one very simple VI to present the data for printing and allows the user control over what is printed via the calling VI. For example if they decided that 10-minute graphs were better for certain data sets than 15-minute graphs, all the calling VI needs to do is change the amount of data written to the graphs.
Write the data to a file to protect the data in the event of power failures or other unplanned events. Read it back to print if there may be too much data to keep in memory.
Lynn -
Report script taking very long time to export in ASO
Hi All,
My report script is taking very long time to execute and finally a message appears as timed out.
I'm working on ASO Cubes and there are 14 dimensions for which i need to export all data for all the dimensions for only one version.
The data is very huge and the member count in each dimension is also huge, so which is making me difficult to export the data.
Any suggestions??
ThanksHere is a link that addresses several ways to optimize your report script. I utilize report scripts for Level 0 exports in an ASO environment as well, however the majority of our dimemsions are attribute dimensions.
These are the most effective solutions we have implemented to improve our exports via report scripts:
1. Make sure your report script is written in the order of how the Report Extractor retrieves data.
2. Supressing Zero and Missing Data
3. We use the LINK command within reports for some dimensions that are really big and pull at Level 0
4. Using Symmetric reports.
5. Breakout the exports in multiple reports.
However, you may also consider some additional solutions outlined in this link:
1. The MDX optimizing commands
2. Back end system settings
http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/drpoptim.htm
I hope this helps. Maybe posting your report script would also help users to provide feedback.
Thanks
Edited by: ronnie on Jul 14, 2011 9:25 AM
Edited by: ronnie on Jul 14, 2011 9:53 AM -
Warning this is very long code but i need help to see if I am on right trac
I have done all the following code myself and it is the buisiness layer for my application. I have tried to follow recommendations on previous posts and I would like to be told where I can clean up my code and how? This is not complete and it looks very long to me but I need help in order to be better. There are 4 button vlivks and I have not completed them all. The criteria for application is that phonebook will accept new entries if they have names surnames and phone numbers that are not longer than 10 characters for display purposes but can change this. No duplicates are allowed. No editing of a existing entry must lead to a duplicate entry either. No new entry or edit may result in a new contact having no phone numbers.
Many thanks for your time in advance,.....
import javax.swing.JOptionPane;
import java.util.ArrayList;
public class Contact
{// Start of the Contact class
ArrayList<ContactDetails> phoneList = new ArrayList<ContactDetails>(); // To hold all the contacts
ArrayList<ContactDetails> searchList = new ArrayList<ContactDetails>(); // To hold all contacts that return true on search
ArrayList<ContactDetails> list = new ArrayList<ContactDetails>();
String newName; // To hold the new name
String newSurname; // to hold the new surname
String newHome; // To hold the new home number if any
String newWork; // To hold the new work number
String newCell; // To hold the new cell number
final int MAX_LENGTH = 10;
public boolean addToPhoneList; // Sets to false if there is an invalid entry
public boolean addToSearchList; // Sets to false if there is an invlid search
public boolean modifyContact; // Sets to false if there is an invalid modification
// Method to create a new contact
public void createNew()
{// Start of create new()
addToPhoneList = true; // Set boolean to true each time the method is executed
getNewContactsName(); // Get new name
if(addToPhoneList == false)
createNew();
return;
getNewContactsSurname(); //Get new surname
if(addToPhoneList == false)
createNew();
return;
String checkName = newName; //Creates copies to be used in the checkIfDuplicate method
String checkSurname = newSurname;
addToPhoneList = checkIfDuplicate(checkName, checkSurname); //Check if the entries are duplicate
if(addToPhoneList == false)
createNew();
return;
getNewContactsHomeNum(); // Get new home number
if(addToPhoneList == false)
createNew();
return;
getNewContactsWorkNum(); // Get new work number
if(addToPhoneList == false)
createNew();
return;
getNewContactsCellNum(); // Get new cell number
if(addToPhoneList == false)
createNew();
return;
checkAtLeastOneNumEntered(); // Check that at least one phone number was entered
if(addToPhoneList == true)
updateListWithNew();
}// End of createNew()
// Method to search for an existing contact
public void searchExisting()
{// Start of searchExisting()
addToSearchList = true; // Set the boolean true
searchList.clear(); // Clear list from any previous searches
if(phoneList.size() > 0) // Check if any contacts are in the list
getExistingDetailsAndSearch(); // If there are entries then continue to search
else
JOptionPane.showMessageDialog(null,"There are no contacts to search for. Please use this option when you have added a contact to the list.","Error",JOptionPane.ERROR_MESSAGE);
}// End of searchExisting()
// Method to modify an existing contact
public void modifyExisting()
{// Start of modifyExisting()
modifyContact = true; // Set the boolean to true
if(phoneList.size() <= 0) // Check if the phonelist is not empty
JOptionPane.showMessageDialog(null,"There are no contacts to modify. Please use this option when there have been contacts added to the list.","Error",JOptionPane.ERROR_MESSAGE);
else
getExistingDetailsAndModify(); // If phonelist not emty continue to modify method
}// End of modifyExisting()
//Method to delete a contact from the list
public void deleteExisting()
//Method to get new contacts name
public void getNewContactsName()
newName = JOptionPane.showInputDialog("Please enter the new contacts name or press cancel to exit without saving.");
if(newName == null)
finish();
if(newName.trim().length()<=0)
JOptionPane.showMessageDialog(null,"You have not entered a name. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
addToPhoneList = false;
return;
addToPhoneList = checkLengthValid(newName, "name");
//Method to get a new contacts surname
public void getNewContactsSurname()
newSurname = JOptionPane.showInputDialog("Please enter the new contacts surnname or press cancel to exit without saving.");
if(newSurname == null)
finish();
addToPhoneList = checkLengthValid(newSurname, "surname");
//Method to get a new contacts home number
public void getNewContactsHomeNum()
newHome = JOptionPane.showInputDialog("Please enter the new contacts home number or press cancel to exit without saving.");
if(newHome == null)
finish();
if(newHome.trim().length() > 0)
try
Long homeNum = Long.parseLong(newHome);
catch(Exception e)
JOptionPane.showMessageDialog(null,"You may only use numbers for a valid phone number. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
addToPhoneList = false;
return;
addToPhoneList = checkLengthValid(newHome, "home number");
//Method to get a new contacst work number
public void getNewContactsWorkNum()
newWork = JOptionPane.showInputDialog("Please enter the new contacts work number or press cancel to exit without saving");
if(newWork == null)
finish();
if(newWork.trim().length()> 0)
try
Long workNum = Long.parseLong(newWork);
catch(Exception e)
JOptionPane.showMessageDialog(null,"You may only use numbers for a valid number. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
addToPhoneList = false;
return;
addToPhoneList = checkLengthValid(newWork, "work number");
//Method to get a new contacts cell number
public void getNewContactsCellNum()
newCell = JOptionPane.showInputDialog("Please enter the new contacts cell number or press cancel to exit without saving");
if(newCell == null)
finish();
if(newCell.trim().length() > 0)
try
Long cellNum = Long.parseLong(newCell);
catch(Exception e)
JOptionPane.showMessageDialog(null,"You may only use numbers for a valid number. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
addToPhoneList = false;
return;
addToPhoneList = checkLengthValid(newCell, "cell number");
//Method to get the details for an existing contact
public void getExistingDetailsAndSearch()
String existingName = getExistingName("search for");
if(existingName == null)
addToSearchList = false;
return;
if(existingName.length()<=0)
JOptionPane.showMessageDialog(null,"You have not entered a name please try again","Error",JOptionPane.ERROR_MESSAGE);
addToSearchList = false;
searchExisting();
String existingSurname = getExistingSurname();
if(existingSurname == null)
return;
if(addToSearchList == true)
searchAndAddIfFound(existingName, existingSurname);
//Method to get existing details and modify contact
public void getExistingDetailsAndModify()
String existingName = getExistingName("modify");
if(existingName == null)
modifyContact = false;
return;
if(existingName.length()<=0)
JOptionPane.showMessageDialog(null,"You have not entered a name please try again","Error",JOptionPane.ERROR_MESSAGE);
modifyContact = false;
modifyExisting();
String existingSurname = getExistingSurname();
if(existingSurname == null)
return;
if(modifyContact == true)
getContactBySearch(existingName.trim().toUpperCase(), existingSurname.trim().toUpperCase());
//Method to get the contact from list and modify details
public void getContactBySearch(String currentName, String currentSurname)
int count = 0;
int numFound = 0;
for(ContactDetails cd: phoneList)
cd = phoneList.get(count);
if((cd.name.equals(currentName))&&(cd.surname.equals(currentSurname)))
numFound ++;
changeDetails(cd);
count ++;
if(numFound <= 0)
JOptionPane.showMessageDialog(null,"No contacts matching the name and surname you entered found. Press the modify button to try again.","Information",JOptionPane.INFORMATION_MESSAGE);
//Method to get existing contacts name
public String getExistingName(String whatWasClicked)
String name = JOptionPane.showInputDialog("Please enter the contacts name that you wish to "+whatWasClicked);
return name;
//Method to get an existing contacts surname
public String getExistingSurname()
String surname = JOptionPane.showInputDialog("Please enter the contacts surname.");
return surname;
//Method to change the details of contact
public void changeDetails(ContactDetails conToChange)
String currentName = conToChange.name;
String currentSurname = conToChange.surname;
String currentHome = conToChange.home;
String currentWork = conToChange.work;
String currentCell = conToChange.cell;
String newNameForContact = getNewModName(currentName);
if(modifyContact == false)
modifyExisting();
return;
String newSurnameForContact = getNewModSurname(currentSurname);
if(modifyContact == false)
modifyExisting();
return;
String newHomeForContact = getNewModHome(currentHome);
if(modifyContact == false)
modifyExisting();
return;
String newWorkForContact = getNewModWork(currentWork);
if(modifyContact == false)
modifyExisting();
return;
String newCellForContact = getNewModCell(currentCell);
if(modifyContact == false)
modifyExisting();
return;
if(modifyContact == true)
conToChange.name = newNameForContact;
//Method to get the modified name
public String getNewModName(String currentName)
String newModifiedName = JOptionPane.showInputDialog("Please enter the new name for contact or press cancel to keep it as is.");
if(newModifiedName == null)
return currentName;
if(newModifiedName.trim().length() <= 0)
JOptionPane.showMessageDialog(null,"You may not replace the existing name with a blank name. Please try again.","Error",JOptionPane.ERROR_MESSAGE);
modifyContact = false;
return currentName;
modifyContact = checkLengthValid(newModifiedName, "modified name");
return newModifiedName;
//Method to get the modified surname
public String getNewModSurname(String currentSurname)
String newModifiedSurname = JOptionPane.showInputDialog("Please enter the new surname for the contact or press cancel to keep it as is.");
if(newModifiedSurname == null)
return currentSurname;
modifyContact = checkLengthValid(newModifiedSurname, "modified surname");
if(modifyContact == false)
JOptionPane.showMessageDialog(null,"Surname not changed.","Information",JOptionPane.INFORMATION_MESSAGE);
return currentSurname;
modifyContact = checkLengthValid(newModifiedSurname, "modified surname");
return newModifiedSurname;
//Method to search and update the list with a succesfull search
private void searchAndAddIfFound(String name, String surname)
int count = 0;
int numFound = 0;
for(ContactDetails cd: phoneList)
cd = phoneList.get(count);
if(cd.name.equals(name.trim().toUpperCase()))
numFound ++;
searchList.add(cd);
count ++;
if(numFound <= 0)
JOptionPane.showMessageDialog(null,"No contacts were found matching the dat you entered.","Information",JOptionPane.INFORMATION_MESSAGE);
else
list.clear();
list.addAll(searchList);
//Method that check all entries are a valid logical length
//Method is based on assumption that a normal name, surname, and phone numbers are not longer than 10 characters long.
//IF This method is changed please change the layout in the GUI as this is also set to fit with the layout that gives a neat //apperance
private boolean checkLengthValid(String detailEntered, String whatWasEntered)
boolean validLength = true;
if(detailEntered.trim().length() >= MAX_LENGTH)
JOptionPane.showMessageDialog(null,"The " +whatWasEntered+" you entered is too long. Please try again and use a "+whatWasEntered+" that is less than "+MAX_LENGTH+" characters long.","Error",JOptionPane.ERROR_MESSAGE);
validLength = false;
return validLength;
private void finish()
System.exit(0);
//Method to update the list with a new entry
private void updateListWithNew()
try
ContactDetails cd = new ContactDetails();
cd.name = newName.trim().toUpperCase();
cd.surname = newSurname.trim().toUpperCase();
cd.home = newHome.trim();
cd.work = newWork.trim();
cd.cell = newCell.trim();
phoneList.add(cd);
JOptionPane.showMessageDialog(null,"Contact succesfully entered. To save this change press exit to save or use the save option in the toolbar menu.","Information",JOptionPane.INFORMATION_MESSAGE);
catch(Exception e)
JOptionPane.showMessageDialog(null,"Failed to add contact to list. If problem persists please contact the software developer.","Error",JOptionPane.ERROR_MESSAGE);
list.clear();
list.addAll(phoneList);
//Method to check for duplicate
public boolean checkIfDuplicate(String nameToCheck, String surnameToCheck)
int count = 0;
boolean valid = true;
for(ContactDetails cd : phoneList)
cd = phoneList.get(count);
if(((nameToCheck.trim().toUpperCase()).equals(cd.name))&&((surnameToCheck.trim().toUpperCase()).equals(cd.surname)))
JOptionPane.showMessageDialog(null,"You may not enter a duplicate contact. Please try again and change the name and surname.","Error",JOptionPane.ERROR_MESSAGE);
valid = false;
break;
count ++;
return valid;
//Method to check that at least one phone number exists for contact
public void checkAtLeastOneNumEntered()
if((newHome.trim().length()<=0)&&(newWork.trim().length()<=0)&&(newCell.trim().length()<=0))
JOptionPane.showMessageDialog(null,"You have not entered any phone number at all. You must enter at least one phone number for a new contact.","Error",JOptionPane.ERROR_MESSAGE);
addToPhoneList = false;
//Method that returns the list to the GUI
public ArrayList<ContactDetails> getList()
return list;
}Should I start over from scratch? Can I get help with links to tutorials on following? How to create a java CRUD application (google not useful) and how to layer in java(google not useful)
This is my pres layer as is is this wrong too?
Filename: ContactsListInterface.java
Date: 16 March 2008
Programmer: Yucca Nel
Purpose: Provides a GUI for entering names and contact numbers into a telephone directory.
Also allows options for searching for a specific name and deleting of data from the record
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.io.*;
import java.util.*;
import java.text.*;
public class Phonebook1 extends JFrame implements ActionListener
{ //start of class
// construct fields, buttons, labels,text boxes, ArrayLists etc
JTextPane displayPane = new JTextPane();
JLabel listOfContacts = new JLabel("List Of Contacts"); // creates a label for the scrollpane
JButton createButton = new JButton("Create");
JButton searchButton = new JButton("Search");
JButton modifyButton = new JButton("Modify");
JButton deleteButton = new JButton("Delete");
Contact c = new Contact();
ArrayList<ContactDetails> contactList = c.getList();
// create an instance of the ContactsListInterface
public Phonebook1()
{ // start of cli()
super("Phonebook Interface");
} // end of cli()
public JMenuBar createMenuBar()
{ // start of the createMenuBar()
// construct and populate a menu bar
JMenuBar mnuBar = new JMenuBar(); // creates a menu bar
setJMenuBar(mnuBar);
JMenu mnuFile = new JMenu("File",true); // creates a file menu in the menu bar which is visible
mnuFile.setMnemonic(KeyEvent.VK_F);
mnuFile.setDisplayedMnemonicIndex(0);
mnuFile.setToolTipText("File Options");
mnuBar.add(mnuFile);
JMenuItem mnuFileExit = new JMenuItem("Save And Exit"); // creates an exit option in the file menu
mnuFileExit.setMnemonic(KeyEvent.VK_X);
mnuFileExit.setDisplayedMnemonicIndex(1);
mnuFileExit.setToolTipText("Close Application");
mnuFile.add(mnuFileExit);
mnuFileExit.setActionCommand("Exit");
mnuFileExit.addActionListener(this);
JMenu mnuEdit = new JMenu("Edit",true); // creates a menu for editing options
mnuEdit.setMnemonic(KeyEvent.VK_E);
mnuEdit.setDisplayedMnemonicIndex(0);
mnuEdit.setToolTipText("Edit Options");
mnuBar.add(mnuEdit);
JMenu mnuEditSort = new JMenu("Sort",true); // creates an option for sorting entries
mnuEditSort.setMnemonic(KeyEvent.VK_S);
mnuEditSort.setDisplayedMnemonicIndex(0);
mnuEdit.add(mnuEditSort);
JMenuItem mnuEditSortByName = new JMenuItem("Sort By Name"); // to sort entries by name
mnuEditSortByName.setMnemonic(KeyEvent.VK_N);
mnuEditSortByName.setDisplayedMnemonicIndex(8);
mnuEditSortByName.setToolTipText("Sort entries by first name");
mnuEditSortByName.setActionCommand("Name");
mnuEditSortByName.addActionListener(this);
mnuEditSort.add(mnuEditSortByName);
JMenuItem mnuEditSortBySurname = new JMenuItem("Sort By Surname"); // to sort entries by surname
mnuEditSortBySurname.setMnemonic(KeyEvent.VK_R);
mnuEditSortBySurname.setDisplayedMnemonicIndex(10);
mnuEditSortBySurname.setToolTipText("Sort entries by surname");
mnuEditSortBySurname.setActionCommand("Surname");
mnuEditSortBySurname.addActionListener(this);
mnuEditSort.add(mnuEditSortBySurname);
JMenu mnuHelp = new JMenu("Help",true); // creates a menu for help options
mnuHelp.setMnemonic(KeyEvent.VK_H);
mnuHelp.setDisplayedMnemonicIndex(0);
mnuHelp.setToolTipText("Help options");
mnuBar.add(mnuHelp);
JMenuItem mnuHelpHelp = new JMenuItem("Help"); // creates a help option for help topic
mnuHelpHelp.setMnemonic(KeyEvent.VK_P);
mnuHelpHelp.setDisplayedMnemonicIndex(3);
mnuHelpHelp.setToolTipText("Help Topic");
mnuHelpHelp.setActionCommand("Help");
mnuHelpHelp.addActionListener(this);
mnuHelp.add(mnuHelpHelp);
JMenuItem mnuHelpAbout = new JMenuItem("About"); // creates a about option for info about api
mnuHelpAbout.setMnemonic(KeyEvent.VK_T);
mnuHelpAbout.setDisplayedMnemonicIndex(4);
mnuHelpAbout.setToolTipText("About this program");
mnuHelpAbout.setActionCommand("About");
mnuHelpAbout.addActionListener(this);
mnuHelp.add(mnuHelpAbout);
return mnuBar;
} // end of the createMenuBar()
// create the content pane
public Container createContentPane()
{ // start of createContentPane()
//construct and populate panels and content pane
JPanel labelPanel = new JPanel(); // panel is only used to put the label for the textpane in
labelPanel.setLayout(new FlowLayout());
labelPanel.add(listOfContacts);
JPanel displayPanel = new JPanel();// panel is used to display all the contacts and thier numbers
setTabsAndStyles(displayPane);
displayPane = addTextToTextPane();
displayPane.setEditable(false);
JScrollPane scrollPane = new JScrollPane(displayPane);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); // pane is scrollable vertically
scrollPane.setWheelScrollingEnabled(true);// pane is scrollable by use of the mouse wheel
scrollPane.setPreferredSize(new Dimension(400,320));
displayPanel.add(scrollPane);
JPanel workPanel = new JPanel();// panel is used to enter, edit and delete data
workPanel.setLayout(new FlowLayout());
workPanel.add(createButton);
createButton.setToolTipText("Create a new entry");
createButton.addActionListener(this);
workPanel.add(searchButton);
searchButton.setToolTipText("Search for an entry by name number or surname");
searchButton.addActionListener(this);
workPanel.add(modifyButton);
modifyButton.setToolTipText("Modify an existing entry");
modifyButton.addActionListener(this);
workPanel.add(deleteButton);
deleteButton.setToolTipText("Delete an existing entry");
deleteButton.addActionListener(this);
labelPanel.setBackground(Color.red);
displayPanel.setBackground(Color.red);
workPanel.setBackground(Color.red);
// create container and set attributes
Container c = getContentPane();
c.setLayout(new BorderLayout(30,30));
c.add(labelPanel,BorderLayout.NORTH);
c.add(displayPanel,BorderLayout.CENTER);
c.add(workPanel,BorderLayout.SOUTH);
c.setBackground(Color.red);
// add a listener for the window closing and save
addWindowListener(
new WindowAdapter()
public void windowClosing(WindowEvent e)
int answer = JOptionPane.showConfirmDialog(null,"Are you sure you would like to save all changes and exit?","File submission",JOptionPane.YES_NO_OPTION);
if(answer == JOptionPane.YES_OPTION)
System.exit(0);
return c;
} // end of createContentPane()
protected void setTabsAndStyles(JTextPane displayPane)
{ // Start of setTabsAndStyles()
// set Font style
Style fontStyle = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
Style regular = displayPane.addStyle("regular", fontStyle);
StyleConstants.setFontFamily(fontStyle, "SansSerif");
Style s = displayPane.addStyle("bold", regular);
StyleConstants.setBold(s,true);
} // End of setTabsAndStyles()
public JTextPane addTextToTextPane()
{ // start of addTextToTextPane()
int numberOfEntries = contactList.size();
int count = 0;
Document doc = displayPane.getDocument();
try
{ // start of tryblock
// clear previous text
doc.remove(0,doc.getLength());
// insert titles of columns
doc.insertString(0,"NAME\tSURNAME\tHOME NO\tWORK NO\tCELL NO\n",displayPane.getStyle("bold"));
for(ContactDetails cd : contactList)
cd = contactList.get(count);
doc.insertString(doc.getLength(),cd.name+"\t"+cd.surname+"\t"+cd.home+"\t"+cd.work+"\t"+cd.cell+"\n",displayPane.getStyle("regular"));
count ++;
} // end of try block
catch(BadLocationException ble)
{ // start of ble exception handler
System.err.println("Could not insert text.");
} // end of ble exception handler
return displayPane;
} // end of addTextToTextPane()
// code to process user clicks
public void actionPerformed(ActionEvent e)
{ // start of actionPerformed()
String arg = e.getActionCommand();
// user clicks create button
if(arg.equals("Create"))
c.createNew(); // method to create a new Contact
addTextToTextPane();
if(arg.equals("Search"))
c.searchExisting(); // method to search for an existing entry
addTextToTextPane();
if(arg.equals("Modify"))
c.modifyExisting(); // method to modify contact
addTextToTextPane();
if(arg.equals("Delete"))
c.deleteExisting();
addTextToTextPane();
if(arg.equals("Exit"))
} // end of actionPerformed()
// method to create a new contact
public static void main(String[] args)
{ // start of main()
// Set look and feel of interface
try
{ // start of try block
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
} // end of try block
catch(Exception e)
{ // start of catch block
JOptionPane.showMessageDialog(null,"There was an error in setting the look and feel of this application","Error",JOptionPane.INFORMATION_MESSAGE);
} // end of catch block
Phonebook1 pb = new Phonebook1();
pb.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
pb.setJMenuBar(pb.createMenuBar());
pb.setContentPane(pb.createContentPane());
pb.setSize(520,500);
pb.setVisible(true);
pb.setResizable(false);
} // end of main()
} //end of class -
Why is it that Photoshop Elements takes a very long time to open a png file?
Even though I wait for a very long time (minutes) for Photoshop Elements 11 to open a PNG file, the computer's process monitor shows nothing discernible going on while I am waiting.
This is on a Windows 7 machine with an Intel I7 4 core processor.I killed Firefox and Thunderbird and tried it again. Using a stopwatch, it took 5 minutes 54 seconds to open the file. In the interim the application windows were frozen. The process monitor showed Photoshop not responding. The thread analysis showed a thread waiting on splwow64.exe.
splwow64.exe allows 32-bit applications to connect with the 64-bit printer spooler service on x64 Windows builds.
I should also point out that when I exit Photoshop, it does not seem to die. I cannot restart it in the normal way. The starter software just goes away when I click on PE 11. I finally fo into the task monitor and kull the PhotoshopElements process. Then I can restart Photoshop Elements. Although after a long time since I exited PE while I was writing this post, I then just tried opening PE the normal way and it worked. Many of these items I mention are probably red herrings. -
I just got an iPhone 5 32GB and i have backed up my old 3GS 32GB via itunes (20GB of data on there) and it is taking a very long time to restore to my iPhone5. Its taken more than 20 hours and didnt complete.
The text "Time remaining ... hours" flickers.
I set it to start restoring from the 3GS backup yesterday at 1pm and the time remaining kept on increasing. I left it overnight and at 9am this morning the progress bar hadnt moved and it said 12 hours remaining.
I don't know why its taking so long. I unplugged it and it just set up as new phone. So i did a factory reset and tried again at 4pm and it is now 12am and it says 4 hours remaining and my computer occasionally flickers. (Its not a bad computer, 2 months old, i7, 6GB RAM, Heaps of HDD space). It also messes with google chrome and i cannot browse the web at all while it is trying to restore my iphone.
I have tried restarting my laptop and should i reinstall itunes? I simply dont see why it should take longer than 20 hours to copy over 20GB of data!
Can anyone help me?
Thank youI'm having this EXACT same problem with my iPhone 4, and I have the same computer stats (I have a Samsung Series 7)
-
Officejet 7310xi All in One Printer no longer connects wirelessly
Hello all,
My Officejet 7310xi All in One Printer no longer connects wirelessly.
The printer does no show up while searching for it wirelessly where it had previously.
In the past it would say that the printer (HP Series 7300) was offline. I would remove the device through the control panel and search again. A printer would be found as HP Series 7300 (Copy 1) . A "ghost" of the original would remain as an offline device. I would default to the new printer icon, Copy 1, and it would work. This happened over the course of a year without any problems.
Now nothing is working. The printer can't be found by my network. I tried downloading drivers, etc. from HP but they either can't download or stop during installation. I don't know if an Windows 8.1 update affected it.
Although the printer has a built in network set up option, it has no installation wizard. I can't find a way to activate the wireless feature/icon. There is no I.P. address either.
I feel like a monkey pulling levers for a banana! I appreciate your help.Hey @Kathlanta ,
Thank you for taking the time out of your day to ask that question on the HP Forums today!
I understand you are having issues with your HP Officejet 7310xi connecting and staying on your network. Going through all of this is making you feel much like this;
By the end of this I want you feeling more like this;
Now let's get to the bottom of this and have some fun doing it! (and no, I have not completely adopted the idea that you are a monkey, but for the time being, seems most fitting LOL )
Ok, so what we are going to start with here is; a full print system uninstall and reinstall and run it through USB to test the printers functionality.
Here is how you uninstall the whole printer software on 8.1 >> Uninstalling The Printer
Here is how you install the drivers offline (use the appropriate links to get your steps) >> Installing HP Printer Software for a USB Connection in Windows 8
You wont need to worry about the wireless right yet until we figure out if the rpinter hardware is ok or not. So sit tight on that portion, I'll get that all back and working later after we figure this stuff out now.
Look forward to hearing back from you! Have a good one!
I worked for HP. -
Just upgraded my 2009 iMac (3.06 Ghz, core 2 duo $GB 1067 Mhz DDR3) to Mavericks OSX 10.9.5 and my HP6100 printer no longer works, when I try to reload the software it says PowerPC apps no longer supported. Printer says the software was improperly installed. Is there a way to use my HP6100 Printer with Mavericks or do I need to go back to Mountain Lion or Snow Leopard?
It's not clear whether your printer is included in the Apple list - there is an Officejet 6100 and a couple of other types. Go to the page linked to above and use the browser search for 6100.
I'm afraid HP are notorious for not supporting older printers - I had the same problem. Probably they hope you will buy another printer (I did, but it was a Canon). I did look on HP's site and couldn't see a driver - you could give it a try (make sure you have the exactly correct printer name):
http://www8.hp.com/uk/en/support-search.html?tab=1#/qryterm=HP6100&search_search type=s-002
Alternatively ou could try Gutenprint (open source software):
http://gimp-print.sourceforge.net/MacOSX.php
I found it would indeed drive the printer, but the colour dithering wasn't very satisfactory and the duplex printing bolt-on wouldn't work. However as Gutenprint is free it's worth trying to see if it's any good for you. -
HP LaserJet P1006 Print very slow with Windows 8.1
I have an HP LaserJet 1006 that is installed on Toshiba Laptop running Windows 8.1 and was working fine even from time to time it stop working at all, then I have to remove the software and then reinstall it again and then it works fine, last time I downloaded the Windows 8.1 Driver for the printer.
But this time, first I tried to remove the software but it didn't work; the printer still show up on the control panel - Devices and Printers. then some how I was able to reinstall the software , after that the printer is working but printing very slow even it is a LaserJet printer.
Please any one can help with that?
Thanks;
Waleed;Hey @wmowafi,
Welcome to the HP Support Forums!
I understand that you're experiencing a slow printing issue on Windows 8.1 when printing to your HP Laserjet P1006 Printer. I would like to work with you today at resolving this issue. Now the only driver available for your product on Windows 8.1 is a hostbased plug and play basic generic driver. Therefore, there is limitations for what can be done for troubleshooting. As you stated, you have already attempted an uninstalled and reinstalled of the driver to no avail. I'm going to suggest some further steps and tools to resolve this issue for you.
Step 1: Uninstall Your Printer:
Disconnect your USB cable
Click the following link: Fix problems that programs cannot be installed or uninstalled to access the Microsoft Uninstall Tool.
Once the website opens, select Run Now on the right hand side
Allow the Tool to run.
When prompted choose Uninstall
A list of programs should populate and you're looking for the Laserjet. It may appear as LJ P1000 series. Please select the Laserjet series and Uninstall it.
If the Laserjet doesn't show in the list of programs than your Windows 8.1 computer does not see the Laserjet driver as properly installed.
Step 2: Clear the Temp Files:
Launch your Start screen by right clicking on the Windows icon on the bottom left of your screen or by select the Windows button on your keyboard located to the right of the Ctrl button.
Once the Start screen launches, type the word Run
Click on Run to launch it
In the Run box type %temp% and select OK
Once the Temp folder opens, hold down Ctrl + A at the same time on your keyboard and everything will highlight in the folder. Select 'Delete' on your keyboard. Don't worry, no files or folders on your actual computer will be removed during this process. If a file is still be used on your computer you will get a pop up to 'skip' the file
Once the Temp folder is emptied of its files, close the window
On your Desktop, right click on the Recycling Bin and left click on 'Empty Recycling Bin'
Restart you computer
Step 3: Reinstall the Laserjet P1006:
Please keep your USB cable disconnected
Click on the following link: HP LaserJet P1000-P1500 Hostbased Plug and Play Basic Driver
The driver page for your product will now launch
Select Download and allow the download to Run
Once the download is complete an extraction will automatically run and once completed the installer will launch
Run through the step-by-step on screen instructions.
Please do not plug in your USB cable until prompted
Ensure that your USB cable is plugged in from the rear of the printer directly to the computer. Avoid extenders or docking stations as they can cause printing and communication issues.
Test printing!
Please let me know if the steps I've provided resolve your issue. Good luck!
X-23
I work on behalf of HP
Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping! -
Can't make pdf and getting ready to print very slow
I am using ID CS4 with Windows 7. CS4 includes Acrobat 9. I want to create a pdf file of a business card design. When I chose Print and pdf as the printer, there is a very long pause. Finally a windows says "Printing" and then a message "Downloading procset." At this point the process is frozen. I can go to Task Manager and it shows ID not responding. No pdf file is produced.
What's the solution?
And while I mentioned the long pause above, that pause is very long if I want to print from my Officejet printer. The document will print, but it seems like a much longer pause that should happen.
VaughnGood question. That's the way I've done it before, but if export is the recommended way, I'll try that.
-
Dreamweaver 8 won't display long docs
I update an online catalog and usually start with one very
long HTML document -- nothing fancy, no tags except <P> --
but I've got about 3000 paragraphs of one line each in that
document, which I use to cut and paste updates to other html docs.
The problem is, Dreamweaver 8 won't show me more than the first 600
lines or so of my 3000+ line document; if I continue to scroll the
document after that, all I see is lots and lots of blank/white
space. This wasn't a problem in earlier versions of Dreamweaver,
which would display the entire document just fine. I've encounted
this same problem on a Powerbook G4 with 2 GB of RAM, as well as on
a newer Intel MacBook Pro. Anybody else experience this? Anybody
know a cure? I know all of the document is there -- I can open it
and see every line in a browser. (I suppose I could find and
reinstall Dreamweaver MX, or break down my long doc into five or
six separate ones, but either choice would be a pain at this
point.)Try setting your zoom setting to 90% and see if that
helps....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"NickatName" <[email protected]> wrote in
message
news:et6kvo$grm$[email protected]..
>I update an online catalog and usually start with one
very long HTML
>document
> -- nothing fancy, no tags except <P> -- but I've
got about 3000 paragraphs
> of
> one line each in that document, which I use to cut and
paste updates to
> other
> html docs. The problem is, Dreamweaver 8 won't show me
more than the first
> 600
> lines or so of my 3000+ line document; if I continue to
scroll the
> document
> after that, all I see is lots and lots of blank/white
space. This wasn't a
> problem in earlier versions of Dreamweaver, which would
display the entire
> document just fine. I've encounted this same problem on
a Powerbook G4
> with 2
> GB of RAM, as well as on a newer Intel MacBook Pro.
Anybody else
> experience
> this? Anybody know a cure? I know all of the document is
there -- I can
> open it
> and see every line in a browser. (I suppose I could find
and reinstall
> Dreamweaver MX, or break down my long doc into five or
six separate ones,
> but
> either choice would be a pain at this point. )
> -
Query takes very very long time to display on the web portal.
HI Gurus
My query takes very very long time to display the result on the web.It takes almost 30 mins to show the
results.However when I execute the same query in analyzer it shows the result in 10 Sec.
Gurus could u please let me what r the steps required to increase teh performance of it.
What steps BI Consultant take to resolve it . Is it a portal issue.
Regards
loyeeHi,
you can use the following parameters to the start URL: &PROFILING=X&TRACE=X. They could be set in iView of Portal as well as the url of the webtemplate. You will get information about performance of the web application.
Additional check this notes:
NW 7.0 BI Web Applications: Performance Problem Analysis
SAP Note Number: [1048691|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
Performance problems when you start a query in Java Web
SAP Note Number: [950602|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
Also intresting threads:
Re: Poor performance Web vs Bex
Re: BEx vs the Web : Which provides better performance
Regards
Andreas -
Notebook Taking a very long time to power off
Hi All,
My notebook (HP ENVY 17-j005tx Notebook) when shutting down only takes a couple of seconds, however it can take upto 5 minutes to power off...
At first i thought some service or program was taking a long time to shutdown, I installed Windows 8.1 SDK Performance Toolkit to try and identify a culprit; ran the command "xbootmgr -trace shutdown -traceFlags BASE+DIAG+LATENCY -noPrepReboot" and succeffully generated trace file.
I noticed the notbook had rebooted in just a few seconds..
Anyhow I proceeded to analyse the trace file using the wpa.exe program anf could not find any program or service taking much time to shutdown!!!
SO I understand now the Windows OS is shutting down nicely though the Notebook is taking a very long time to power off.
Anyone have any suggestions? I do have NVIDIA Driver 337.88 installed and did find another thread here where they suspected this driver version has not been tested by HP and after they applied it their notebook shutdown slower than usual - is this somehting maybe to look at...
I'm currently downoading sp63414.exe NVIDIA driver for my notebook - should I uninstall my current driver and apply HP's?
Jim
HP ENVY 17-j005tx Notebook, HP ENVY Recline 27-k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server, HP MediaVault 2020, HP ENVY 120 AiO Printer
This question was solved.
View Solution.Thanks visruth,..
What I tried is run "msconfig" and boot into "safe mode", rebooted then shutdown, shutdown was back to normal again.
So then reran "msconfig" disabled all non-Microsoft Services, shutdown and again all powered off as normal (quickly after shutdown).
So rebooted and re-enabled all services again using "msconfig". THen disabled the following services, choosing these specifically as I'm not so sure why they should be running and some not know what they are used for...
rebooted and then shutdown and all shutdown and power off was normal...
It seems one of these services is causing the power off to take several minutes....
I suspect the bluetooth services, or the GSService, or IconMan_R, or possibly the Netgear Genie...
Funny enough I did uninstall netgear genie a few weeks ago and see for some unknown reason the Service is still there???? Hmm...
Jim
HP ENVY 17-j005tx Notebook, HP ENVY Recline 27-k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server, HP MediaVault 2020, HP ENVY 120 AiO Printer -
I have a Problem in print the long description data through EDI.
I have a Problem in print the long description data through EDI:Actually we want to print the long description data through EDI, but it not handling our huge long description data. Here is the example of that>We can print the first two lines into EDI output, but it is failing to print the below text:
<B>EPSON, TM-U590 Series: </B> Reliable 88 column slip printer. Operator friendly dot matrix impact printing. Ideal for hotel, bank, restaurant and many more applications .<br><BR> Includes: Printer, Black ribbon & a Connect-It Interface. Power Supply & interface cable sold separately. All printers are RoHS compliant & have a standard 1 year depot warranty. <BR> <BR>
-------------------------------------Failing to print this lines------------------------------------------------------------------
<b>COLORS:</b> Epson Cool White (ECW) Only<BR><BR><B><FONT COLOR=#FF0000#>Click links below for helpful Information</FONT><b><br><table border="0" bordercolor="" style="" width="100%" cellpadding="5" cellspacing="5"><tr><td><FONT SIZE="2"><CENTER><A HREF="www.sample.com"f.2605" target="_blank"><b>Spec Sheet</b></a></CENTER></FONT></td><td><FONT SIZE="2"><CENTER><A HREF="www.sample.com"f.2606" target="_blank"><b>MSRP Price List</b></a></CENTER></FONT></td><TD><FONT SIZE="2"><CENTER><A HREF="www.sample.com"f.2868" target="_blank"><b>Product Information Guide</b></a></CENTER></FONT></TD></TR><TR><td><FONT SIZE="2" COLOR=#0000FF><B>Warranty Information</B></FONT></td></tr><Tr><td><FONT SIZE="2"><CENTER><A HREF="www.sample.com"f.2554" target="_blank"><b>Depot Warranty</b></a></CENTER></FONT></td><td><FONT SIZE="2"><CENTER><A HREF="www.sample.com"f.2555" target="_blank"><b>Spare In the Air Warranty</b></a></CENTER></FONT></td><td></td></tr></table><br>
Please provide some useful thoughts on this EDI issue.
Thanks
AmeerTry using the FM:
ENQUE_READ2
Passing the follwing values:
GNAME --> VBAK (Sales Order header table)
GARG --> The lock argument
(This will be a combination of client number anb Sales Order No.
Eg: '3001210000054' where the first three digit i,e 300 is the client No
and 1210000054 is the sales order no.)
Regards,
Firoz.
Maybe you are looking for
-
[SOLVED]Install kernel failed and how can I repair my system.
In order to get suspend function, I try to compile a new kernel, I used the second method in http://wiki.archlinux.org/index.php/Ker - rom_Source with makepkg and pacman. I download 2.6.31 kernel and makepkg is OK, but pacman tell me /lib/***(lots of
-
Can't remove the bar to forward in the video streaming on website
after update flash player, i can't skip forward or remove the bar to fast forward in the video streaming on the website. When i remove the bar forward, it always go back to the start. i have try every website that having video streaming and it alway
-
Logic for determining the delivery address in PO
Hi, We have a requirement (for a enhancment ) to get the country updated in the delivery address of a purchase order. Would be highly helpful if someone provide me the logic for getting the country key from the delivery address tab. Our landscape in
-
Project Professional 2010 download
Help!! I need a download link for Project Professional 2010 I have a license for 2010 and I still have the cd. I want to install it on my new sleekbook - which has no cd drive (I was referred to you by @ project on twitter)
-
Oracle 9i Linux amd64 download fails
I have tried to download the 3 files on this page http://otn.oracle.com/software/products/oracle9i/htdocs/linuxx8664soft.html several times. The result is always the same. Following the instructions for ungzip'ing and cpio'ing the files are found to