Hi, i've found this strange behaviour:
Hi, i've found this strange behaviour:
if i open a pdf file from a pen drive, and after i try to print it, i have the message: You need to install a printer......
then if i copy the same file to the hdd, then i open this file and print it, now i can print !!
this happen with the reader 8.2.4, so i've update to the new X version and nothing is changed.
i use XP sp3 with hp 6280 all-in-one
someone can explain and resolve it?
thank's
Giorgio
Well, no it probably won't work because the phone is locked so there is nothing you can do.
You won't be able to activate it, so you might never be able to use it.
You have been dishonest here and if you found a phone, then someone had obviously lost it, so you should have handed it in to the police rather than keeping it for yourself.
You probably won't be able to use the phone because it sounds like the phone is locked to the carrier in Muaritius and if you don't own the phone and don't have a contract, then that carrier will problably not unlock the phone for you, so you now have a paperweight that you can't use.
You get no help here for dishonest practices and you won't be able to activate or use that phone.
Similar Messages
-
Why this strange behaviour in sql*plus linesize?
Friends,
when i set the linesize above 200 the result is going out of my 17inch monitor. but when i set the linesize to 100 its displaying correctly. This linesize i tested with the "desc tablename"
here is the output....
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 12 11:40:54 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> show linesize
linesize 80
SQL> desc emp
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
SQL> set linesize 200
SQL> desc emp
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)how to solve this?
Thanksmay be the sqlplus 8 makes the difference.....
SQL*Plus: Release 8.0.5.0.0 - Production on Thu Jul 12 13:46:4 2007
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> select * from cat;
TABLE_NAME TABLE_TYPE
BOOKS TABLE
DBO TABLE
IPMAST TABLE
ISPMST TABLE
SQL> desc books
Name Null? Type
BKID NUMBER(38)
BKNAME VARCHAR2(10)
SQL> show linesize
linesize 100
SQL> set linesize 700
SQL> desc books
Name Null? Type
BKID NUMBER(38)
BKNAME VARCHAR2(10) -
Strange behaviour when setting client_info and module in v$session
Hello,
I've tried to set the CLIENT_INFO field in V$SESSION using DBMS_APPLICATION_INFO.SET_CLIENT_INFO but found a strange behaviour.
Normally the forms modules seems to set the field MODULE in V$SESSION to its name. If I use DBMS_APPLICATION_INFO.SET_CLIENT_INFO the CLIENT_INFO field is set correctly but the MODULE field is set to 'frmweb.exe' instead of the forms modules name.
I also tried to set the MODULE using DBMS_APPLICATION_INFO.SET_MODULE but then strangely the MODULE and MODULE_HASH field of the original frmweb.exe (the main applet?) entry and the entry for the forms module were the same (set to the new module name). From now on every newly opened module had 'frmweb.exe' as the module entry until I closed the forms application.
Example:
Entries in V$SESSION:
-- After start of forms application there is only one entry for the process:
PROCESS MODULE MODULE_HASH CLIENT_INFO
1596:7204 frmweb.exe 854945150
-- When a new forms module is opened it looks like this:
PROCESS MODULE MODULE_HASH CLIENT_INFO
1596:7204 frmweb.exe 854945150
1596:7204 my_module 1929284615
-- When the modified forms module that sets the client_info/module is opened this happens:
PROCESS MODULE MODULE_HASH CLIENT_INFO
1596:7204 mod_module 3097977240
1596:7204 mod_module 3097977240 my client info
1596:7204 my_module 1929284615As one can see the entry of the forms application seems to be overriden (at least the MODULE and MODULE_HASH fields) but the CLIENT_INFO only changes for one of the entries?
The following code is responsible for the changes of CLIENT_INFO and MODULE:
-- get client info
client_info :=
webutil_clientinfo.get_ip_address
|| ' (' ||
webutil_clientinfo.get_user_name
|| ')'
-- set client info
DBMS_APPLICATION_INFO.SET_CLIENT_INFO(client_info);
-- get module (set action to '')
DBMS_APPLICATION_INFO.SET_MODULE(name_in('system.current_form'),''); I really don't understand, why it does not work properly.
Any help is appreciated!
Thanks in advance.This was an application module pooling, activation / passivation issue.
After view objects had been set-up correctly, the problem disappeared. -
Importing BC4J project results in strange behaviours.
I found a strange behaviour in compiling BC4J projects wich imports another BC4J project.
Some of theese projects, when compiled, copy the xml/class tree of the imported project onto their directories some other don't.
The first behaviour is obvioulsy harmfull because of the number of copies it generates.
I didn't find any relevant difference between project wich behaves differently.
TIA
TullioIs there at least a description of the relate bug in order to understand when this problem comes out and than avoid it (if possible) ar watch it at least ?
Tks
Tullio -
Strange behaviour with Subjective Assessments comments in SSM10 SP10
Good day community,
We have strange behaviour with Subjective Assessments comments in SSM10 SP10.
We have been using this successfully for 3 quarters.
The scenario is as follows.
Business users capture Subjective Assessment comments successfully and these can be viewed on the scorecard overview for Q3. This can be printed to PDF successfully as well.
A few hours later, when the user accesses the Scorecard Overview, the Q3(March 2014) comments are now replaced with the
Q2(Dec 2013) comments.
This has not happened previously. We have recently deployed Internet Explorer (IE) 10 to some of the machines that previously used IE9 or IE8. Could this be a contributing factor?
This has happened with one database on 2 contexts. Although the database/scorecard in question has been created on SSM10, we have recently upgraded the rest of the organisation onto SSM10 from SSM7.5 but those are completely separate databases.
We have not found a pattern yet, but there is only one assigned administrator for this database and she often has 'funny' things happen on her machine. Could it be possible that there's a virus on her machine? Or maybe there's a sequence or combination of steps that she's doing that could cause this? We have not been able to recreate the situation in our developer offices.
Any ideas on this strange behaviour would be appreciated.
Regards,
NatashaHi everyone,
We have since noticed that if you go into the Administrator > Context Management > and change the "Person Responsible" and then save, once you go back to the Scorecard Overview all the Q3 comments have been overwritten with the Q2 comments.
This happened on a different machine so it seems there could be a bug in the Administrator.
Any thoughts on this strange behaviour would be appreciated.
Regards, -
Strange behaviour of Mouse-Events and Range size
Hello,
i found a strange behaviour of the Paragraph-Ranges in Word and can't explain this myself.
I have a add-in with a Custom Task Pane "UserControl1" and a button "Button1":
dropbox.com/s/zz2m0out5rvds0m/word.jpg
This is the Code for the user control:
public partial class UserControl1 : UserControl
public UserControl1()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
showRanges();
private void button1_MouseEnter(object sender, EventArgs e)
showRanges();
private void showRanges()
Debug.WriteLine("-------------------------------------");
foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
The mouse-enter and mouse-click events of the button, prints out the ranges of the current paragraphs. In this example it outputs:
0 - 15 | The first line
15 - 32 | And a second one
Thats fine!
And now the strange stuff starts: When i change something in the first line in the document like "The VERY first line" and use the button again, i got different range outputs for mouse-enter and mouse-click events.
mouse-enter event (wrong ranges):
-------------------------------------0 - 143 | The VERY first line
143 - 160 | And a second one
mouse-click event (correct ranges):
0 - 20 | The VERY first line
20 - 37 | And a second one
Why the hell I get wrong Ranges when I use the mouse-enter event??? (When I enter the button with mouse a second time, it shows the correct ranges again).Hi Torben,
What is Word version?
According to my test in Word 2013, the code you provided works fine for me.
I changed the code as below:
private void showRanges(string eventname)
Debug.WriteLine(eventname + "-------------------------------------");
foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
private void button1_MouseEnter(object sender, EventArgs e)
showRanges("Button MouseEnter");
private void button1_Click(object sender, EventArgs e)
showRanges("Button Click");
The document:
The output:
The result is same.
There might be something else at the end of the first line.
If you change current document to .zip and find document.xml, what does it look like?
Here is my document.xml:
<w:body>
<w:p w:rsidR="001347D9" w:rsidRPr="001511D8" w:rsidRDefault="001511D8">
<w:pPr>
<w:rPr>
<w:sz w:val="72"/><w:szCs w:val="72"/>
</w:rPr>
</w:pPr>
<w:r w:rsidRPr="001511D8">
<w:rPr>
<w:sz w:val="72"/>
<w:szCs w:val="72"/>
</w:rPr>
<w:t>The VERY first line</w:t>
</w:r>
</w:p>
<w:p w:rsidR="001511D8" w:rsidRPr="001511D8" w:rsidRDefault="001511D8" w:rsidP="001511D8">
<w:pPr>
<w:rPr>
<w:sz w:val="72"/><w:szCs w:val="72"/>
</w:rPr>
</w:pPr>
<w:r w:rsidRPr="001511D8">
<w:rPr>
<w:sz w:val="72"/>
<w:szCs w:val="72"/>
</w:rPr>
<w:t>And a second one</w:t>
</w:r>
<w:bookmarkStart w:id="0" w:name="_GoBack"/>
<w:bookmarkEnd w:id="0"/>
</w:p>
<w:sectPr w:rsidR="001511D8" w:rsidRPr="001511D8">
<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>
<w:cols w:space="720"/>
<w:docGrid w:linePitch="360"/>
</w:sectPr>
</w:body>
Is there anything different?
I have uploaded the sample document for your test, please check:
https://onedrive.live.com/redir?resid=AD77AE76D657E280!166&authkey=!AFfIP0eVTDQdMAc&ithint=file%2cdocx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Very strange behaviour of RGBImageFilter class
Hi!
I found very strange behaviour of RGBImageFilter class and problem is
that I need to solve that problem :/ So, situation is next:
I decided to use filtering process for collecting information about
image. So, I extended my own class from RGBImageFilter and overwrite
filterRGB( ... ) method ( everything is absolutely the same as in
documentation ) and also added my own code for 'no matter what'.
This code changes some class variable and my idea was to read those
variables after filtering process end, but... Suddenly I realized that
those variables, many times changed while filtering were performed
( I checked it ) after filtering gave the same value as in constructor!
The only one clue and idea about what happened is that class instance
were cloned and then executed, but thats not a functionality I was
searching. :/ I made some example of that 'effect'.
Image file name goes in command line.
Please pay attention on -3 value on exit: Filtering works, count growing
( just uncomment setPixels() method to see it ) but, but...
import java.awt.*;
import java.awt.image.*;
import javax.swing.*;
class ToForum
public static void main( String[] args )
try
JFrame frame = new JFrame( "now i beleave in x-files!" );
frame.setDefaultCloseOperation( frame.DISPOSE_ON_CLOSE );
Toolkit kit = Toolkit.getDefaultToolkit();
Image origin = kit.getImage( args[0] );
RedBlueSwapFilter filter = new RedBlueSwapFilter();
Image filtered = frame.createImage( new FilteredImageSource( origin.getSource(), filter ) );
MediaTracker tracker = new MediaTracker( frame );
tracker.addImage( filtered, 1 );
tracker.waitForAll();
System.out.println( "AND WE GOT: "+filter.getCount()+" !!!" );
Container content = frame.getContentPane();
content.setLayout( new FlowLayout() );
JLabel label = new JLabel( new ImageIcon( filtered ) );
content.add( label );
frame.pack();
frame.setVisible( true );
catch( Exception ex )
System.out.println( "Exception in main():\n"+ex );
class RedBlueSwapFilter extends RGBImageFilter
private int count=-5;
public RedBlueSwapFilter()
count = -3;
canFilterIndexColorModel = true;
// uncommenting this function will show that filterRGB method IS calling !!!
// so, why then AFTER filtering count is still ( or again ??? ) equals to 0 ?
public void setPixels( int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize )
System.out.println( "on entering in setPixels count="+count );
super.setPixels( x, y, w, h, model, pixels, off, scansize );
System.out.println( "on exiting from setPixels count="+count );
public int filterRGB( int x, int y, int rgb )
count++;
return ( (rgb&0xff00ff00) | ((rgb&0xff0000) >> 16) | ((rgb&0xff) << 16) );
public int getCount()
return count;Cliff, Hi. I'm curious because this can't work. I have no problem synching with the exchange - as long as i accept the message that the certificate of the exchange (which is not the certificate of the exchange but the certificate of dig @reighthandsideofmailadress) is not valid (expired, wrong common name etc).
-
Report S_ALR_87013542 strange behaviour
Hi All,
Report S_ALR_87013542 - Actual/Comm/Total/Plan in COAr crcy - is showing up cross signs in some of the columns.When the cross sign (like any other column value) is clicked the line item detail are sown correctly.
Has anybody encountered this kind of issue before ?
I googled and searched various forums but all in vain.
Please provide inputs to correct this strange behaviour of Report S_ALR_87013542. Thanks!
Regards
DevHello Dev,
Did you execute report RKACOR04 for the affected object number and checked if this still happens ?
Suresh Jayanthi. -
Strange behaviour of Removal of Alpha for Info object in Quality system
Strange behaviour of Removal of Alpha for Info object in Quality system as compared to Development system.
Hi,
The data for an info object Key in the DSO was 00000000000000000000000000123. I removed Alpha for the info object and data was corrected to 123 in the DSO in development system.
Now, when i transported the info object without alpha to quality and loaded data into DSO, the data is still the same with leading zeros.
I dont want to write routine to remove leading zeros, as I have values as 0. If i write routine, all zeros will be removed and this will be blank.
Both development and quality have same patches applied and are on same level.
Why is this strange behaviour in quality system...
Any inputs?? please suggest.
Thanks.
LavanyaHi,
Did you drop and reload the data after changing the conversion?
Regards,
Raghavendra. -
How to delete duplicates in oracle 10g ( strange behaviour)
Recently we migrated from oracel 8i to oralce 10g and we face this problem.
When we try to delete duplicates using rowid ( analytical functions row_number()/
or normal delete ) and commit the same , still we find some duplicates to be existing because of which we are not able to enable costriants and resulting in process failure.
When we run the same delete statement next time it removes more duplicates than the required or sometimes required duplicates resulting in abnormal behaviour.
I don not understand this strange behaviour after upgrading to oracle 10g.
It'd be great if some one who has idea on this can throw light on the same.
thanksGasparotto,
Thanks a lot for letting me know a new procedure to delete duplicates sing lead function.
I've tried this code on a temp table and it worked, let me use the same query on the prodn side and test the same.
Procedure for deletion of duplicates using lead analytical function.
create table temp ( col1 number(2) , col2 number(2) , col3 number(2));
insert into temp values ( 1,2,10);
insert into temp values ( 1,2,20);
insert into temp values ( 1,2,30);
insert into temp values ( 3,2,10);
insert into temp values ( 3,4,12);
insert into temp values ( 3,4,45);
commit;
COL1 COL2 COL3
1 2 10
1 2 20
1 2 30
3 2 10
3 4 12
3 4 45
select col1,col2 , col3, LEAD(rowid) OVER (PARTITION BY col1,col2 order by null) from temp;
COL1 COL2 COL3 LEAD(ROWID)OVER(PA
1 2 10 AAAVBjAApAAAFyGAAB
1 2 20 AAAVBjAApAAAFyGAAC
1 2 30
3 2 10
3 4 12 AAAVBjAApAAAFyGAAF
3 4 45
6 rows selected.
select rowid , temp.* from temp ;
ROWID COL1 COL2 COL3
AAAVBjAApAAAFyGAAA 1 2 10
AAAVBjAApAAAFyGAAB 1 2 20
AAAVBjAApAAAFyGAAC 1 2 30
AAAVBjAApAAAFyGAAD 3 2 10
AAAVBjAApAAAFyGAAE 3 4 12
AAAVBjAApAAAFyGAAF 3 4 45
SQL> DELETE temp
WHERE rowid IN
( SELECT LEAD(rowid) OVER (PARTITION BY col1, col2 ORDER BY null)
FROM temp ); 2 3 4
3 rows deleted.
SQL> select rowid , temp.* from temp ;
ROWID COL1 COL2 COL3
AAAVBjAApAAAFyGAAA 1 2 10
AAAVBjAApAAAFyGAAD 3 2 10
AAAVBjAApAAAFyGAAE 3 4 12
Thanks for the reply -
Strange behaviour of jdbc-mysql driver
I am trying to store japanese characters in mysql and display also after reading from the database using JSP. I am using the following code.
<%@ page contentType="text/html; charset=UTF-8"%>
....... some code ......
<%
Class.forName( "org.gjt.mm.mysql.Driver" );
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/DB?useUnicode=true&characterEncoding=UTF-8", "user", "pass" );
Statement st = con.createStatement();
st.executeUpdate( "insert into test values('" + request.getParameter( "imgname" ) + "')" );
ResultSet rs = st.executeQuery( "select * from test" );
while( rs.next() ) {
%> DB Value: <%= rs.getString( "imgname" ) %>
<% } %>
I found one strange behaviour. I have to change the DriverManger.getConnection line to the following, to write the data correctly in the database.
DriverManager.getConnection("jdbc:mysql://localhost:3306/DB","user","pass")
If I read from the database using the same parameters as above, I am getting garbled data.
To retrieve the data correctly from the database I have to use the following line instead of the previous one.
DriverManager.getConnection("jdbc:mysql://localhost:3306/DB?useUnicode=true&characterEncoding=UTF-8", "user", "pass" );
In short, I have to pass different parameters to DriverManager.getConnection() for writing and reading from the database. But it is not possible practically. I am using mm.mysql-2.0.8 jdbc-mysql driver, mysql is 3.23.47 and english windows 2000.
I have tried the string.getBytes("UTF-8") and new String( getBytes(string), "UTF-8") methods, but not getting the correct data.
Can anybody guide me how can I store and display the japanese character correctly?
Thanks to all,
gaurang.I downloaded the latese driver from sourceforge, but still the same thing is happening. Is there any other thing which I should do?
Thanks
gaurang. -
Strange behaviour of data element object
Dear Gurus,
I have incremented the field length of a z table's field from 5 (type DEC) to 8 by increasing the corresponding domain length . But the internal tables that refer to this field still refer to the old value 5, though the table is accepting values for this field with 8 length through 'Create Entries' in SE11.
The problem seems to be in the runtime object of the corresponding data element which shows
database length = 5
abap length = 5
BUT dictionary length = 8.
Could anyone pls help diagnose this strange behaviour as even if I create new domains with new data elements for this table field ,it gives the SAME RUNTIME OBJECT STATUS as mentioned above.
Rewards are awaiting the right answer.
Thanks in advance.
Shweta.Hi,
For these kind of problems, you can use the Database utility tool (SE14), give the table name press enter, click Adjust and Activate Database table also select save data radiobutton. After this Re-Run the Program, it works fine, also cross-check in the Debugging screen.
Cheers...
Santosh.
Mark Usefull Answers. -
Strange behaviour of a Simple Servlet.Please explain
I am experiencing a strange behaviour from this servlet.
I have written a servlet that expects some data from the client.
So I startup Tomcat and invoke this servlet thru the brower:
http://localhost:8080/A_SYMBIAN_SERVLET/servlet/Recieve_Http_Data.
The Console displays:
Server Ready to receive Message from Symbian Application...
How come the console is not displaying
In Receive_Http_Data [Client] :
at the same time at the console ? How come it is only displaying the first line?
Shudnt the 'In Receive_Http_Data [Client] be displayed if you invoke this servlet
thru the browser?
Can anyone explain this strange behaviour!!!
Attached is my servlet:
public class Recieve_Http_Data extends HttpServlet {
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
System.out.println("Server Ready to receive Message from Symbian Application...");
BufferedReader br=null;
/* Data Read by the Servlet*/
String sMess="";
// Receive data.
DataInputStream dis = new DataInputStream(request.getInputStream());
sMess = dis.readUTF();
System.out.println("In Receive_Http_Data [Client] : " + sMess);
Can some one explain this strange behaviouR!!!Ok,I will write an inputstream as you have mentioned in yr mail.
Now,i will write a servlet with the code you have mentioned.
Now how do I know that the servlet is up and running and ready to
receive data from an application.
OK,This is what is the actual application:
I am supposed to receive some test data from a Mobile device
which has the Symbian O/S.
The application on the mobile device is in C++.
This C++ Application connects to my Servlet and sends in request
parameters.The application specifically specifies the name of my
servlet and the protocol(ie method.Connect(URL,'HTTP1.1!))
I have written this servlet on Tomcat 3.2.4 which will receive
this request and display it on my console and return a response
back to the symbian application.(ie the output stream of the servlet).
So,your code will read the parameters sent in by the Symbian
application.right?
Could you also send in the how the outputstream from the servlet
will be sent to the c++ application.
An urgent reply is much appreiciated. -
Strange behaviour with smart music list in iTunes
I don't know how is the name of this list in english. In portuguese iTunes calls "Lista Inteligente". So, I eddited a list to show all musics never played up to 100 months ago. If I click on a music in this list, before it plays, the music disappear from the list as it would be played and nothing will be played. And so one, the next and etc. No date is shown in "last play" but the music isn't anymore to see in this List.
This list works well for many years but suddenly I have this strange behaviour.
could it be something wrong with new update? Now I have iTunes installed 11.3.0.54Click the gray disclosure triangle in front of the iPod touch name.
Thus I cannot do any functions with the music on my iPod - such as delete songs, update song info, etc.
I would suggest making any changes to songs in iTunes and then transferring the songs to the touch.
You can create playlists and autosync on lythos playlists.
Then add/delete from those playlists, update items in iTunes then plug in the touch to sync it. -
Strange behaviour whit custom JTextField and JToolTip
Hello everyone. I hope I'm writing in the right section and sorry if I did not search for this issue but I really don't know which keywords I should use.
I'm using NetBeans 6.1 on WinXP and JDK 1.6.0_07, I have a custom JTextField with regex validation: when you type something that don't mach regex it shows a JToolTip. This JToolTip should disappear when the text typed is finally correct, or when the textfield loses focus (see code below).
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Point;
import javax.swing.JToolTip;
import javax.swing.Popup;
import javax.swing.PopupFactory;
public class MyJTextField extends javax.swing.JTextField implements FormComponent
private static Popup popUpToolTip;
private static PopupFactory popUpFactory = PopupFactory.getSharedInstance();
private boolean isValidated = false;
private String regEx = "a regex";
public MyJTextField()
this.addKeyListener(new java.awt.event.KeyAdapter()
public void keyReleased(java.awt.event.KeyEvent evt)
if(evt.getKeyCode()!=java.awt.event.KeyEvent.VK_ENTER)
validateComponent();
else if(evt.getKeyCode()==java.awt.event.KeyEvent.VK_ENTER)
if(isValidated)
((Component)evt.getSource()).transferFocus();
this.addFocusListener(new java.awt.event.FocusAdapter()
public void focusLost(java.awt.event.FocusEvent evt)
if(popUpToolTip!=null){popUpToolTip.hide();}
public void validateComponent()
if(text.matches(regex))
isValidated = true;
if(popUpToolTip!=null){popUpToolTip.hide();}
else
isValidated = false;
if(popUpToolTip!=null){popUpToolTip.hide();}
String error = "C'è un errore nella validazione di questo campo";
JToolTip toolTip = createToolTip();
toolTip.setTipText(error);
popUpToolTip = null;
popUpToolTip = popUpFactory.getPopup(
this,
toolTip,
getLocationOnScreen().x,
getLocationOnScreen().y - this.getPreferredSize().height -1
popUpToolTip.show();
}(I've cut it a bit, here's only the lines that involve JToolTip use)
I have many of them in a form, and when the first tooltip appears (on the first textfield I type in) it never disappears, while nex textfields work just fine.It seems the first tooltip appearing can't be overwritten or something similar. If I use this same component on any other NetBeans project, everithing works without issues.
I have some other custom components working the same way (JComboBox, JXDatePicker), and they had this "not disappearing tooltip" issue since I changed this
popUpToolTip = popUpFactory.getPopup(this, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
whit this
popUpToolTip = popUpFactory.getPopup(null, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
but if I try it on the JTextField all textfield's tooltips stay stuck there, not only the first one appeared (while other components still works fine).
This thing is really driving me crazy. Someone has an hint (or a link to another thread) which could explain this strange behaviour?
Thanks in advance.BoBear2681 wrote:
Note that an SSCCE wouldn't require you to post any proprietary code.Hmmm... well, I'll try again to reproduce the issue and post an SSCCE.
BoBear2681 wrote:
That probably indicates that the problem is somewhere other than where you're currently looking.Yes, I suppose so. Maybe it's some interference between all the custom components I created, or maybe something else that apparently doesn't conern at all. If I cannot reproduce it in an SSCCE and I'll figure out what's the cause of this mess I'll post it here for future knowledge.
Many thanks for your advices. :)
Maybe you are looking for
-
Hi there we are using Indesign 2014, I am not sure if that has anything to do with this or not, but certain paragraphs in a document have a bug, where by when you type in a quotation mark (') a left or right arrow appears. We have found that if we cl
-
After window 8.1 install, i use disk management in window. After that my mac operating system can not use after restart. mac system can not see and run at start up boot time. i can use only window system. So i repaired with bootable start up disk for
-
Deploy Creative Cloud apps to a "imaged/cloned" lab environment
How do I deploy Creative Cloud apps to a "imaged/cloned" lab environment with "multiple users" on each machine.
-
Lease-in and Lease-out Contract
Hi RE Friends, When i m creating a Lease-out contract with respective to lease-in contract. In genral tab of lease-out contract for main contract number field should update automaticaly based on the object which is intialy leased-in. can any body asi
-
I couldn't agree more! I have been without phone and internet service for the past two weeks. Despite repeated calls to Verizon to correct the issue, they keep trying to sell me a new FIOS service. why not trying fix the service I have first and t