Set location for the JLabel
Hello!
I've got an interesting effect and I don't have a list idea why it happens. I set layout to null in the panel and created some JLabels in this panel. Then I saved locations of the labels in a data base, exited from the window and tried to create the panel and labels again using information saved in the data base. All labels appeared in the panel but their locations were slightly different in spite of the coordinates were the same as befor. The top left corner of each label slightly displacemnts to the up and left. I used setLocation method in the JLabel and also tried to use setBound but result was the same.
Does anybody know what the matter is?
TIA
you can use HelpBroker.setLocation and HelpBroker.setSize, but both are new methods introduced in JavaHelp 2.0 beta release only.
Similar Messages
-
As per adobe agent chat representative, the following question is posted on the fórum to obtain an answe from adobe.
What is the location for the swatches file in the illustrator product part of Adobe Creative Suite 3 Design Premium for windows (date and lenght)? File that manges its funcionallity.
Thanks
<moved from downloading,installing,setting up - kglad>Illustrator is not working as it should...
I want them to compare the original size and date of creation with what I have installed on my computer... I have installed several times with my original CD and I tried once downloading the files from the adobe site (using my own license). I suspect the files has been modified or renamed on my laptop by an external unauthorized user causing the malfunction of the application.
Customer services does not support CS3 anymore and the updates / patches in the adobe site does not solve the problem... They redirect me to the forums for support...
Presently, my problem is that after creating a swatch and drag it to the swatch panel, it does not fill as it should a new form... Now, after deactivating and activating my license the swatch seems to fill the new form but when the filter that the swatch has is persistence in the next filling object created even though a different color is being used as a fill (X)... Help in the creation of a swatch over the internet just complicate the issue.
That's why I would like to know whether updates on my product are being received or files are being replaced without my knowledge...
Thanks...
PS Do you know how to contact a staff adobe employer on the forums? -
How set location for tooltip text ??
hi ,
i want to set tooltip location myself to a button . for this i override methods are
1. public String getToolTipText(MouseEvent e)2 public Point getToolTipLocation(MouseEvent e)here is code... where i have to change to set location for tooltip
* DebugGraphicsTest.java
* Created on April 28, 2005, 1:14 AM
package swingtest;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
* @author Paramasivam
public class DebugGraphicsTest extends javax.swing.JFrame {
public DebugGraphicsTest() {
initComponents();
MyButton btn = new MyButton("Chem m e");
btn.setToolTipText("this is actual");
getContentPane().add(btn);
jButton1.setToolTipText("button 1");
jButton2.setToolTipText("button 2");
jButton3.setToolTipText("button 3");
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
getContentPane().setLayout(new java.awt.FlowLayout());
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jButton1.setText("jButton1");
jPanel1.add(jButton1);
jButton2.setText("jButton2");
jPanel1.add(jButton2);
jButton3.setText("jButton3");
jPanel1.add(jButton3);
getContentPane().add(jPanel1);
pack();
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new DebugGraphicsTest().setVisible(true);
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JPanel jPanel1;
// End of variables declaration
class MyButton extends JButton{
public MyButton(String s){
super(s);
public Point getToolTipLocation(MouseEvent evnt){
return new Point(100,300);
public String getToolTipText(){
return "hihi";
public String getToolTipText(MouseEvent me){
return "event hihi";
}Adding the line ToolTipManager.sharedInstance().registerComponent(this); to MyButton's constructor seems to solve the problem.
-
Please help! I upgraded to ios 6 today and I cannot find out where to disbale the location for the camera. I DO NOT want my pictures to be geotagged or have any type of location marked on them for safety reasons. Does anyone know how to disable it? Please help and thank you!
Bro try Setting then scrool down choose privacy then you find location service there you can turn off location service for camera. Gbu
-
I have tried to install iCloud on to my Windows Vista pc. No control panel is present and when I try to login to iCloud using my iTunes id, I am told that it is an Apple id but not set up for the cloud. without the control panel where do I set up my iCloud id?
You can not setup a new iCloud account using a PC. You must use an Apple device (Mac or iPhone/iPad) to create the account, then sign into it using your PC.
-
What is the factory set password for the administrator for a macbook pro 13" retina display?
what is the factory set password for the administrator for a macbook pro 13" retina display?
Welcome to Apple Support Communities
Macs don't come with a password. You have to set up the password during the initial setup. If you have forgotten your password, follow these steps to reset your password > http://discussions.apple.com/docs/DOC-4101 -
Process open items: how to set defaults for the additional selections
Hi FI experts,
Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
I am using transaction F-04 (or F-06 or F-07) to post with clearing.
When processing the open items I can use additional selection parameters. In my case I need to use the document type. I would like to save this selection as a default but this doesn't seem to be possible.
1. it is not possible to save a variant for the processing of open items
2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
Do you see another way to store defaults for the additional selections in open item processing?
Thanks a lot.
DimitriHi,
When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable. Hence SHD0 is not going to help.
As said above, either you can change the additional selection screen parameters, but here again you can't default the value. You can only reduce the number of entries on the screen.
Else you can create a custom transaction code by copying the standard. Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements.
Please check this link:
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
In the above link, in navigation choose clearing -- Specifications for processing open items
If it is a custom transaction then you can default document number.
Regards,
Ravi -
I CAN SEE ALL SHIP TO LOCATIONS FOR THE CUSTOMER EVEN IF I SELECT ONE BILL
Dear,
I CAN SEE ALL SHIP TO LOCATIONS FOR THE CUSTOMER EVEN IF I SELECT ONE BILL TO
Steps:
Create customer name "customer 1"
Under this customer, I create 2 new address
"Customer A " with tow business purpose
1-bill to –> customer A
2- ship to-> customer A after that I link ship to with bill to customer A , I CHECK THE PRIMARY SITE CHECK BOX
FOR THIS SITE
"Customer B" with tow business purpose
1-bill to –> customer B
2- ship to-> customer B after that I link ship to with bill to customer B
Now when I navigate to (N) Order management ->order organizer ->new order
I select the "customer 1" from customer field name I tab to other field bill to
location it is coming by default as primary site customer "customer A"
I OPEN THE LIST I SEE tow customer A AND B I SELECT 'B' AS bill to
When I tab to the other ship to field in also I can see the tow customer " A" and "B" but in real
setup I link the customer "B" WITH ONE SHIP TO ALSO CUSTOMER"B" WHY I CAN SEE
ALL LOCATION FOR THE CUSTOMER EVEN IF I SELECT THE ONE BILL TO .
WHAT THE BENIFIT FROM LINK CUSTOMER SHIP TO FIELD WITH BILL TO IF I CAN SEE ALL LISTS
FOR CUSTOMER SITE
Expected Behavior:
Once I link the ship to location with bill to location I must see when create sales order only the ship to location
link with the specific bill to already specified
Business impact:
This give the user entry ability to enter wrong data or give him the confusion any site I must enter
thanksThat is expected behavior.
You can see the all addresses of account in the list as long as the purpose condition is satisfied. Linking is only for defaulting and not for controlling. If you do not want to see you can create a different account for the B address.
Thanks
Nagamohan -
I've lost a load of notes, but dont know why or how to get them back. I cant find the folder that is in my Yahoo account that people have suggested might be the location for the messages. I recently signed into iCloud for the first time. Any idea how to get the notes back? I really dont want to lose them.
It should keep asking for the password, because it's trying to check for purchases... As soon as you login, it will see you have pending downloads and create the downloads section on the left below Purchases under the Store section. Then it will start the music downloads there, as they will be listed one below the other.
You could just try to check your account balance or view your account and that will trigger a password request too. You can just click on that and say that now iTunes keeps asking for the password and ask him to help you with that. Trick would be to interrupt him so that he carries on with another task after, so he doesn't notice the download. Or you carry on with email or browsing which you were "busy" with when iTunes interrupted you for the password (stupid iTunes) -
Where and how to find the storage locatation for the consignment stock
where and how to find the storage locatation for the consignment stock (customer stock ) for more than one storage location .
table :msku
material no - werks - batch
xxx sg11 - 200352ac
table : mchb
material no - werks -lgort - batch
xxx sg11 sg10 200352ac
xxx sg11 gs11 200352ac
note : each stock location having same batch no in different storage and my question how to find which link for msku to mchb .Hi,
Try the table MARD: Storage Location Data for Material, where in the field LABST will give the stock field, against a given material/plant/Storage Loc.
Regards,
JLN -
Hi. I just downloaded Firefox 4. Some of the new features are missing such as the new "Firefox Button" and the new location for the bookmarks button. It almost looks just like Firefox 3. I am using Windows XP on this desktop computer. On my laptop, running Windows Vista, Firefox 4 has all the updates advertised. Why is this happening? How do I fix?
Thanks
JamieThanks so much!
-
Functional location for the respective material and equipment in a report
i want to show the functional location for the respective material and equipment in a report designed for plant maintenace module..how should i add a field in the report which already contains the order , material and equipment no ?..just have to add a field functional location in that report. Can anyone plzz tellme from which table should i fetch the data .?
From EQUI get the recent/valid EQUZ record.
From EQUZ get the ILOA record.
ILOA holds the TPLNR for the equipment.
And from ILOA you can get IFLOT.
edit: just noticed you can use V_EQUI as well.
Edited by: Maen Anachronos on Nov 26, 2010 12:40 PM -
Creating locations for the assets in Asset accounting
Hi,
Can anyone please let me know how to create locations for the existing assets in AA module? We need to create locations and assign the assets so as to track the assets location wise.
Thanks,Goto
SPRO-->Enterprise structure->Definition-->Logistic General->Define Location
there you can create location -
How can I change the location for the backup from iphone to itunes?
How can I change the location for the backup from iphone to itunes? I want to backup to my external harddisk and not the computer itself. How do I do it?
Moving the iOS device backup location
Open a command prompt by hitting the start button and typing CMD<Enter> in the search box that opens up, or with Start > Run on older Windows.
To move the current backup folder from C: to D: (for example) type in this command and press <Enter>
Move "C:\Users\<User>\AppData\Local\Apple Computer\MobileSync\Backup" "D:\Backup"
Where <User> is your Windows user name.
To make iTunes look for the data in the new location type in this command and press <Enter>
MkLink /J "C:\Users\<User>\AppData\Local\Apple Computer\MobileSync\Backup" "D:\Backup"
If your preferred drive has a different letter or you already have a folder called "Backup" then edit "D:\Backup" accordingly in both commands.
If you have Windows XP then you'll need a third-party tool such as Junction to link the two locations together instead of the MkLink command. The source folder is C:\Documents and Settings\<User>\Application Data\Apple Computer\MobileSync\Backup
tt2 -
Where is the default location for the OC4J logs?
Where is the default location for the OC4J logs?
Depends on what variant of the product you are using.
In an Oracle Applicaiton Server environment (ie the one you install versus unzip) the stdout/stderr streams from OC4J are captured in the $ORACLE_HOME/opmn/logs/<group-instance> directory.
If you are using standalone then stdout goes to the console where you started the process.
The logs for the OC4J instance itself are located in $ORACLE_HOME/j2ee/home/log/<instance_group> directory. In this directory you'll see different logs for differet areas of the server. Most of the logs however are captured in the oc4j sub-directory in the log.xml file. Whenever you enable an OC4J component logger in the j2ee-logging.xml file or via ASControl, this is where the logs will end up.
Take a look at the $ORACLE_HOME/j2ee/home/config/j2ee-logging.xml file -- the log handlers will give you some idea on the different log files that are in use.
You can configure your application loggers to also direct their log into this file if you wish. See http://buttso.blogspot.com/2007/09/directing-log-messages-into-oc4j.html for an example.
Maybe you are looking for
-
if i put an album on my computer it will not transfer to my i pod it says my ipod is corrupted.if i try to RESTORE it says i am not connected to the internet when i am please help.
-
Can't 'save for web' in photoshop cc on new mac (yosemite)
I have just upgrade to a new Mac running Yosemite and I can now longer save for web in Photoshop CC I get an error "no file or directory can be found" I have notice that in one of my Actions the directories are different on each computer: on my new c
-
BAPI to change data at operation level
Hi, I have this requirement: I need to change data at operation level, more particularly Person No (PERNR) by using a BAPI. Is there any BAPI - in which I can pass the basic data (say Order data and Operation data) and change the PERNR for it. The na
-
When I down loaded some ring tones they show up in my Music folder but not in my ringtones?
When I down load some ring tones I purchased they show up under my Music Icon but not in my ringtones
-
Bluetooth / audio question
Hi Guys - i have a question which may be more related to a particular application http://www.sonomawireworks.com/forums/viewforum.php?id=2 but seeing as no-one there seems to be able t help me (and it may in fact be a Mac, rather than 'app' related i