HT1904 how do i set the administrators code & password?
How do i set the administrators code & password?
I got a prompt when I had inserted the DVD which needed region change. But not now when I put in any other DVD. Some work, some don't. Is it not true that when changing the fourth time, the machine gives some indication that the next time will be the last? I thought so, whcih is why I am wondering, why it is not prompting or warning me.
Similar Messages
-
How can I change the administrators original password on my new mac pro?
How can I change the administrators original password if I've forgotten it.
IflyDavie wrote:
I need help to delete my icloud account from my iPad. It has "Find my iPad" on it and won't let me delete without the old password. I don't want to reset password as it will require reset of Mac Book Pro and 2 iphones. Help appreciated.
Your description of the problem is a bit confusing. Do you have ONLY ONE Apple ID or do you have MORE THAN ONE? -
How do I set the region code for my Mac?
I have been using my powerbook since 2004. I must have changed the region code once before for the DVD player. But since then any and all DVD's have played - unless the DVD itself had a problem. A few days back i put in a DVD which needed region change. Without thinking I changed it and now I have DVD's that used to play before, not play anymore. Please let me know how I can put the region code back to what it was - where all DVD's played.
I don't think I have changed the region code five times - but can one really nor change the code once it has changed the fifth time???????? Please advice.I got a prompt when I had inserted the DVD which needed region change. But not now when I put in any other DVD. Some work, some don't. Is it not true that when changing the fourth time, the machine gives some indication that the next time will be the last? I thought so, whcih is why I am wondering, why it is not prompting or warning me.
-
How do I set the default keystore password?
The following code is currently failing with the exception below.
private X509Certificate getX509Certificate(String alias)
throws CertificateException {
// NOTE The default keystore password is "**********", as specified in the Sun KeyStore documentation
// NOTE For more information, read the Sun documentation at http://java.sun.com
X509Certificate cert = null;
String keystore = "keystore";
try {
cert = getX509Certificate(alias, keystore, "**********");
catch(KeyStoreException exception) {
// A keystore exception occurred in the call to getX509Certificate, which could be indicative of a
// bad installation
throw new CertificateException("A keystore exception occurred accessing the default keystore."
+ " Check your keystore installation, ensuring that the default keystore password"
+ " is the standard Java keystore password\r\n"
+ exception.getMessage());
}+[04/12/07 15:02:57:827 GMT] 0000001f SystemErr R java.security.cert.CertificateException: A keystore exception occurred accessing the default keystore. Check your keystore installation, ensuring that the default keystore password is the standard Java keystore password+
A keystore exception occurred accessing the default keystore. Check your keystore installation, ensuring that the default keystore password is the standard Java keystore password
The provider 'SUN' has not been configured
no such provider: SUN
So it looks like my default keystore password is not the same as that in the code above (I've replaced it with ******). How do I set the default keystore to be the same as in the code above? Please note the exact same code works for another application - and so I would like to use the same class file rather than having to change the code above.You define the password for a keystore when you create it.
There is no default.
There is a default on the 'cacerts' truststore provided for JSSE: see
http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html -
How do I set the admin login password on my macbook pro?
Is there an uncomplicated way to reset the administration password for my computer?
Boot into recovery
Open Terminal from the Utilities menu
Type resetpassword at the prompt and hit enter.
Select drive and user account and reset password.
Do you consider that complicated? -
How i can set the selected item of a dropDown component from java code
Hi
Thank you for reading my post
How i can set the slected item of a DropDown component from backing beans java code ?
it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
In back code i have both value and display values to use them .
can some one give me some help ?
Thanks ,See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
It says
One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back. -
printer is installed and working well, but I want now to set up eprinting so I can print from my ipad. i have installed the free app on my ipad, but seems I also need to enter a printer code to set it up. the 2000 does not have a screen so I cannot see any info there. How can I discover the printer code?
How old is the printer? I am not finding any support paged for the Officejet 2000. Here is a link to a document that goes over the supported printers for cloud services. There is a dropdown for HP Officejet products, click on that drop down and it will produce a chart that will show which models are capable of ePrint and other cloud services. I hope that this helps.
I am a former employee of HP...
How do I give Kudos?| How do I mark a post as Solved? -
How do you set the text of a Hyperlink component in code
I am using Visual Web pack in NB 6.0. How do you set the text of a hyperlink component in code?
Please see screenshots at
http://coba.usf.edu/departments/isds/faculty/agrawal/projects/java/
I have a hyperlink in a grid panel. I am using
hyperlink1.setText("Hello"); in prerender(),
but the Hyperlink shows up with the text "Hyperlink", whereas I was expecting "Hello". However,
hyperlink1.setUrl("http://www.usf.edu"); works as expected.
I tried nesting a static text in the hyperlink as suggested in the Creator guide (ed 2, Google project). I deleted the "Hyperlink" text in the properties editor but then the page turned out blank.
Thanks
ManishHi Manish,
Great to know you were able to fix your issue. The following blog entry has the list of resources you would like to look at for future.
http://blogs.sun.com/NetBeansSupport/entry/useful_resources_for_visual_web
Thanks
K -
I have entered the wrong numbers to put my phone in pass code lock. However, I didn't set the autolock....how can I get the pass code lock reset?
Your only choice is to place the phone in DFU mode (search Google for instructions) and restore as a new device. You will lose all your data.
-
How do I set my Region Code for the DVD player?
When I insert a DVD, it is not prompting me to set the region code and I cannot figure out how to set it manually. When I insert a DVD, I get an error message that says "supported disk not availabe". I have already run the Repair Disk Permissions from disk utility and that didn't work so I thought maybe the problem is with the region coding. Your help is appreciated!! Thanks.
http://support.apple.com/kb/ht2397
-
How do I set the DVD region code via ARD?
We recently deployed around 200 MacBooks in a k12 environment and manage them via ARD & WGM. We forgot to set the DVD region when creating our master image and as a result, every single MacBook prompts for an admin password when attempting to use the DVD Player to view a DVD for the first time.
Instead of attending to each of the 200+ MacBooks personally and putting a DVD in and setting the region code one by one, is there a way I could do this via ARD? Unix command? Managed preference via WGM? Thanks, I appreciate any input.I've been working on this very topic for about a year. Here's what you need to know.
1) setting the region code on your master image would result in the same behavior. Setting the region code triggers an update to the DVD drive firmware itself - it's not something that's stored in software. Obviously this is something that needs to be set on each machine individually. Setting it on the image won't affect the imaged-machines.
2) Apple seems to have gone to great lengths to hide the app that triggers this action. If they had provided a simple CLI interface to trigger this on a client machine we'd be able to use ARD to trigger the action on all of our client machines. Alas, this app is buried somewhere I can't find and seems to only rear its head when a DVD with a region code is inserted into the drive. There is one idea that popped into my head while at Macworld that I want to try to see if I can find this app but I have my doubts.
3) Failing my last ditch effort to find this app, I think our fallback will be to give users explicit rights to set the initial DVD region code on thier machines. This is something that can be done using WGM. There is a rule in /etc/authorication specifically allowing users/groups to set the region code for the first time. According to the notes, giving this access will NOT allow users to change the region code - which is a good thing - but only give them rights to do so the initial time. This way, we can empower our users to help themselves while also protecting them from resetting the region code accidentally.
In conclusion, I haven't found any way to script/push this command to a client machine. I'll definitely file this with Bug Reporter and hope Apple will give us a CLI or an ARD command to trigger this action after imaging.
G4 Mac OS X (10.4.8)
G4
G4 -
I am Making a program for purchasing games, with the basic layout alsot done, except on problem. When the purchase button is pressed, a dialog shows up but nothing is seen until i resize it. How would i set the frame size so that i do not need to resize it each time? below is the code for the files. Many thanks in advance.
CreditDialog
import java.awt.*;
import java.awt.event.*;
class CreditDialog extends Dialog implements ActionListener { // Begin Class
private Label creditLabel = new Label("Message space here",Label.RIGHT);
private String creditMessage;
private TextField remove = new TextField(20);
private Button okButton = new Button("OK");
public CreditDialog(Frame frameIn, String message) { // Begin Public
super(frameIn); // call the constructor of dialog
creditLabel.setText(message);
add("North",creditLabel);
add("Center",remove);
add("South",okButton);
okButton.addActionListener(this);
setLocation(150,150); // set the location of the dialog box
setVisible(true); // make the dialog box visible
} // End Public
public void actionPerformed(ActionEvent e) { // Begin actionPerformed
// dispose(); // close dialog box
} // End actionPerformed
} // End Class
MobileGame
import java.awt.*;
import java.awt.event.*;
class MobileGame extends Panel implements ActionListener { // Begin Class
The Buttons, Labels, TextFields, TextArea
and Panels will be created first.
private int noOfGames;
// private GameList list;
private Panel topPanel = new Panel();
private Panel middlePanel = new Panel();
private Panel bottomPanel = new Panel();
private Label saleLabel = new Label ("Java Games For Sale",Label.RIGHT);
private TextArea saleArea = new TextArea(7, 25);
private Button addButton = new Button("Add to Basket");
private TextField add = new TextField(3);
private Label currentLabel = new Label ("Java Games For Sale",Label.RIGHT);
private TextArea currentArea = new TextArea(3, 25);
private Button removeButton = new Button("Remove from Basket");
private TextField remove = new TextField(3);
private Button purchaseButton = new Button("Purchase");
private ObjectList gameList = new ObjectList(20);
Frame parentFrame; //needed to associate with dialog
All the above will be added to the interface
so that they are visible to the user.
public MobileGame (Frame frameIn) { // Begin Constructor
parentFrame = frameIn;
topPanel.add(saleLabel);
topPanel.add(saleArea);
topPanel.add(addButton);
topPanel.add(add);
middlePanel.add(currentLabel);
middlePanel.add(currentArea);
bottomPanel.add(removeButton);
bottomPanel.add(remove);
bottomPanel.add(purchaseButton);
this.add("North", topPanel);
this.add("Center", middlePanel);
this.add("South", bottomPanel);
addButton.addActionListener(this);
removeButton.addActionListener(this);
purchaseButton.addActionListener(this);
The following line of code below is
needed inorder for the games to be
loaded into the SaleArea
} // End Constructor
All the operations which will be performed are
going to be written below. This includes the
Add, Remove and Purchase.
public void actionPerformed (ActionEvent e) { // Begin actionPerformed
If the Add to Basket Button is pressed, a
suitable message will appear to say if the game
was successfully added or not. If not, an
ErrorDialog box will appear stateing the error.
if(e.getSource() == addButton) { // Begin Add to Basket
// GameFileHandler.readRecords(list);
try { // Begin Try
String gameEntered = add.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Feild Blank");
} else if (Integer.parseInt(gameEntered)< 0
|| Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
new ErrorDialog (parentFrame,"Invalid Game Number");
} else { // Begin Else If
//ADD GAME
} // End Else
} catch (NumberFormatException num) { // Begin Catch
new ErrorDialog(parentFrame,"Please enter an Integer only");
} // End Catch
} // End Add to Basket
If the Remove From Basket Button is pressed, a
a suitable message will appear to say if the
removal was successful or not. If not, an
ErrorDialog box will appear stateing the error.
if(e.getSource() == removeButton) { // Begin Remove from Basket
try { // Begin Try
String gameEntered = remove.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Feild Blank");
} else if (Integer.parseInt(gameEntered)< 1
|| Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
new ErrorDialog (parentFrame,"Invalid Game Number");
} else { // Begin Else If
//ADD GAME CODE
} // End Else
} catch (NumberFormatException num) { // Begin Catch
new ErrorDialog(parentFrame,"Please enter an Integer only");
} // End Catch
} // End Remove from Basket
If the purchase button is pressed, the
following is executed. NOTE: nothing is done
when the ok button is pressed, the window
just closes.
if(e.getSource() == purchaseButton) { // Begin Purchase
String gameEntered = currentArea.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Nothing to Purchase");
} else { // Begin Else If
new CreditDialog(parentFrame,"Cost � 00.00. Please enter Credit Card Number");
} // End Else
} // End Purchase
} // End actionPerformed
} // End Class
RunMobileGame
import java.awt.*;
public class RunMobileGame { // Begin Class
public static void main (String[] args) { // Begin Main
EasyFrame frame = new EasyFrame();
frame.setTitle("Game Purchase for 3G Mobile Phone");
MobileGame purchase = new MobileGame(frame); //need frame for dialog
frame.setSize(500,300); // sets frame size
frame.setBackground(Color.lightGray); // sets frame colour
frame.add(purchase); // adds frame
frame.setVisible(true); // makes the frame visible
} // End Main
} // End Class
EasyFrame
import java.awt.*;
import java.awt.event.*;
public class EasyFrame extends Frame implements WindowListener {
public EasyFrame()
addWindowListener(this);
public EasyFrame(String msg)
super(msg);
addWindowListener(this);
public void windowClosing(WindowEvent e)
dispose();
public void windowDeactivated(WindowEvent e)
public void windowActivated(WindowEvent e)
public void windowDeiconified(WindowEvent e)
public void windowIconified(WindowEvent e)
public void windowClosed(WindowEvent e)
System.exit(0);
public void windowOpened(WindowEvent e)
} // end EasyFrame class
ObjectList
class ObjectList
private Object[] object ;
private int total ;
public ObjectList(int sizeIn)
object = new Object[sizeIn];
total = 0;
public boolean add(Object objectIn)
if(!isFull())
object[total] = objectIn;
total++;
return true;
else
return false;
public boolean isEmpty()
if(total==0)
return true;
else
return false;
public boolean isFull()
if(total==object.length)
return true;
else
return false;
public Object getObject(int i)
return object[i-1];
public int getTotal()
return total;
public boolean remove(int numberIn)
// check that a valid index has been supplied
if(numberIn >= 1 && numberIn <= total)
{ // overwrite object by shifting following objects along
for(int i = numberIn-1; i <= total-2; i++)
object[i] = object[i+1];
total--; // Decrement total number of objects
return true;
else // remove was unsuccessful
return false;
ErrorDialog
import java.awt.*;
import java.awt.event.*;
class ErrorDialog extends Dialog implements ActionListener {
private Label errorLabel = new Label("Message space here",Label.CENTER);
private String errorMessage;
private Button okButton = new Button("OK");
public ErrorDialog(Frame frameIn, String message) {
/* call the constructor of Dialog with the associated
frame as a parameter */
super(frameIn);
// add the components to the Dialog
errorLabel.setText(message);
add("North",errorLabel);
add("South",okButton);
// add the ActionListener
okButton.addActionListener(this);
/* set the location of the dialogue window, relative to the top
left-hand corner of the frame */
setLocation(100,100);
// use the pack method to automatically size the dialogue window
pack();
// make the dialogue visible
setVisible(true);
/* the actionPerformed method determines what happens
when the okButton is pressed */
public void actionPerformed(ActionEvent e) {
dispose(); // no other possible action!
} // end class
I Know there are alot of files. Any help will be much appreciated. Once again, Many thanks in advancesetSize (600, 200);orpack ();Kind regards,
Levi
PS:
int i;
parses to
int i;
, but
[code] int i;[code[i]]
parses to
int i; -
How do I set the placementID of portlet at runtime?
Hi,
I want to know the position of portlets on the page.
Below is my requirement,
I have 2 column layout on my page and each column has 3 different portlets. So when the first time it loads page load the page user see some portlets on each column, when user revisit that page I have to change the position of portlets in short I can say I have to shuffle the portlets at run time.
Approach which I have decided and in which I require more help is like,
Whenever user visit the page Backing file which run and it is store positions of portlets I am able to get position of portlet using following code,
portletbc = deskbc.getPortletBackingContextRecursive("PORTLET_INSTANCE");
String placeID = portletbc.getPlacementId();
This I store in DB so whenever user revisit or refresh the page from the backing file I read the DB and if placementID of the portlet is same then I shuffle placementID. So here comes the problem or I require help...
How do I set the placementID as I am not able to find out way to do it. So, can you please let me know how to set portlets placementID.
Thanks in advance.
HJCheck out the movePortlet method on PortalCustomizationManager:
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/netuix/application/manager/persistence/PortalCustomizationManager.html] -
How do i set a locking code to my macBook Pro?
How do I set a locking code on my MacBook Pro?
>system Preferences>Users &Groups
Unlock the padlock
Login options
turn off automatic login -
How do I set the default text in a bound textbox?
How do I set the default value of a bound textbox when the AddNewItem button on the MenuStrip is clicked?
I have the following code (see below), but for some reason it does work when I put the code in the
AddNewItem_Click event; however, it does work if I put it in the
Form's Load Event. The statement in question is Me.txtBusUsagePct.Text = 100.
What am I doing wrong? Why can't I set the default text in the AddNewItem_Click
event?
Private Sub BindingNavigatorAddNewItem_Click(sender As Object, e As EventArgs) Handles BindingNavigatorAddNewItem.Click
Me.txtBusUsagePct.Text = "100"
End Sub
BobV365Hello,
Here I am using mocked up data but the important thing is after loading the data. Requires on the form a BindingNavigator and two text boxes.
Public Class Form1
WithEvents bsData As New BindingSource
Private Sub Form1_Load(
ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
Using MockedData As New DataTable()
MockedData.Columns.AddRange(New DataColumn() _
New DataColumn("PartName", GetType(String)),
New DataColumn("partqty", GetType(Int32))
MockedData.Rows.Add(New Object() {"Part A", 100})
MockedData.Rows.Add(New Object() {"Part 99", 34})
MockedData.Rows.Add(New Object() {"Part B", 4})
bsData.DataSource = MockedData
End Using
CType(bsData.DataSource, DataTable).AcceptChanges()
BindingNavigator1.BindingSource = bsData
TextBox1.DataBindings.Add("Text", bsData, "Partname")
TextBox2.DataBindings.Add("Text", bsData, "partqty")
End Sub
Private Sub bsData_AddingNew(
ByVal sender As Object,
ByVal e As System.ComponentModel.AddingNewEventArgs) _
Handles bsData.AddingNew
Dim dv As DataView = TryCast(bsData.List, DataView)
Dim rv As DataRowView = dv.AddNew()
rv("PartName") = "(new)"
rv("partqty") = 0
e.NewObject = rv
bsData.MoveLast()
End Sub
End Class
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile
but do not reply to forum questions.
Maybe you are looking for
-
How to Restict number of rows to download data in excel sheet
hi, my requirement is that i m showing top 50 seller in my dashboard. but when we click on download to excel then all 500 rows are downloading. i want to restrict downloading all data and want show only displayed data of dashboard in excel sheet.(ex
-
HT204053 How can I add family members to my account?
I used to be able to add children to my account, giving them their own email address? Is that still possible? Tim A.
-
Stock transfer of QM stock thereby creating a new batch number
Dear Experts, I have searched for this content but didn't get content which match my requirement. My client has placed a requirement.When they receive a material against a purchase order through movement type 101 they receive it to quality inspection
-
hi ' can any body tell me in detail what is LIFO AND FIFO in batch managment. Regds. ajay
-
Hi, I have a requistion and based on this requistion i have created a PO. But for some reason i couldn't receive goods receipts so i couldn't issue the goods. so the PO is still open. Now i want to close this PO. Please let me know the transaction a