<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java_by_API%2Forg.eclipse.swt.graphics</id>
		<title>Java by API/org.eclipse.swt.graphics - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java_by_API%2Forg.eclipse.swt.graphics"/>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java_by_API/org.eclipse.swt.graphics&amp;action=history"/>
		<updated>2026-04-22T13:48:30Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java_by_API/org.eclipse.swt.graphics&amp;diff=865&amp;oldid=prev</id>
		<title> в 17:43, 31 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java_by_API/org.eclipse.swt.graphics&amp;diff=865&amp;oldid=prev"/>
				<updated>2010-05-31T17:43:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 17:43, 31 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java_by_API/org.eclipse.swt.graphics&amp;diff=866&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java_by_API/org.eclipse.swt.graphics&amp;diff=866&amp;oldid=prev"/>
				<updated>2010-05-31T14:22:22Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* [[Java by API/org.eclipse.swt.graphics/Device | Device]]&lt;br /&gt;
* [[Java by API/org.eclipse.swt.graphics/GC | GC]]&lt;br /&gt;
* [[Java by API/org.eclipse.swt.graphics/Image | Image]]&lt;br /&gt;
* [[Java by API/org.eclipse.swt.graphics/Region | Region]]&lt;br /&gt;
&lt;br /&gt;
== new FontData(String name, int height, int style) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
import org.eclipse.swt.SWT;&lt;br /&gt;
import org.eclipse.swt.events.SelectionAdapter;&lt;br /&gt;
import org.eclipse.swt.events.SelectionEvent;&lt;br /&gt;
import org.eclipse.swt.graphics.Color;&lt;br /&gt;
import org.eclipse.swt.graphics.Font;&lt;br /&gt;
import org.eclipse.swt.graphics.FontData;&lt;br /&gt;
import org.eclipse.swt.graphics.RGB;&lt;br /&gt;
import org.eclipse.swt.layout.FillLayout;&lt;br /&gt;
import org.eclipse.swt.widgets.Button;&lt;br /&gt;
import org.eclipse.swt.widgets.Display;&lt;br /&gt;
import org.eclipse.swt.widgets.FontDialog;&lt;br /&gt;
import org.eclipse.swt.widgets.Shell;&lt;br /&gt;
import org.eclipse.swt.widgets.Text;&lt;br /&gt;
public class MainClass {&lt;br /&gt;
  public static void main(String[] a) {&lt;br /&gt;
    final Display d = new Display();&lt;br /&gt;
    final Shell s = new Shell(d);&lt;br /&gt;
    s.setSize(300, 300);&lt;br /&gt;
    s.setText(&amp;quot;A FontDialog Example&amp;quot;);&lt;br /&gt;
    s.setLayout(new FillLayout(SWT.VERTICAL));&lt;br /&gt;
    final Text t = new Text(s, SWT.BORDER | SWT.MULTI);&lt;br /&gt;
    final Button b = new Button(s, SWT.PUSH | SWT.BORDER);&lt;br /&gt;
    b.setText(&amp;quot;Change Font&amp;quot;);&lt;br /&gt;
    b.addSelectionListener(new SelectionAdapter() {&lt;br /&gt;
      public void widgetSelected(SelectionEvent e) {&lt;br /&gt;
        FontDialog fd = new FontDialog(s, SWT.NONE);&lt;br /&gt;
        fd.setText(&amp;quot;Select Font&amp;quot;);&lt;br /&gt;
        fd.setRGB(new RGB(0,0,255));&lt;br /&gt;
        FontData defaultFont = new FontData(&amp;quot;Courier&amp;quot;,10,SWT.BOLD);&lt;br /&gt;
        fd.setFontData(defaultFont);     &lt;br /&gt;
        FontData newFont = fd.open();&lt;br /&gt;
        if(newFont==null)&lt;br /&gt;
            return;&lt;br /&gt;
        t.setFont(new Font(d, newFont));&lt;br /&gt;
        t.setForeground(new Color(d, fd.getRGB()));&lt;br /&gt;
        &lt;br /&gt;
      }&lt;br /&gt;
    });&lt;br /&gt;
    s.open();&lt;br /&gt;
    while (!s.isDisposed()) {&lt;br /&gt;
      if (!d.readAndDispatch())&lt;br /&gt;
        d.sleep();&lt;br /&gt;
    }&lt;br /&gt;
    d.dispose();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>