الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

التعديل على خصائص jframe

بدأه hassan-cs في 11 مارس 2012 · 1 رد · 662 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته

انا عندي jframe وابغى اعدل عليه ..شرح المشكله كتابيا ماينفع علشان كذا رفعت الصوره وبتوضح المشكله اكثر !

الصوره التاليه jframe بشكل طبيعي !

prF24845.png

الصوره التاليه الي انا اردها بدون خائصها مثل الازرار والجوانب اريد حذف كل شي الا الي داخلها !

kj324845.png

وش الحل ؟

#2

استدعي الدالة /

setUndecorated قبل أن تظهر الJFrame بالقيمة true :

yourFrame.setUndecorated(true);

اقتباس

setUndecorated

public void setUndecorated(boolean undecorated)

Disables or enables decorations for this frame. This method can only be called while the frame is not displayable.

Parameters:

undecorated - true if no frame decorations are to be enabled; false if frame decorations are to be enabled.

Throws:

IllegalComponentStateException - if the frame is displayable.

Since:

1.4

See Also:

isUndecorated(), Component.isDisplayable(), JFrame.setDefaultLookAndFeelDecorated(boolean)

بالتوفيق،

1

http://informatic-ar.com منصة تعليمية عربية في علوم الحاسب والبرمجة

https://moalfat.com  للكتب الالكترونية والكورسات التعليمية

Everything we see now is just an engineering solution based on old science

مواضيع مشابهة